/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 37 ModuleProvider(module blueprint.Module, provider blueprint.ProviderKey) interface{} argument 40 ModuleHasProvider(module blueprint.Module, provider blueprint.ProviderKey) bool argument 42 ModuleErrorf(module blueprint.Module, format string, args ...interface{}) argument 67 VisitAllModulesBlueprint(visit func(blueprint.Module)) argument 68 VisitAllModules(visit func(Module)) argument [all …]
|
D | mutator.go | 274 CreateModule(ModuleFactory, ...interface{}) Module 300 …AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string) []blueprint.Mo… argument 307 AddReverseDependency(module blueprint.Module, tag blueprint.DependencyTag, name string) argument 320 CreateVariations(...string) []Module 329 CreateLocalVariations(...string) []Module 348 …VariationDependencies([]blueprint.Variation, blueprint.DependencyTag, ...string) []blueprint.Module 363 …VariationDependencies([]blueprint.Variation, blueprint.DependencyTag, ...string) []blueprint.Module 369 AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module) argument 405 SetVariationProvider(module blueprint.Module, provider blueprint.ProviderKey, value interface{}) argument 418 func bottomUpMutatorContextFactory(ctx blueprint.BottomUpMutatorContext, a Module, argument [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 | 35 func mutatorTestModuleFactory() Module { 52 ctx.AddDependency(ctx.Module(), nil, m.props.Deps_missing_deps...) 56 ctx.AddMissingDependencies(ctx.Module().(*mutatorTestModule).props.Mutator_missing_deps) 79 foo := result.ModuleForTests("foo", "").Module().(*mutatorTestModule) 98 moduleStrings = append(moduleStrings, ctx.Module().String()) 102 moduleStrings = append(moduleStrings, ctx.Module().String()) 103 ctx.Rename(ctx.Module().base().Name() + "_renamed1") 109 moduleStrings = append(moduleStrings, ctx.Module().String()) 116 moduleStrings = append(moduleStrings, ctx.Module().String()) 120 moduleStrings = append(moduleStrings, ctx.Module().String()) [all …]
|
D | prebuilt.go | 111 srcs := srcsSupplier(ctx, ctx.Module()) 152 type PrebuiltSrcsSupplier func(ctx BaseModuleContext, prebuilt Module) []string 187 srcsSupplier := func(ctx BaseModuleContext, _ Module) []string { 208 srcsSupplier := func(ctx BaseModuleContext, _ Module) []string { 230 Module 241 func IsModulePreferred(module Module) bool { argument 255 func IsModulePrebuilt(module Module) bool { argument 262 func GetEmbeddedPrebuilt(module Module) *Prebuilt { argument 283 m := ctx.Module() 296 m := ctx.Module() [all …]
|
D | override_module.go | 40 Module 101 Module 144 m.setOverridableProperties(m.(Module).GetProperties()) 238 if module, ok := ctx.Module().(OverrideModule); ok { 246 ctx.VisitDirectDepsWithTag(PrebuiltDepTag, func(dep Module) { 256 ctx.AddDependency(ctx.Module(), overrideBaseDepTag, *module.getOverrideModuleProperties().Base) 263 ctx.VisitDirectDepsWithTag(overrideBaseDepTag, func(base Module) { 265 o.addOverride(ctx.Module().(OverrideModule)) 275 if b, ok := ctx.Module().(OverridableModule); ok { 284 variants[i+1] = o.(Module).Name() [all …]
|
D | module.go | 69 Module() Module methodSpec 146 OtherModuleName(m blueprint.Module) string argument 150 OtherModuleDir(m blueprint.Module) string argument 154 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) argument 159 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag argument 187 OtherModuleType(m blueprint.Module) string argument 193 OtherModuleProvider(m blueprint.Module, provider blueprint.ProviderKey) interface{} argument 196 OtherModuleHasProvider(m blueprint.Module, provider blueprint.ProviderKey) bool argument 214 GetDirectDepsWithTag(tag blueprint.DependencyTag) []Module 219 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module [all …]
|
/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 55 ModuleProvider(module Module, provider ProviderKey) interface{} argument 58 ModuleHasProvider(m Module, provider ProviderKey) bool argument 61 ModuleErrorf(module Module, format string, args ...interface{}) argument 100 VisitAllModules(visit func(Module)) argument 104 VisitAllModulesIf(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/rust/ |
D | image.go | 24 var _ android.ImageInterface = (*Module)(nil) 26 var _ cc.ImageMutatableModule = (*Module)(nil) 28 func (mod *Module) VendorAvailable() bool { 32 func (mod *Module) OdmAvailable() bool { 36 func (mod *Module) ProductAvailable() bool { 40 func (mod *Module) RamdiskAvailable() bool { 44 func (mod *Module) VendorRamdiskAvailable() bool { 48 func (mod *Module) AndroidModuleBase() *android.ModuleBase { 52 func (mod *Module) RecoveryAvailable() bool { 56 func (mod *Module) ExtraVariants() []string { [all …]
|
D | library_test.go | 141 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkDylibs) { 143 libfoo.Module().(*Module).Properties.AndroidMkDylibs) 157 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkRlibs) { 159 libfoo.Module().(*Module).Properties.AndroidMkDylibs) 191 if !android.InList("libbar.rlib-std", static.Module().(*Module).Properties.AndroidMkRlibs) { 194 if android.InList("libbar", static.Module().(*Module).Properties.AndroidMkDylibs) { 200 if !android.InList("libbar", dyn.Module().(*Module).Properties.AndroidMkDylibs) { 203 if android.InList("libbar.dylib-std", dyn.Module().(*Module).Properties.AndroidMkRlibs) { 263 libfooDylib := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module) 264 …libStatic := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_rlib_rlib-std").Module().(*Module) [all …]
|
D | rust.go | 103 type Module struct { struct 134 func (mod *Module) Header() bool { argument 139 func (mod *Module) SetPreventInstall() { argument 143 func (mod *Module) SetHideFromMake() { argument 147 func (c *Module) HiddenFromMake() bool { argument 151 func (mod *Module) SanitizePropDefined() bool { argument 157 func (mod *Module) IsDependencyRoot() bool { argument 164 func (mod *Module) IsPrebuilt() bool { argument 171 func (mod *Module) OutputFiles(tag string) (android.Paths, error) { argument 187 func (mod *Module) SelectedStl() string { argument [all …]
|
D | snapshot_utils.go | 21 func (mod *Module) ExcludeFromVendorSnapshot() bool { 26 func (mod *Module) ExcludeFromRecoverySnapshot() bool { 31 func (mod *Module) IsSnapshotLibrary() bool { 36 func (mod *Module) SnapshotRuntimeLibs() []string { 41 func (mod *Module) SnapshotSharedLibs() []string { 46 func (mod *Module) Symlinks() []string { 51 func (m *Module) SnapshotHeaders() android.Paths {
|
D | compiler_test.go | 114 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String() 116 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String() 118 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String() 197 fizz := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module) 198 fooRlib := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_rlib_dylib-std").Module().(*Module) 199 fooDylib := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module)
|
D | binary_test.go | 47 fizzBuzzHost := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module) 48 fizzBuzzDevice := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Module().(*Module) 76 mod := ctx.ModuleForTests("rlib_linked", "android_arm64_armv8-a").Module().(*Module) 95 path := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module).HostToolPath() 126 fizzMod := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module)
|
D | sanitize.go | 131 if mod, ok := mctx.Module().(*Module); ok && mod.sanitize != nil { 192 func (m *Module) UbsanRuntimeNeeded() bool { 196 func (m *Module) MinimalRuntimeNeeded() bool { 200 func (m *Module) UbsanRuntimeDep() bool { 204 func (m *Module) MinimalRuntimeDep() bool { 258 func (mod *Module) SanitizerSupported(t cc.SanitizerType) bool { 274 func (mod *Module) IsSanitizerEnabled(t cc.SanitizerType) bool { 278 func (mod *Module) IsSanitizerExplicitlyDisabled(t cc.SanitizerType) bool { 294 func (mod *Module) SanitizeDep() bool { 298 func (mod *Module) SetSanitizer(t cc.SanitizerType, b bool) { [all …]
|
/build/soong/cc/ |
D | prebuilt_test.go | 115 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_shared").Module() 116 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_static").Module() 117 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_shared").Module() 118 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_static").Module() 119 libfStatic := ctx.ModuleForTests("libf", "android_arm64_armv8-a_static").Module() 120 libfShared := ctx.ModuleForTests("libf", "android_arm64_armv8-a_shared").Module() 121 crtx := ctx.ModuleForTests("crtx", "android_arm64_armv8-a").Module() 123 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_shared").Module() 124 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_static").Module() 125 prebuiltLibd := ctx.ModuleForTests("prebuilt_libd", "android_arm64_armv8-a_shared").Module() [all …]
|
D | sdk.go | 32 switch m := ctx.Module().(type) { 44 modules[0].(*Module).Properties.Sdk_version = nil 47 modules[1].(*Module).Properties.IsSdkVariant = true 51 modules[0].(*Module).Properties.HideFromMake = true 52 modules[0].(*Module).Properties.PreventInstall = true 56 modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true 57 modules[1].(*Module).Properties.PreventInstall = true 61 if m, ok := ctx.Module().(*Module); ok { 69 case *genrule.Module:
|
D | image.go | 27 var _ android.ImageInterface = (*Module)(nil) 83 func (c *Module) productSpecificModuleContext() bool { 89 func (c *Module) socSpecificModuleContext() bool { 96 func (c *Module) deviceSpecificModuleContext() bool { 102 func (c *Module) HasVendorVariant() bool { 108 func (c *Module) VendorVariantToOdm() bool { 113 func (c *Module) HasProductVariant() bool { 118 func (c *Module) HasNonSystemVariants() bool { 123 func (c *Module) InProduct() bool { 128 func (c *Module) InVendor() bool { [all …]
|
D | coverage.go | 111 ctx.VisitDirectDeps(func(m android.Module) { 114 if cc, ok := m.(*Module); ok && cc.coverage != nil { 125 ctx.VisitDirectDeps(func(m android.Module) { 126 cc, ok := m.(*Module) 146 coverage := ctx.GetDirectDepWithTag(getGcovProfileLibraryName(ctx), CoverageDepTag).(*Module) 153 coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module) 205 android.Module 214 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil { 222 m[0].(*Module).coverage.Properties.CoverageEnabled = false 223 m[0].(*Module).coverage.Properties.IsCoverageVariant = false [all …]
|
D | cc.go | 582 makeUninstallable(mod *Module) argument 770 type Module struct { struct 830 func (c *Module) SetPreventInstall() { argument 834 func (c *Module) SetHideFromMake() { argument 838 func (c *Module) HiddenFromMake() bool { argument 842 func (c *Module) Toc() android.OptionalPath { argument 851 func (c *Module) ApiLevel() string { argument 860 func (c *Module) Static() bool { argument 869 func (c *Module) Shared() bool { argument 878 func (c *Module) SelectedStl() string { argument [all …]
|
/build/soong/apex/ |
D | classpath_element_test.go | 32 module android.Module 36 func (t *testClasspathElementContext) OtherModuleHasProvider(module blueprint.Module, provider blue… 40 func (t *testClasspathElementContext) OtherModuleProvider(module blueprint.Module, provider bluepri… 203 artFragment := result.Module("art-bootclasspath-fragment", "android_common_apex10000") 204 artBaz := result.Module("baz", "android_common_apex10000") 205 artQuuz := result.Module("quuz", "android_common_apex10000") 207 myFragment := result.Module("mybootclasspath-fragment", "android_common_apex10000") 208 myBar := result.Module("bar", "android_common_apex10000") 210 nonApexFragment := result.Module("non-apex-fragment", "android_common") 211 other := result.Module("othersdklibrary", "android_common_apex10000") [all …]
|
/build/soong/java/ |
D | classpath_element.go | 32 Module() android.Module methodSpec 40 Fragment android.Module 41 Contents []android.Module 44 func (b *ClasspathFragmentElement) Module() android.Module { func 60 Library android.Module 63 func (b *ClasspathLibraryElement) Module() android.Module { func 75 OtherModuleHasProvider(m blueprint.Module, provider blueprint.ProviderKey) bool argument 76 OtherModuleProvider(m blueprint.Module, provider blueprint.ProviderKey) interface{} argument 119 …hElements(ctx ClasspathElementContext, libraries []android.Module, fragments []android.Module) Cla… argument 122 apexToFragment := map[string]android.Module{} [all …]
|
/build/soong/python/ |
D | python.go | 129 type Module struct { struct 173 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module { 174 return &Module{ 205 func (p *Module) getSrcsPathMappings() []pathMapping { argument 210 func (p *Module) getDataPathMappings() []pathMapping { argument 215 func (p *Module) getSrcsZip() android.Path { argument 219 var _ pythonDependency = (*Module)(nil) 221 var _ android.AndroidMkEntriesProvider = (*Module)(nil) 223 func (p *Module) init(additionalProps ...interface{}) android.Module { argument 277 if base, ok := mctx.Module().(*Module); ok { [all …]
|