Home
last modified time | relevance | path

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

123456

/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 …]
Dtransition.go198 for depIndex, dep := range module.directDeps {
199 finalVariation := t.transition(mctx)(mctx.moduleInfo(), srcVariation, dep.module, dep.tag)
201 t.addRequiredVariation(dep.module, finalVariation)
211 dep *moduleInfo member
241 return c.dep.logicModule
245 return c.context.provider(c.dep, provider.provider())
249 …return func(source *moduleInfo, sourceVariation string, dep *moduleInfo, depTag DependencyTag) str…
253 dep: dep,
308 type Transition func(source *moduleInfo, sourceVariation string, dep *moduleInfo, depTag Dependency…
Dninja_writer.go167 for _, dep := range explicitDepStrings {
169 inputEscaper.WriteString(wrapper, dep)
171 for _, dep := range explicitDeps {
173 dep.ValueWithEscaper(wrapper, nameTracker, inputEscaper)
179 for _, dep := range implicitDepStrings {
181 inputEscaper.WriteString(wrapper, dep)
183 for _, dep := range implicitDeps {
185 dep.ValueWithEscaper(wrapper, nameTracker, inputEscaper)
192 for _, dep := range orderOnlyDepStrings {
194 inputEscaper.WriteString(wrapper, dep)
[all …]
Dmodule_ctx.go542 for _, dep := range m.visitingParent.directDeps {
543 if dep.module.logicModule == logicModule {
544 return dep.tag
614 for _, dep := range m.module.directDeps {
615 if dep.module.Name() == name {
616 return dep.module.logicModule, dep.tag
625 for _, dep := range m.module.directDeps {
626 if dep.module.Name() == name {
627 if dep.tag == tag {
628 return dep.module.logicModule
[all …]
/build/soong/java/
Dsdk_library_external.go92 …rtitionsForJavaDependency(ctx android.EarlyModuleContext, propName string, dep javaSdkLibraryEnfor…
93 if dep.allowListedInterPartitionJavaLibrary(ctx) {
97 if dep.syspropWithPublicStubs() {
106 …productToSystem := j.partitionGroup(ctx) == partitionGroupProduct && dep.partitionGroup(ctx) == pa…
107 …systemToProduct := j.partitionGroup(ctx) == partitionGroupSystem && dep.partitionGroup(ctx) == par…
115 if j.partitionGroup(ctx) != dep.partitionGroup(ctx) {
117 …ctx.PropertyErrorf(propName, errorFormat, dep.Name(), j.partitionGroup(ctx), dep.partitionGroup(ct…
Ddevice_host_converter.go100 if dep, ok := android.OtherModuleProvider(ctx, m, JavaInfoProvider); ok {
101 d.headerJars = append(d.headerJars, dep.HeaderJars...)
102 d.implementationJars = append(d.implementationJars, dep.ImplementationJars...)
103 …d.implementationAndResourceJars = append(d.implementationAndResourceJars, dep.ImplementationAndRes…
104 d.resourceJars = append(d.resourceJars, dep.ResourceJars...)
106 d.srcJarArgs = append(d.srcJarArgs, dep.SrcJarArgs...)
107 d.srcJarDeps = append(d.srcJarDeps, dep.SrcJarDeps...)
/build/bazel/rules/
Dsh_binary.bzl32 dep = internal_name,
37 dep = ctx.attr.dep[DefaultInfo]
42 inputs = [dep.files_to_run.executable],
43 command = "cp %s %s" % (dep.files_to_run.executable.path, output.path),
47 files = depset(direct = [output], transitive = [dep.files])
52 runfiles = ctx.runfiles().merge(dep.data_runfiles).merge(dep.default_runfiles),
66 "dep": attr.label(mandatory = True),
/build/make/tools/
Dsoong_to_convert.py64 for dep in depsdb[module]:
65 if dep in seen:
67 count += 1 + count_deps(depsdb, dep, seen)
82 for dep in deps[module]:
83 if not dep in reverse_deps:
84 reverse_deps[dep] = []
85 reverse_deps[dep].append(module)
/build/soong/android/
Dlicense_metadata.go68 dep, _ := bpdep.(Module)
69 if dep == nil {
72 if !dep.Enabled(ctx) {
77 if ctx.OtherModuleDependencyTag(dep) == DefaultsDepTag {
82 if ctx.OtherModuleDependencyTag(dep) == RequiredDepTag {
86 if info, ok := OtherModuleProvider(ctx, dep, LicenseMetadataProvider); ok {
88 if isContainer || isInstallDepNeeded(dep, ctx.OtherModuleDependencyTag(dep)) {
92 depAnnotations := licenseAnnotationsFromTag(ctx.OtherModuleDependencyTag(dep))
96 if depInstallFiles := dep.base().installFiles; len(depInstallFiles) > 0 {
98 } else if depOutputFiles, err := outputFilesForModule(ctx, dep, ""); err == nil {
Dgen_notice_test.go38 dep: ["top_notice"],
69 dep: ["top_notice"],
74 dep: ["top_notice"],
101 dep: [
110 dep: ["top_xml_notice"],
Daconfig_providers.go83 if dep, ok := OtherModuleProvider(ctx, module, AconfigPropagatingProviderKey); ok {
84 for k, v := range dep.ModeInfos {
112 if dep, ok := OtherModuleProvider(ctx, module, AconfigDeclarationsProviderKey); ok {
113 …mergedAconfigFiles[dep.Container] = append(mergedAconfigFiles[dep.Container], dep.IntermediateCach…
115 if dep, ok := OtherModuleProvider(ctx, module, AconfigPropagatingProviderKey); ok {
116 for container, v := range dep.AconfigFiles {
119 propagateModeInfos(ctx, module, mergedModeInfos, dep.ModeInfos)
Dninja_deps.go22 for _, dep := range deps {
23 c.ninjaFileDepsSet.Store(dep, true)
Dfilegroup.go104 if dep, ok := OtherModuleProvider(ctx, module, CodegenInfoProvider); ok {
105 aconfigDeclarations = append(aconfigDeclarations, dep.AconfigDeclarations...)
106 …intermediateCacheOutputPaths = append(intermediateCacheOutputPaths, dep.IntermediateCacheOutputPat…
107 srcjars = append(srcjars, dep.Srcjars...)
108 maps.Copy(modeInfos, dep.ModeInfos)
/build/bazel/rules/tradefed/
Dcc_aspects.bzl43 for dep in ctx.rule.attr.dynamic_deps:
44 transitive_deps.append(dep)
46 for dep in ctx.rule.attr.deps:
47 transitive_deps.append(dep)
49 for dep in ctx.rule.attr.androidmk_dynamic_deps:
50 transitive_deps.append(dep)
58 for dep in ctx.rule.attr.runtime_deps:
59 for output_file in dep[DefaultInfo].files.to_list():
62 transitive_deps.append(dep)
73 # The list of attributes in a cc dep graph where this aspect will traverse on.
/build/soong/aconfig/
Daconfig_value_set.go61 for _, dep := range deps {
62 _, ok := dep.(*ValuesModule)
75 ctx.VisitDirectDeps(func(dep android.Module) {
76 if depData, ok := android.OtherModuleProvider(ctx, dep, valuesProviderKey); ok {
/build/soong/bin/
Dsoongdbg30 dep = get_or_make_node(self.nodes, d.id, None)
31 node.deps.add(dep)
32 dep.rdeps.add(node)
33 node.dep_tags.setdefault(dep, list()).append(d)
39 for dep in node1.rdeps:
40 if dep == node2:
42 if dep not in visited:
43 visited.add(dep)
44 found = recurse(dep, node2, visited)
47 result.add(dep)
[all …]
/build/bazel/scripts/bp2build_progress/
Ddependency_analysis.py325 for dep in all_deps:
326 dep_name = dep["Name"]
327 dep_key = _ModuleKey(dep_name, dep["Variations"])
334 if ignore_json_dep(dep, module["Name"], ignored, ignore_java_auto_deps):
536 def is_prebuilt_to_source_dep(dep): argument
543 return dep["Tag"] == "android.prebuiltDependencyTag {BaseDependencyTag:{}}"
546 def _is_toolchain_dep(dep): argument
547 return dep["Tag"] in _TOOLCHAIN_DEP_TYPES
550 def _is_java_auto_dep(dep): argument
554 tag = dep["Tag"]
[all …]
/build/blueprint/deptools/
Ddepfile.go44 for _, dep := range deps {
45 escapedDeps = append(escapedDeps, pathEscaper.Replace(dep))
/build/bazel/rules/cc/
Dcc_sysprop_library.bzl33 for src in ctx.attr.dep[SyspropGenInfo].srcs
93 "dep": attr.label(
108 dep):
112 dep = dep,
135 dep,
138 sysprop_gen_name = _cc_gen_sysprop_common(name, dep)
151 dep,
154 sysprop_gen_name = _cc_gen_sysprop_common(name, dep)
Dcc_hidl_library.bzl26 hidl_info = ctx.attr.dep[HidlInfo]
41 "dep": attr.label(
71 dep = interface,
78 dep = interface,
99 for dep in dynamic_deps:
102 parts = dep.split(":")
103 dep_name = parts[1] if len(parts) == 2 else dep
107 combined_dynamic_deps.append(dep)
/build/soong/compliance/copy_license_metadata/
Dcopy_license_metadata.go68 dep := flags.String("d", "", "license metadata file dependency")
73 if len(*dep) == 0 || len(*installed) == 0 || len(*sources) == 0 {
75 if len(*dep) == 0 {
88 err := readMetadata(*dep, &src_metadata)
100 File: proto.String(*dep),
/build/soong/cc/
Dcmake_snapshot.go311 dep, ok := dep_a.(*Module)
317 pregeneratedModules = append(pregeneratedModules, dep)
321 if ctx.OtherModuleDependencyTag(dep) == cmakeSnapshotPrebuiltTag {
327 if dep.compiler == nil {
330 isAidlModule := dep.compiler.baseCompilerProps().AidlInterface.Lang != ""
332 if !proptools.Bool(dep.Properties.Cmake_snapshot_supported) {
333 ctx.OtherModulePropertyErrorf(dep, "cmake_snapshot_supported",
355 dep,
359 moduleDir := ctx.OtherModuleDir(dep)
363 files, _ := android.OtherModuleProvider(ctx, dep, cmakeSnapshotSourcesProvider)
[all …]
/build/soong/rust/
Drust.go1110 func rustMakeLibName(ctx android.ModuleContext, c cc.LinkableInterface, dep cc.LinkableInterface, d…
1111 if rustDep, ok := dep.(*Module); ok {
1118 return cc.MakeLibName(ctx, c, dep, depName)
1121 func collectIncludedProtos(mod *Module, dep *Module) {
1123 if _, ok := dep.sourceProvider.(*protobufDecorator); ok {
1124 protoMod.additionalCrates = append(protoMod.additionalCrates, dep.CrateName())
1159 ctx.VisitDirectDeps(func(dep android.Module) {
1160 if dep.Name() == "api_imports" {
1161 apiImportInfo, _ = android.OtherModuleProvider(ctx, dep, multitree.ApiImportsProvider)
1171 ctx.VisitDirectDeps(func(dep android.Module) {
[all …]
/build/bazel/rules/apex/
Dtransition.bzl74 direct_deps = [str(dep) for dep in attr.native_shared_libs_32]
75 direct_deps += [str(dep) for dep in attr.native_shared_libs_64]
76 direct_deps += [str(dep) for dep in attr.binaries]
128 direct_deps = [str(dep) for dep in attr.native_shared_libs_32]
129 direct_deps += [str(dep) for dep in attr.binaries]
148 direct_deps = [str(dep) for dep in attr.native_shared_libs_64]
149 direct_deps += [str(dep) for dep in attr.binaries]
/build/make/tools/compliance/
Dtest_util.go147 target, dep string member
152 return e.target + " -> " + e.dep
169 return l[i].dep < l[j].dep
176 target, dep string member
182 return e.target + " -> " + e.dep + " [" + strings.Join(e.annotations, ", ") + "]"
184 return e.target + " -> " + e.dep
191 if e.dep != other.dep {
219 if _, ok := deps[edge.dep]; !ok {
220 deps[edge.dep] = []annotated{}
227 body += fmt.Sprintf("deps: {\n file: %q\n", edge.dep)
[all …]

123456