Home
last modified time | relevance | path

Searched refs:deps (Results 1 – 25 of 161) sorted by relevance

1234567

/build/soong/cc/
Dlinker.go217 func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
218 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...)
219 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...)
220 deps.StaticLibs = append(deps.StaticLibs, linker.Properties.Static_libs...)
221 deps.SharedLibs = append(deps.SharedLibs, linker.Properties.Shared_libs...)
222 deps.RuntimeLibs = append(deps.RuntimeLibs, linker.Properties.Runtime_libs...)
224deps.ReexportHeaderLibHeaders = append(deps.ReexportHeaderLibHeaders, linker.Properties.Export_hea…
225deps.ReexportStaticLibHeaders = append(deps.ReexportStaticLibHeaders, linker.Properties.Export_sta…
226deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_sha…
227deps.ReexportGeneratedHeaders = append(deps.ReexportGeneratedHeaders, linker.Properties.Export_gen…
[all …]
Dstl.go166 func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps { func
172 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
174 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl)
183 deps.StaticLibs = append(deps.StaticLibs, "libc++demangle")
187 deps.StaticLibs = append(deps.StaticLibs, "libm", "libc", staticUnwinder(ctx))
189 deps.StaticUnwinderIfLegacy = true
195 deps.StaticUnwinderIfLegacy = true
201 deps.SharedLibs = append([]string{"libstdc++"}, deps.SharedLibs...)
204 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
206 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl, "ndk_libc++abi")
[all …]
Dbinary.go129 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
130 deps = binary.baseLinker.linkerDeps(ctx, deps)
135 deps.CrtBegin = "crtbegin_static"
137 deps.CrtBegin = "crtbegin_dynamic"
139 deps.CrtEnd = "crtend_android"
151 deps.CrtBegin = "ndk_crtbegin_static." + version
154 deps.CrtBegin = "ndk_crtbegin_static." + version
156 deps.CrtBegin = "ndk_crtbegin_dynamic." + version
158 deps.CrtEnd = "ndk_crtend_android." + version
165 deps.StaticLibs = append(deps.StaticLibs, "libm", "libc")
[all …]
Dlibrary.go246 deps android.Paths member
285 func (f *flagExporter) reexportDeps(deps ...android.Path) {
286 f.deps = append(f.deps, deps...)
308 return f.deps
545 func (library *libraryDecorator) compilerFlags(ctx ModuleContext, flags Flags, deps PathDeps) Flags…
553 flags = library.baseCompiler.compilerFlags(ctx, flags, deps)
633 func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) Objects {
662 total_length := len(library.baseCompiler.Properties.Srcs) + len(deps.GeneratedSources) +
668 objs := library.baseCompiler.compile(ctx, flags, deps)
773 func (library *libraryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
[all …]
Dvendor_public_library.go100 func (stub *vendorPublicLibraryStubDecorator) compilerFlags(ctx ModuleContext, flags Flags, deps Pa…
101 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
105 func (stub *vendorPublicLibraryStubDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps…
111 func (stub *vendorPublicLibraryStubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
113 deps.HeaderLibs = append(deps.HeaderLibs, headers...)
114 deps.ReexportHeaderLibHeaders = append(deps.ReexportHeaderLibHeaders, headers...)
115 return deps
123 func (stub *vendorPublicLibraryStubDecorator) link(ctx ModuleContext, flags Flags, deps PathDeps,
130 return stub.libraryDecorator.link(ctx, flags, deps, objs)
Dtest.go264 func (test *testDecorator) linkerDeps(ctx BaseModuleContext, deps Deps) Deps {
267 deps.StaticLibs = append(deps.StaticLibs, "libgtest_main_ndk_c++", "libgtest_ndk_c++")
269 deps.StaticLibs = append(deps.StaticLibs, "libgtest_isolated_main")
274 deps.SharedLibs = append(deps.SharedLibs, "liblog")
276 deps.StaticLibs = append(deps.StaticLibs, "libgtest_main", "libgtest")
280 return deps
328 func (test *testBinary) linkerDeps(ctx DepsContext, deps Deps) Deps {
329 deps = test.testDecorator.linkerDeps(ctx, deps)
330 deps = test.binaryDecorator.linkerDeps(ctx, deps)
331 deps.DataLibs = append(deps.DataLibs, test.Properties.Data_libs...)
[all …]
Dobject.go94 func (object *objectLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
97 deps.LateSharedLibs = append(deps.LateSharedLibs, "libc")
100 deps.HeaderLibs = append(deps.HeaderLibs, object.Properties.Header_libs...)
101 deps.ObjFiles = append(deps.ObjFiles, object.Properties.Objs...)
102 return deps
116 flags Flags, deps PathDeps, objs Objects) android.Path {
118 objs = objs.Append(deps.Objs)
Dproto.go62 func protoDeps(ctx DepsContext, deps Deps, p *android.ProtoProperties, static bool) Deps {
105 deps.StaticLibs = append(deps.StaticLibs, lib)
106 deps.ReexportStaticLibHeaders = append(deps.ReexportStaticLibHeaders, lib)
108 deps.SharedLibs = append(deps.SharedLibs, lib)
109 deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, lib)
113 return deps
Dgen.go212 var deps android.Paths
230 deps = append(deps, genYacc(ctx, yaccRule(), srcFile, cFile, buildFlags.yacc)...)
234 deps = append(deps, genYacc(ctx, yaccRule(), srcFile, cppFile, buildFlags.yacc)...)
246 deps = append(deps, headerFile)
254 deps = append(deps, genAidl(ctx, aidlRule, srcFile, cppFile, depFile, buildFlags.aidlFlags)...)
262 deps = append(deps, headerFile)
266 deps = append(deps, headerFiles...)
279 deps = append(deps, rsGenerateCpp(ctx, rsFiles, buildFlags.rsFlags)...)
282 return srcFiles, deps
/build/blueprint/pathtools/
Dglob_test.go31 deps []string member
40 deps: []string{"."},
45 deps: []string{"."},
50 deps: []string{".", "a", "b", "c"},
55 deps: []string{".", "a", "b", "c", "a/a", "a/b", "c/f", "c/g", "c/h"},
60 deps: []string{".", "a", "b", "c", "a/a"},
65 deps: []string{"c", "c/f", "c/g", "c/h"},
70 deps: []string{"c", "c/f", "c/g", "c/h"},
75 deps: []string{"c", "c/f", "c/g", "c/h"},
80 deps: []string{"c", "c/f", "c/g", "c/h"},
[all …]
/build/soong/android/
Dvisibility_test.go141 deps: ["libexample"],
146 deps: ["libexample"],
151 deps: ["libexample"],
168 deps: ["libexample"],
173 deps: ["libexample"],
178 deps: ["libexample"],
200 deps: ["libexample"],
205 deps: ["libexample"],
210 deps: ["libexample"],
233 deps: ["libexample"],
[all …]
Dwritedocs.go47 var deps Paths
48 deps = append(deps, pathForBuildToolDep(ctx, ctx.Config().moduleListFile))
49 deps = append(deps, pathForBuildToolDep(ctx, ctx.Config().ProductVariablesFileName))
70 Inputs: deps,
Dprebuilt_test.go203 deps: [":bar"],
238 deps: [":bar"],
277 deps: [":bar"],
318 deps := foo.Module().(*sourceModule).deps
320 if len(deps) > 0 {
321 t.Errorf("disabled module got deps: %v", deps)
324 if len(deps) != 1 {
325 t.Errorf("deps does not have single path, but is %v", deps)
330 if len(deps) > 0 && deps[0].String() == "source_file" {
333 if len(deps) > 0 && deps[0].String() == "prebuilt_file" {
[all …]
/build/soong/rust/
Dcompiler.go177 func (compiler *baseCompiler) compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path {
181 func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps {
182 deps.Rlibs = append(deps.Rlibs, compiler.Properties.Rlibs...)
183 deps.Dylibs = append(deps.Dylibs, compiler.Properties.Dylibs...)
184 deps.Rustlibs = append(deps.Rustlibs, compiler.Properties.Rustlibs...)
185 deps.ProcMacros = append(deps.ProcMacros, compiler.Properties.Proc_macros...)
186 deps.StaticLibs = append(deps.StaticLibs, compiler.Properties.Static_libs...)
187 deps.SharedLibs = append(deps.SharedLibs, compiler.Properties.Shared_libs...)
196 deps.Rustlibs = append(deps.Rustlibs, stdlib)
199 return deps
[all …]
Dbuilder.go80 func TransformSrcToBinary(ctx ModuleContext, mainSrc android.Path, deps PathDeps, flags Flags,
84 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "bin", linkDirs)
87 func TransformSrctoRlib(ctx ModuleContext, mainSrc android.Path, deps PathDeps, flags Flags,
89 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "rlib", linkDirs)
92 func TransformSrctoDylib(ctx ModuleContext, mainSrc android.Path, deps PathDeps, flags Flags,
94 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "dylib", linkDirs)
97 func TransformSrctoStatic(ctx ModuleContext, mainSrc android.Path, deps PathDeps, flags Flags,
100 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "staticlib", linkDirs)
103 func TransformSrctoShared(ctx ModuleContext, mainSrc android.Path, deps PathDeps, flags Flags,
106 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "cdylib", linkDirs)
[all …]
Dbindgen.go88 func (b *bindgenDecorator) generateSource(ctx android.ModuleContext, deps PathDeps) android.Path {
94 implicits = append(implicits, deps.depIncludePaths...)
95 implicits = append(implicits, deps.depSystemIncludePaths...)
108 cflags = append(cflags, deps.depClangFlags...)
109 for _, include := range deps.depIncludePaths {
112 for _, include := range deps.depSystemIncludePaths {
178 func (b *bindgenDecorator) sourceProviderDeps(ctx DepsContext, deps Deps) Deps {
179 deps = b.baseSourceProvider.sourceProviderDeps(ctx, deps)
181 deps = bionicDeps(deps)
184 deps.SharedLibs = append(deps.SharedLibs, b.Properties.Shared_libs...)
[all …]
Dbinary.go85 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
86 deps = binary.baseCompiler.compilerDeps(ctx, deps)
89 deps = bionicDeps(deps)
90 deps.CrtBegin = "crtbegin_dynamic"
91 deps.CrtEnd = "crtend_android"
94 return deps
106 func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path {
114 flags.RustFlags = append(flags.RustFlags, deps.depFlags...)
116 outputs := TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile, deps.linkDirs)
123 if len(deps.coverageFiles) > 0 {
[all …]
Dcoverage.go36 func (cov *coverage) deps(ctx DepsContext, deps Deps) Deps { func
43 return deps
46 func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags, PathDeps) {
49 return flags, deps
59 deps.StaticLibs = append(deps.StaticLibs, coverage.OutputFile().Path())
62 return flags, deps
Drust.go279 compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path
280 compilerDeps(ctx DepsContext, deps Deps) Deps
655 deps := mod.depsToPaths(ctx)
664 flags, deps = mod.coverage.flags(ctx, flags, deps)
667 flags, deps = mod.clippy.flags(ctx, flags, deps)
671 outputFile := mod.compiler.compile(ctx, flags, deps)
677 outputFile := mod.sourceProvider.generateSource(ctx, deps)
683 func (mod *Module) deps(ctx DepsContext) Deps { func
684 deps := Deps{}
687 deps = mod.compiler.compilerDeps(ctx, deps)
[all …]
/build/soong/java/
Dbuilder.go262 srcFiles, srcJars android.Paths, flags javaBuilderFlags, deps android.Paths) {
270 transformJavaToClasses(ctx, outputFile, shardIdx, srcFiles, srcJars, flags, deps, "javac", desc)
294 flags javaBuilderFlags, deps android.Paths) {
296 deps = append(deps, srcJars...)
303 deps = append(deps, systemModuleDeps...)
306 deps = append(deps, flags.bootClasspath...)
316 deps = append(deps, classpath...)
317 deps = append(deps, flags.processorPath...)
335 Implicits: deps,
354 var deps android.Paths
[all …]
Dkotlin.go79 var deps android.Paths
80 deps = append(deps, flags.kotlincClasspath...)
81 deps = append(deps, srcJars...)
82 deps = append(deps, commonSrcFiles...)
90 deps = append(deps, commonSrcsList.Path())
99 Implicits: deps,
163 var deps android.Paths
164 deps = append(deps, flags.kotlincClasspath...)
165 deps = append(deps, srcJars...)
166 deps = append(deps, flags.processorPath...)
[all …]
Dapp_builder.go55 …packageFile, jniJarFile, dexJarFile android.Path, certificates []Certificate, deps android.Paths, …
73 Implicits: deps,
82 var deps android.Paths
85 deps = append(deps, c.Pem, c.Key)
92 deps = append(deps, lineageFile)
102 args["implicits"] = strings.Join(deps.Strings(), ",")
110 Implicits: deps,
131 deps := android.Paths{manifest, rTxt}
134 deps = append(deps, classesJar)
141 Implicits: deps,
[all …]
/build/make/tools/
Djava-layers.py55 def __init__(self, deps): argument
69 if upper in deps:
70 recurse(obj, deps[upper], visited)
71 self.deps = deps
72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()]
74 for dep in deps.itervalues():
77 for dep in deps.itervalues():
79 for d in deps.itervalues():
83 for dep in deps.itervalues():
85 for d in deps.itervalues():
[all …]
Dfilter-product-graph.py14 def gather(included, deps): argument
18 for d in deps:
24 deps = []
27 deps.append((m.group(1), m.group(2)))
53 included = gather(included, deps)
55 deps = [dep for dep in deps if dep[1] in included]
60 for dep in deps:
/build/blueprint/
Dcontext_test.go149 deps: ["MyBarModule"],
187 deps: ["B", "C"],
192 deps: ["D"],
197 deps: ["E", "F"],
206 deps: ["G"],
211 deps: ["G"],
263 deps: ["B", "C"],
268 deps: ["D"],
273 deps: ["E", "F"],
282 deps: ["G"],
[all …]

1234567