/build/soong/android/ |
D | singleton.go | 26 ModuleName(module blueprint.Module) string argument 27 ModuleDir(module blueprint.Module) string argument 28 ModuleSubDir(module blueprint.Module) string argument 29 ModuleType(module blueprint.Module) string argument 30 BlueprintFile(module blueprint.Module) string argument 32 ModuleErrorf(module blueprint.Module, format string, args ...interface{}) argument 57 VisitAllModulesBlueprint(visit func(blueprint.Module)) argument 58 VisitAllModules(visit func(Module)) argument 59 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument 61 VisitDirectDeps(module Module, visit func(Module)) argument [all …]
|
D | mutator.go | 190 CreateModule(ModuleFactory, ...interface{}) Module 207 AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string) argument 208 AddReverseDependency(module blueprint.Module, tag blueprint.DependencyTag, name string) argument 209 CreateVariations(...string) []Module 210 CreateLocalVariations(...string) []Module 215 AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module) argument 230 if a, ok := ctx.Module().(Module); ok { 246 if a, ok := ctx.Module().(Module); ok { 276 if m := ctx.Module(); m.Enabled() { 282 if m := ctx.Module(); m.Enabled() { [all …]
|
D | hooks.go | 36 CreateModule(ModuleFactory, ...interface{}) Module 48 func AddLoadHook(m blueprint.Module, hook func(LoadHookContext)) { argument 51 earlyModuleContext: m.(Module).base().earlyModuleContextFactory(ctx), 61 module Module 70 err := proptools.AppendMatchingProperties(l.Module().base().customizableProperties, 84 err := proptools.PrependMatchingProperties(l.Module().base().customizableProperties, 96 func (l *loadHookContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 97 inherited := []interface{}{&l.Module().base().commonProperties} 98 module := l.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module) 100 if l.Module().base().variableProperties != nil && module.base().variableProperties != nil { [all …]
|
D | mutator_test.go | 37 func mutatorTestModuleFactory() Module { 54 ctx.AddDependency(ctx.Module(), nil, m.props.Deps_missing_deps...) 58 ctx.AddMissingDependencies(ctx.Module().(*mutatorTestModule).props.Mutator_missing_deps) 87 foo := ctx.ModuleForTests("foo", "").Module().(*mutatorTestModule) 101 moduleStrings = append(moduleStrings, ctx.Module().String()) 105 moduleStrings = append(moduleStrings, ctx.Module().String()) 106 ctx.Rename(ctx.Module().base().Name() + "_renamed1") 112 moduleStrings = append(moduleStrings, ctx.Module().String()) 119 moduleStrings = append(moduleStrings, ctx.Module().String()) 123 moduleStrings = append(moduleStrings, ctx.Module().String()) [all …]
|
D | module.go | 64 Module() Module methodSpec 111 OtherModuleName(m blueprint.Module) string argument 112 OtherModuleDir(m blueprint.Module) string argument 113 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) argument 114 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag argument 118 OtherModuleType(m blueprint.Module) string argument 120 GetDirectDepsWithTag(tag blueprint.DependencyTag) []Module 121 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module 122 GetDirectDep(name string) (blueprint.Module, blueprint.DependencyTag) 124 VisitDirectDepsBlueprint(visit func(blueprint.Module)) argument [all …]
|
D | override_module.go | 40 Module 101 Module 144 m.setOverridableProperties(m.(Module).GetProperties()) 231 if module, ok := ctx.Module().(OverrideModule); ok { 239 ctx.VisitDirectDepsWithTag(PrebuiltDepTag, func(dep Module) { 249 ctx.AddDependency(ctx.Module(), overrideBaseDepTag, *module.getOverrideModuleProperties().Base) 256 ctx.VisitDirectDepsWithTag(overrideBaseDepTag, func(base Module) { 258 o.addOverride(ctx.Module().(OverrideModule)) 268 if b, ok := ctx.Module().(OverridableModule); ok { 277 variants[i+1] = o.(Module).Name() [all …]
|
D | prebuilt.go | 199 Module 216 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil { 228 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Enabled() && m.Prebuilt() != nil { 233 ctx.AddReverseDependency(ctx.Module(), PrebuiltDepTag, name) 243 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil { 251 } else if s, ok := ctx.Module().(Module); ok { 252 ctx.VisitDirectDepsWithTag(PrebuiltDepTag, func(m Module) { 268 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil { 273 …ReplaceDependenciesIf(name, func(from blueprint.Module, tag blueprint.DependencyTag, to blueprint.… 289 func (p *Prebuilt) usePrebuilt(ctx TopDownMutatorContext, source Module) bool {
|
D | defaults.go | 85 Module 92 if module.(Module).base().module == nil { 95 module.setProperties(module.(Module).GetProperties(), module.(Module).base().variableProperties) 104 CreateModule(ModuleFactory, ...interface{}) Module 169 Module 296 if defaultable, ok := ctx.Module().(Defaultable); ok { 297 ctx.AddDependency(ctx.Module(), DefaultsDepTag, defaultable.defaults().Defaults...) 302 if defaultable, ok := ctx.Module().(Defaultable); ok { 307 ctx.WalkDeps(func(module, parent Module) bool {
|
/build/blueprint/ |
D | singleton_ctx.go | 35 ModuleName(module Module) string argument 38 ModuleDir(module Module) string argument 42 ModuleSubDir(module Module) string argument 45 ModuleType(module Module) string argument 48 BlueprintFile(module Module) string argument 51 ModuleErrorf(module Module, format string, args ...interface{}) argument 90 VisitAllModules(visit func(Module)) argument 94 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument 102 VisitDirectDeps(module Module, visit func(Module)) argument 111 VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Module)) argument [all …]
|
D | module_ctx.go | 92 type Module interface { interface 116 Module 129 Module() Module methodSpec 198 GetDirectDepWithTag(name string, tag DependencyTag) Module 203 GetDirectDep(name string) (Module, DependencyTag) 211 VisitDirectDeps(visit func(Module)) argument 219 VisitDirectDepsIf(pred func(Module) bool, visit func(Module)) argument 228 VisitDepsDepthFirst(visit func(Module)) argument 238 VisitDepsDepthFirstIf(pred func(Module) bool, visit func(Module)) argument 247 WalkDeps(visit func(Module, Module) bool) argument [all …]
|
D | visit_test.go | 33 func newVisitModule() (Module, []interface{}) { 48 if m, ok := ctx.Module().(*visitModule); ok { 49 ctx.AddDependency(ctx.Module(), visitTagDep, m.properties.Visit...) 54 if m, ok := ctx.Module().(*visitModule); ok { 55 ctx.VisitDepsDepthFirst(func(dep Module) { 61 ctx.VisitDepsDepthFirstIf(func(dep Module) bool { 63 }, func(dep Module) { 66 ctx.VisitDirectDeps(func(dep Module) { 69 ctx.VisitDirectDepsIf(func(dep Module) bool { 71 }, func(dep Module) {
|
/build/soong/cc/ |
D | prebuilt_test.go | 117 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_shared").Module() 118 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_static").Module() 119 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_shared").Module() 120 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_static").Module() 121 libfStatic := ctx.ModuleForTests("libf", "android_arm64_armv8-a_static").Module() 122 libfShared := ctx.ModuleForTests("libf", "android_arm64_armv8-a_shared").Module() 123 crtx := ctx.ModuleForTests("crtx", "android_arm64_armv8-a").Module() 125 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_shared").Module() 126 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_static").Module() 127 prebuiltLibd := ctx.ModuleForTests("prebuilt_libd", "android_arm64_armv8-a_shared").Module() [all …]
|
D | sdk.go | 32 switch m := ctx.Module().(type) { 41 modules[0].(*Module).Properties.Sdk_version = nil 42 modules[1].(*Module).Properties.IsSdkVariant = true 45 modules[0].(*Module).Properties.HideFromMake = true 46 modules[0].(*Module).Properties.PreventInstall = true 48 modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true 49 modules[1].(*Module).Properties.PreventInstall = true 56 case *genrule.Module:
|
D | coverage.go | 106 ctx.VisitDirectDepsWithTag(wholeStaticDepTag, func(m android.Module) { 107 if cc, ok := m.(*Module); ok && cc.coverage != nil { 116 ctx.VisitDirectDeps(func(m android.Module) { 117 cc, ok := m.(*Module) 137 coverage := ctx.GetDirectDepWithTag(getGcovProfileLibraryName(ctx), CoverageDepTag).(*Module) 144 coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module) 195 android.Module 204 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil { 212 m[0].(*Module).coverage.Properties.CoverageEnabled = false 213 m[0].(*Module).coverage.Properties.IsCoverageVariant = false [all …]
|
D | cc.go | 421 skipInstall(mod *Module) argument 472 type Module struct { struct 526 func (c *Module) Toc() android.OptionalPath { argument 535 func (c *Module) ApiLevel() string { argument 544 func (c *Module) Static() bool { argument 553 func (c *Module) Shared() bool { argument 562 func (c *Module) SelectedStl() string { argument 569 func (c *Module) ToolchainLibrary() bool { argument 576 func (c *Module) NdkPrebuiltStl() bool { argument 583 func (c *Module) StubDecorator() bool { argument [all …]
|
D | gen_test.go | 35 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Module().(*Module) 59 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Module().(*Module)
|
/build/soong/rust/ |
D | rust.go | 71 type Module struct { struct 91 func (mod *Module) OutputFiles(tag string) (android.Paths, error) { argument 107 var _ android.ImageInterface = (*Module)(nil) 109 func (mod *Module) ImageMutatorBegin(ctx android.BaseModuleContext) {} argument 111 func (mod *Module) CoreVariantNeeded(ctx android.BaseModuleContext) bool { argument 115 func (mod *Module) RamdiskVariantNeeded(android.BaseModuleContext) bool { argument 119 func (mod *Module) RecoveryVariantNeeded(android.BaseModuleContext) bool { argument 123 func (mod *Module) ExtraImageVariations(android.BaseModuleContext) []string { argument 127 func (c *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.Mo… argument 130 func (mod *Module) BuildStubs() bool { argument [all …]
|
D | library_test.go | 141 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkDylibs) { 143 libfoo.Module().(*Module).Properties.AndroidMkDylibs) 175 if !android.InList("libbar", static.Module().(*Module).Properties.AndroidMkRlibs) { 178 if android.InList("libbar", static.Module().(*Module).Properties.AndroidMkDylibs) { 184 if !android.InList("libbar", dyn.Module().(*Module).Properties.AndroidMkDylibs) { 187 if android.InList("libbar", dyn.Module().(*Module).Properties.AndroidMkRlibs) {
|
D | compiler_test.go | 91 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String() 93 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String() 95 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
|
D | library.go | 189 func RustLibraryFactory() android.Module { 196 func RustFFIFactory() android.Module { 203 func RustLibraryDylibFactory() android.Module { 210 func RustLibraryRlibFactory() android.Module { 217 func RustFFISharedFactory() android.Module { 224 func RustFFIStaticFactory() android.Module { 231 func RustLibraryHostFactory() android.Module { 238 func RustFFIHostFactory() android.Module { 245 func RustLibraryDylibHostFactory() android.Module { 252 func RustLibraryRlibHostFactory() android.Module { [all …]
|
/build/soong/python/ |
D | python.go | 111 type Module struct { struct 149 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module { 150 return &Module{ 176 func (p *Module) GetSrcsPathMappings() []pathMapping { argument 180 func (p *Module) GetDataPathMappings() []pathMapping { argument 184 func (p *Module) GetSrcsZip() android.Path { argument 188 var _ PythonDependency = (*Module)(nil) 190 var _ android.AndroidMkDataProvider = (*Module)(nil) 192 func (p *Module) Init() android.Module { argument 229 if base, ok := mctx.Module().(*Module); ok { [all …]
|
/build/soong/java/ |
D | java.go | 89 func (j *Module) CheckStableSdkVersion() error { 97 func (j *Module) checkSdkVersions(ctx android.ModuleContext) { 99 if sc, ok := ctx.Module().(sdkContext); ok { 107 ctx.VisitDirectDeps(func(module android.Module) { 120 func (j *Module) checkPlatformAPI(ctx android.ModuleContext) { 121 if sc, ok := ctx.Module().(sdkContext); ok { 390 …eddableInModuleAndImport) depIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool { 399 type Module struct { struct 499 func (j *Module) addHostProperties() { argument 506 func (j *Module) addHostAndDeviceProperties() { argument [all …]
|
D | androidmk_test.go | 34 mod := ctx.ModuleForTests("foo", "android_common").Module() 53 mod := ctx.ModuleForTests("foo", "android_common").Module() 84 mod := ctx.ModuleForTests("foo", "android_common").Module() 119 mod := ctx.ModuleForTests("foo", "android_common").Module() 159 …idMkEntriesForTest(t, config, "", ctx.ModuleForTests("foo_without_tag", "android_common").Module()) 160 …droidMkEntriesForTest(t, config, "", ctx.ModuleForTests("foo_with_tag", "android_common").Module()) 187 module := ctx.ModuleForTests("foo", "android_common").Module() 231 module := ctx.ModuleForTests("foo", "android_common").Module() 292 moduleWithoutTag := ctx.ModuleForTests("foo_without_tag", "android_common").Module() 293 moduleWithTag := ctx.ModuleForTests("foo_with_tag", "android_common").Module() [all …]
|
/build/soong/sdk/ |
D | sdk.go | 195 func SdkModuleFactory() android.Module { 227 func SnapshotModuleFactory() android.Module { 351 if s, ok := mctx.Module().(*sdk); ok { 367 if s, ok := mctx.Module().(*sdk); ok { 382 mctx.VisitDirectDeps(func(child android.Module) { 397 if m, ok := mctx.Module().(android.SdkAware); ok && m.IsInAnySdk() { 401 mctx.AddReverseDependency(mctx.Module(), tag, memberName) 409 if parent, ok := mctx.Module().(interface { 417 mctx.VisitDirectDeps(func(m android.Module) { 430 …if versionedSdkMember, ok := mctx.Module().(android.SdkAware); ok && versionedSdkMember.IsInAnySdk… [all …]
|
/build/soong/apex/ |
D | vndk.go | 37 func vndkApexBundleFactory() android.Module { 76 if ab, ok := mctx.Module().(*apexBundle); ok && ab.vndkApex { 97 if m, ok := mctx.Module().(*cc.Module); ok && cc.IsForVndkApex(mctx, m) { 105 mctx.AddReverseDependency(mctx.Module(), sharedLibTag, vndkApex) 107 } else if a, ok := mctx.Module().(*apexBundle); ok && a.vndkApex { 109 mctx.AddDependency(mctx.Module(), prebuiltTag, cc.VndkLibrariesTxtModules(vndkVersion)...)
|