/build/soong/rust/ |
D | rust.go | 91 func (mod *Module) OutputFiles(tag string) (android.Paths, error) { 94 if mod.sourceProvider != nil { 95 return mod.sourceProvider.Srcs(), nil 97 if mod.outputFile.Valid() { 98 return android.Paths{mod.outputFile.Path()}, nil 109 func (mod *Module) ImageMutatorBegin(ctx android.BaseModuleContext) {} 111 func (mod *Module) CoreVariantNeeded(ctx android.BaseModuleContext) bool { 115 func (mod *Module) RamdiskVariantNeeded(android.BaseModuleContext) bool { 116 return mod.InRamdisk() 119 func (mod *Module) RecoveryVariantNeeded(android.BaseModuleContext) bool { [all …]
|
D | androidmk.go | 36 func (mod *Module) subAndroidMk(data *android.AndroidMkData, obj interface{}) { 37 if mod.subAndroidMkOnce == nil { 38 mod.subAndroidMkOnce = make(map[subAndroidMkProvider]bool) 41 if !mod.subAndroidMkOnce[androidmk] { 42 mod.subAndroidMkOnce[androidmk] = true 43 androidmk.AndroidMk(mod, data) 48 func (mod *Module) AndroidMk() android.AndroidMkData { 49 if mod.Properties.HideFromMake { 56 OutputFile: mod.outputFile, 58 SubName: mod.subName, [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 254 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.… 256 return removeMatchingModuleListProperties(mod, patchList, 262 mod, ok := def.(*parser.Module) 266 if mod.Type != "java_import" { 269 host, _ := getLiteralBoolPropertyValue(mod, "host") 271 mod.Type = "java_import_host" 272 removeProperty(mod, "host") 274 srcs, ok := getLiteralListProperty(mod, "srcs") 287 renameProperty(mod, "srcs", "jars") 290 renameProperty(mod, "srcs", "aars") [all …]
|
D | bpfix_test.go | 75 mod := fixer.tree.Defs[0].(*parser.Module) 89 result, found := mod.GetProperty("local_include_dirs") 493 return runPatchListMod(func(mod *parser.Module, buf []byte, patchList *parser.PatchList) error { 494 return removeMatchingModuleListProperties(mod, patchList, "bar", "foo")
|
/build/soong/partner/bpfix/extensions/ |
D | headers.go | 59 func searchThroughOperatorList(mod *parser.Module, e parser.Expression) { 65 addLibrary(mod, lib.libType, lib.libName) 74 searchThroughOperatorList(mod, op.Args[0]) 75 searchThroughOperatorList(mod, op.Args[1]) 78 func getLiteralListProperty(mod *parser.Module, name string) (list *parser.List, found bool) { 79 prop, ok := mod.GetProperty(name) 86 func addLibrary(mod *parser.Module, libType string, libName string) { 87 var list, ok = getLiteralListProperty(mod, libType) 93 mod.Properties = append(mod.Properties, prop) 108 mod, ok := def.(*parser.Module) [all …]
|
/build/soong/android/ |
D | androidmk.go | 181 func (a *AndroidMkEntries) GetDistForGoals(mod blueprint.Module) []string { 182 amod := mod.(Module).base() 269 func (a *AndroidMkEntries) fillInEntries(config Config, bpPath string, mod blueprint.Module) { 271 amod := mod.(Module).base() 281 for _, distString := range a.GetDistForGoals(mod) { 296 if am, ok := mod.(ApexModule); ok { 446 for _, mod := range mods { 447 err := translateAndroidMkModule(ctx, buf, mod) 453 if amod, ok := mod.(Module); ok && ctx.PrimaryModule(amod) == amod { 492 func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.Module) error { [all …]
|
D | image.go | 87 mod := ctx.CreateVariations(variations...) 89 mod[i].base().setImageVariation(v) 90 m.SetImageVariation(ctx, v, mod[i])
|
D | testing.go | 419 func AndroidMkEntriesForTest(t *testing.T, config Config, bpPath string, mod blueprint.Module) []An… 422 if p, ok = mod.(AndroidMkEntriesProvider); !ok { 423 t.Errorf("module does not implement AndroidMkEntriesProvider: " + mod.Name()) 428 entriesList[i].fillInEntries(config, bpPath, mod) 433 func AndroidMkDataForTest(t *testing.T, config Config, bpPath string, mod blueprint.Module) Android… 436 if p, ok = mod.(AndroidMkDataProvider); !ok { 437 t.Errorf("module does not implement AndroidMkDataProvider: " + mod.Name()) 440 data.fillInData(config, bpPath, mod)
|
D | apex.go | 293 for i, mod := range modules { 295 if platformVariation && !mctx.Host() && !mod.(ApexModule).AvailableFor(AvailableToPlatform) { 296 mod.SkipInstall() 299 mod.(ApexModule).apexModuleBase().ApexProperties.Info = m.apexVariations[i-1]
|
D | mutator_test.go | 223 ctx.VisitDirectDeps(func(mod Module) { 224 finalGot[fmt.Sprintf("%s -> %s", ctx.Module().String(), mod)] += 1
|
D | module.go | 1702 mod blueprint.Module 1715 return deps[0].mod, deps[0].tag
|
/build/soong/sh/ |
D | sh_binary_test.go | 67 mod := ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*ShTest) 69 entries := android.AndroidMkEntriesForTest(t, config, "", mod)[0] 91 mod := ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*ShTest) 93 entries := android.AndroidMkEntriesForTest(t, config, "", mod)[0] 122 mod := ctx.ModuleForTests("foo", buildOS+"_x86_64").Module().(*ShTest) 123 if !mod.Host() {
|
/build/soong/java/ |
D | androidmk_test.go | 34 mod := ctx.ModuleForTests("foo", "android_common").Module() 35 entries := android.AndroidMkEntriesForTest(t, config, "", mod)[0] 53 mod := ctx.ModuleForTests("foo", "android_common").Module() 54 entriesList := android.AndroidMkEntriesForTest(t, config, "", mod) 84 mod := ctx.ModuleForTests("foo", "android_common").Module() 85 entriesList := android.AndroidMkEntriesForTest(t, config, "", mod) 119 mod := ctx.ModuleForTests("foo", "android_common").Module() 120 entriesList := android.AndroidMkEntriesForTest(t, config, "", mod) 338 mod := ctx.ModuleForTests(tc.moduleName, "android_common").Module() 339 entries := android.AndroidMkEntriesForTest(t, config, "", mod)[0]
|
D | app_test.go | 1777 mod := variant.Module().(*AndroidApp) 1778 if !reflect.DeepEqual(expected.overrides, mod.appProperties.Overrides) { 1780 expected.overrides, mod.appProperties.Overrides) 1784 logging_parent := mod.aapt.LoggingParent 1915 mod := variant.Module().(*AndroidTest) 1916 if !reflect.DeepEqual(expected.overrides, mod.appProperties.Overrides) { 1918 expected.overrides, mod.appProperties.Overrides) 3080 mod := variant.Module().(*RuntimeResourceOverlay) 3081 if !reflect.DeepEqual(expected.overrides, mod.properties.Overrides) { 3083 expected.overrides, mod.properties.Overrides)
|
/build/soong/cc/ |
D | cc.go | 421 skipInstall(mod *Module) 1095 (ctx.mod.HasVendorVariant() && ctx.mod.inProduct() && !ctx.mod.IsVndk()) 1100 (ctx.mod.HasVendorVariant() && ctx.mod.inVendor() && !ctx.mod.IsVndk()) 1104 mod *Module member 1109 return ctx.mod.toolchain(ctx.ctx) 1113 return ctx.mod.static() 1117 return ctx.mod.staticBinary() 1121 return ctx.mod.header() 1125 return ctx.mod.binary() 1129 return ctx.mod.object() [all …]
|
D | installer.go | 110 func (installer *baseInstaller) skipInstall(mod *Module) { 111 mod.ModuleBase.SkipInstall()
|
D | cc_test.go | 225 mod := ctx.ModuleForTests(name, variant).Module().(*Module) 226 if !mod.HasVendorVariant() { 231 lib, ok := mod.compiler.(*libraryDecorator) 240 if mod.vndkdep == nil { 243 if !mod.IsVndk() { 246 if mod.isVndkSp() != isVndkSp { 252 if mod.isVndkExt() != isVndkExt { 256 if actualExtends := mod.getVndkExtendsModuleName(); actualExtends != extends { 262 mod, ok := ctx.ModuleForTests(moduleName, variant).Module().(android.OutputFileProducer) 267 outputFiles, err := mod.OutputFiles("") [all …]
|
D | prebuilt.go | 202 func (p *prebuiltLibraryLinker) skipInstall(mod *Module) { 203 mod.ModuleBase.SkipInstall()
|
D | library.go | 1368 func (library *libraryDecorator) skipInstall(mod *Module) { 1377 mod.ModuleBase.SkipInstall()
|
/build/blueprint/parser/ |
D | parser_test.go | 1255 mod := file.Defs[0].(*Module) 1257 if mod.End() != modEnd { 1258 t.Errorf("expected mod.End() %s, got %s", modEnd, mod.End()) 1261 nextPos := make([]scanner.Position, len(mod.Properties)) 1262 for i := 0; i < len(mod.Properties)-1; i++ { 1263 nextPos[i] = mod.Properties[i+1].Pos() 1265 nextPos[len(mod.Properties)-1] = mod.RBracePos 1267 for i, cur := range mod.Properties {
|
/build/soong/etc/ |
D | prebuilt_etc_test.go | 200 mod := ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*PrebuiltEtc) 201 entries := android.AndroidMkEntriesForTest(t, config, "", mod)[0]
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 282 …{{range $i, $mod := .ModuleTypes}}{{if $i}}, {{end}}<a href="{{$pkg.Name}}.html#{{$mod.Name}}">{{$…
|
/build/make/core/ |
D | main.mk | 835 $(eval mod := $(firstword $(p)))\ 843 …$(eval ALL_MODULES.$(mod).HOST_SHARED_LIBRARY_FILES := $$(ALL_MODULES.$(mod).HOST_SHARED_LIBRARY_F… 844 …$(eval ALL_MODULES.$(mod).HOST_SHARED_LIBRARIES := $$(ALL_MODULES.$(mod).HOST_SHARED_LIBRARIES) $(… 847 $(eval ALL_MODULES.$(mod).REQUIRED_FROM_$(patsubst %_,%,$(1)) += $(deps))) 911 $(eval mod := $(firstword $(p)))\ 922 $(call module-built-files,$(mod)))))\
|
/build/blueprint/ |
D | context.go | 1341 for _, mod := range group.modules { 1342 variants = append(variants, c.prettyPrintVariant(mod.variant)) 1344 for _, mod := range group.aliases { 1345 variants = append(variants, c.prettyPrintVariant(mod.variant)+ 1346 "(alias to "+c.prettyPrintVariant(mod.target.variant)+")")
|
/build/soong/apex/ |
D | apex_test.go | 5425 mod := ctx.ModuleForTests("myapex", "android_common_myapex_image") 5426 bundleConfigRule := mod.Description("Bundle Config") 5429 s := mod.Rule("apexRule").Args["copy_commands"]
|