Home
last modified time | relevance | path

Searched refs:dep (Results 1 – 25 of 69) sorted by relevance

123

/build/make/tools/
Djava-layers.py56 def recurse(obj, dep, visited): argument
58 if dep in visited:
60 % (dep.filename, dep.lineno))
66 visited.append(dep)
67 for upper in dep.uppers:
72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()]
74 for dep in deps.itervalues():
75 recurse(dep, dep, [])
77 for dep in deps.itervalues():
78 if dep.lowlevel:
[all …]
Dsoong_to_convert.py67 for dep in depsdb[module]:
68 if dep in seen:
70 count += 1 + count_deps(depsdb, dep, seen)
85 for dep in deps[module]:
86 if not dep in reverse_deps:
87 reverse_deps[dep] = []
88 reverse_deps[dep].append(module)
Dfilter-product-graph.py55 deps = [dep for dep in deps if dep[1] in included]
60 for dep in deps:
61 print '"%s" -> "%s"' % dep
Dbuild-license-metadata.sh247 for dep in ${depfiles}; do
249 cat "${dep}" | \
250 awk -v name="${dep}" '
287 cat "${dep}" | awk '
Dmk2bp_catalog.py182 for dep in soong.transitive_deps(module):
183 for filename in soong.makefiles.get(dep, []):
219 for dep in self.deps[module]:
220 if not dep in self.reverse_deps:
221 self.reverse_deps[dep] = []
222 self.reverse_deps[dep].append(module)
233 for dep in self.deps.get(module, []):
234 if not dep in results:
235 results.add(dep)
260 for dep in depsdb[module]:
[all …]
/build/blueprint/
Dvisit_test.go55 ctx.VisitDepsDepthFirst(func(dep Module) {
56 if ctx.OtherModuleDependencyTag(dep) != visitTagDep {
57 panic(fmt.Errorf("unexpected dependency tag on %q", ctx.OtherModuleName(dep)))
59 m.properties.VisitDepsDepthFirst = m.properties.VisitDepsDepthFirst + ctx.OtherModuleName(dep)
61 ctx.VisitDepsDepthFirstIf(func(dep Module) bool {
62 return ctx.OtherModuleName(dep) != "B"
63 }, func(dep Module) {
64 … m.properties.VisitDepsDepthFirstIf = m.properties.VisitDepsDepthFirstIf + ctx.OtherModuleName(dep)
66 ctx.VisitDirectDeps(func(dep Module) {
67 m.properties.VisitDirectDeps = m.properties.VisitDirectDeps + ctx.OtherModuleName(dep)
[all …]
Dmodule_ctx.go526 for _, dep := range m.visitingParent.directDeps {
527 if dep.module.logicModule == logicModule {
528 return dep.tag
594 for _, dep := range m.module.directDeps {
595 if dep.module.Name() == name {
596 return dep.module.logicModule, dep.tag
605 for _, dep := range m.module.directDeps {
606 if dep.module.Name() == name {
607 if dep.tag == tag {
608 return dep.module.logicModule
[all …]
Dninja_writer.go157 for _, dep := range explicitDeps {
159 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
165 for _, dep := range implicitDeps {
167 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
174 for _, dep := range orderOnlyDeps {
176 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
183 for _, dep := range validations {
185 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
Dcontext.go920 for _, dep := range deps {
921 depsCh <- dep
970 case dep := <-depsCh:
971 deps = append(deps, dep)
1391 for i, dep := range module.directDeps {
1392 if dep.module.logicModule == nil {
1394 for _, m := range dep.module.splitModules {
1402 for _, m := range dep.module.splitModules {
1412 variationName, dep.module.Name(), module.Name()),
2108 for _, dep := range order.propagate(module) {
[all …]
/build/soong/java/
Dsdk_library_external.go91 …rtitionsForJavaDependency(ctx android.EarlyModuleContext, propName string, dep javaSdkLibraryEnfor…
92 if dep.allowListedInterPartitionJavaLibrary(ctx) {
96 if dep.syspropWithPublicStubs() {
105 …productToSystem := j.partitionGroup(ctx) == partitionGroupProduct && dep.partitionGroup(ctx) == pa…
106 …systemToProduct := j.partitionGroup(ctx) == partitionGroupSystem && dep.partitionGroup(ctx) == par…
114 if j.partitionGroup(ctx) != dep.partitionGroup(ctx) {
116 …ctx.PropertyErrorf(propName, errorFormat, dep.Name(), j.partitionGroup(ctx), dep.partitionGroup(ct…
Ddevice_host_converter.go101 dep := ctx.OtherModuleProvider(m, JavaInfoProvider).(JavaInfo)
102 d.headerJars = append(d.headerJars, dep.HeaderJars...)
103 d.implementationJars = append(d.implementationJars, dep.ImplementationJars...)
104 …d.implementationAndResourceJars = append(d.implementationAndResourceJars, dep.ImplementationAndRes…
105 d.resourceJars = append(d.resourceJars, dep.ResourceJars...)
107 d.srcJarArgs = append(d.srcJarArgs, dep.SrcJarArgs...)
108 d.srcJarDeps = append(d.srcJarDeps, dep.SrcJarDeps...)
Dbase.go264 func (e *embeddableInModuleAndImport) depIsInSameApex(ctx android.BaseModuleContext, dep android.Mo…
266 if staticLibTag == ctx.OtherModuleDependencyTag(dep) {
597 for _, dep := range libDeps {
598 if dep != nil {
599 if component, ok := dep.(SdkLibraryComponentDependency); ok {
1471 func (j *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool {
1472 return j.depIsInSameApex(ctx, dep)
1599 ctx android.ModuleContext, dep moduleWithSdkDep, tag dependencyTag) {
1608 depLinkType, _ := dep.getSdkLinkType(ctx, ctx.OtherModuleName(dep))
1615 myLinkType, ctx.OtherModuleName(dep), depLinkType)
[all …]
Dapp.go313 dep, _ := m.(*cc.Module)
317 jniSdkVersion, err := android.SdkSpecFrom(ctx, dep.SdkVersion()).EffectiveVersion(ctx)
319 …ctx.OtherModuleErrorf(dep, "sdk_version(%v) is higher than min_sdk_version(%v) of the containing a…
320 dep.SdkVersion(), minSdkVersion, ctx.ModuleName())
750 if dep, ok := module.(*cc.Module); ok {
751 if dep.IsNdk(ctx.Config()) || dep.IsStubs() {
755 lib := dep.OutputFile()
762 if checkNativeSdkVersion && dep.SdkVersion() == "" {
772 coverageFile: dep.CoverageOutputFile(),
773 unstrippedFile: dep.UnstrippedOutputFile(),
[all …]
Djava.go373 func checkProducesJars(ctx android.ModuleContext, dep android.SourceFileProducer) {
374 for _, f := range dep.Srcs() {
377 ctx.OtherModuleName(dep.(blueprint.Module)))
818 ctx.VisitDirectDepsWithTag(dataNativeBinsTag, func(dep android.Module) {
819 j.data = append(j.data, android.OutputFileForModule(ctx, dep, ""))
822 ctx.VisitDirectDepsWithTag(jniLibTag, func(dep android.Module) {
823 sharedLibInfo := ctx.OtherModuleProvider(dep, cc.SharedLibraryInfoProvider).(cc.SharedLibraryInfo)
841 ….PropertyErrorf("jni_libs", "%q of type %q is not supported", dep.Name(), ctx.OtherModuleType(dep))
1288 dep := ctx.OtherModuleProvider(module, JavaInfoProvider).(JavaInfo)
1291 flags.classpath = append(flags.classpath, dep.HeaderJars...)
[all …]
/build/soong/cc/
Dlto.go170 mctx.WalkDeps(func(dep android.Module, parent android.Module) bool {
171 tag := mctx.OtherModuleDependencyTag(dep)
185 if dep, ok := dep.(*Module); ok && dep.lto != nil &&
186 !dep.lto.Never() {
187 if full && !dep.lto.FullLTO() {
188 dep.lto.Properties.FullDep = true
190 if thin && !dep.lto.ThinLTO() {
191 dep.lto.Properties.ThinDep = true
Dprebuilt_test.go134 ctx.VisitDirectDeps(m, func(dep blueprint.Module) {
135 if dep == wantDep {
311 for _, dep := range fooRule.Implicits {
312 if dep.Base() == "libfoo.so" {
313 libfooDep = dep
/build/soong/rust/
Drust.go931 ctx.VisitDirectDeps(func(dep android.Module) {
932 depName := ctx.OtherModuleName(dep)
933 depTag := ctx.OtherModuleDependencyTag(dep)
935 if rustDep, ok := dep.(*Module); ok && !rustDep.CcLibraryInterface() {
970 if dep.Target().Os != ctx.Os() {
971 ctx.ModuleErrorf("OS mismatch on dependency %q (%s)", dep.Name(), helper)
973 } else if dep.Target().Arch.ArchType != ctx.Arch().ArchType {
974 ctx.ModuleErrorf("Arch mismatch on dependency %q (%s)", dep.Name(), helper)
982 exportedInfo := ctx.OtherModuleProvider(dep, FlagExporterInfoProvider).(FlagExporterInfo)
1001 } else if ccDep, ok := dep.(cc.LinkableInterface); ok {
[all …]
/build/blueprint/deptools/
Ddepfile.go44 for _, dep := range deps {
45 escapedDeps = append(escapedDeps, pathEscaper.Replace(dep))
/build/soong/android/
Dninja_deps.go20 for _, dep := range deps {
21 c.ninjaFileDepsSet.Store(dep, true)
Dprebuilt_build_tool.go80 for _, dep := range deps {
81 ctx.PackageFile(packagingDir, dep.String(), dep)
Dpath_properties_test.go58 ctx.VisitDirectDeps(func(dep Module) {
59 if _, ok := ctx.OtherModuleDependencyTag(dep).(sourceOrOutputDependencyTag); ok {
60 p.sourceDeps = append(p.sourceDeps, ctx.OtherModuleName(dep))
Dapex.go150 DepIsInSameApex(ctx BaseModuleContext, dep Module) bool
153 func IsDepInSameApex(ctx BaseModuleContext, module, dep Module) bool {
154 depTag := ctx.OtherModuleDependencyTag(dep)
160 return module.(DepIsInSameApex).DepIsInSameApex(ctx, dep)
421 func (m *ApexModuleBase) DepIsInSameApex(ctx BaseModuleContext, dep Module) bool {
637 mctx.VisitDirectDeps(func(dep Module) {
638 if depApexModule, ok := dep.(ApexModule); ok {
656 mctx.VisitDirectDeps(func(dep Module) {
657 if _, ok := mctx.OtherModuleDependencyTag(dep).(CopyDirectlyInAnyApexTag); ok {
658 depBase := dep.(ApexModule).apexModuleBase()
Dproto.go73 ctx.VisitDirectDepsWithTag(ProtoPluginDepTag, func(dep Module) {
74 if hostTool, ok := dep.(HostToolProvider); !ok || !hostTool.HostToolPath().Valid() {
76 ctx.OtherModuleName(dep))
/build/blueprint/microfactory/
Dmicrofactory.go358 for _, dep := range deps {
359 p.directDeps = append(p.directDeps, allPackages.getByName(dep))
375 for _, dep := range p.directDeps {
377 go func(dep *GoPackage) {
379 dep.Compile(config, outDir)
380 }(dep)
383 for _, dep := range p.directDeps {
384 if dep.failed != nil {
385 p.failed = dep.failed
415 for _, dep := range p.directDeps {
[all …]
/build/soong/sdk/
Dsdk.go487 if dep, ok := m.(android.SdkAware); ok && android.IsDepInSameApex(mctx, parent, dep) {
488 dep.BuildWithSdks(requiredSdks)
540 mctx.VisitDirectDeps(func(dep android.Module) {
541 tag := mctx.OtherModuleDependencyTag(dep)
556 if sa, ok := dep.(android.SdkAware); ok {
566 if !m.DepIsInSameApex(mctx, dep) && !requiredSdks.Contains(sa.ContainingSdk()) {

123