/build/blueprint/ |
D | context.go | 160 func (module *moduleInfo) String() string { 161 s := fmt.Sprintf("module %q", module.properties.Name) 162 if module.variantName != "" { 163 s += fmt.Sprintf(" variant %q", module.variantName) 579 var module *moduleInfo 583 module, errs = c.processModuleDef(def, file.Name) 593 } else if module != nil { 594 moduleCh <- module 616 case module := <-moduleCh: 617 newErrs := c.addModule(module) [all …]
|
D | module_ctx.go | 159 module *moduleInfo member 164 return d.module 168 return d.module.properties.Name 172 _, ok := d.module.propertyPos[name] 177 return filepath.Dir(d.module.relBlueprintsFile) 204 Pos: d.module.pos, 211 pos := d.module.propertyPos[property] 214 pos = d.module.pos 240 module := m.context.moduleInfo[logicModule] 241 return module.properties.Name [all …]
|
D | singleton_ctx.go | 28 ModuleName(module Module) string 29 ModuleDir(module Module) string 30 ModuleSubDir(module Module) string 31 BlueprintFile(module Module) string 33 ModuleErrorf(module Module, format string, args ...interface{}) 49 VisitDepsDepthFirst(module Module, visit func(Module)) 50 VisitDepsDepthFirstIf(module Module, pred func(Module) bool, 53 VisitAllModuleVariants(module Module, visit func(Module)) 55 PrimaryModule(module Module) Module 56 FinalModule(module Module) Module [all …]
|
D | context_test.go | 120 func(module, parent Module) bool { 121 if module.(Walker).Walk() { 122 output += ctx.ModuleName(module)
|
/build/soong/java/ |
D | java.go | 118 module JavaModuleType member 160 func NewJavaBase(base *javaBase, module JavaModuleType, hod common.HostOrDeviceSupported, 163 base.module = module 242 ctx.VisitDirectDeps(func(module blueprint.Module) { 243 otherName := ctx.OtherModuleName(module) 244 if javaDep, ok := module.(JavaDependency); ok { 259 srcFileLists = append(srcFileLists, module.(*javaBase).module.(*AndroidApp).aaptJavaFileList) 265 if sdkDep, ok := module.(sdkDependency); ok { 283 j.module.GenerateJavaBuildActions(ctx) 323 ctx.VisitDirectDeps(func(module blueprint.Module) { [all …]
|
D | app.go | 235 ctx.VisitDirectDeps(func(module blueprint.Module) { 237 if sdkDep, ok := module.(sdkDependency); ok { 239 } else if javaDep, ok := module.(JavaDependency); ok { 240 if ctx.OtherModuleName(module) == "framework-res" { 241 depFile = common.OptionalPathForPath(javaDep.(*javaBase).module.(*AndroidApp).exportPackage) 277 module := &AndroidApp{} 279 module.properties.Dex = true 281 return NewJavaBase(&module.javaBase, module, common.DeviceSupported, &module.appProperties)
|
D | gen.go | 118 ctx.VisitAllModules(func(module blueprint.Module) { 119 if logtags, ok := module.(logtagsProducer); ok {
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 156 func isGoPackageProducer(module blueprint.Module) bool { 157 _, ok := module.(goPackageProducer) 166 func isGoTestProducer(module blueprint.Module) bool { 167 _, ok := module.(goTestProducer) 177 return func(module blueprint.Module) bool { 178 if plugin, ok := module.(goPluginProvider); ok { 185 func isBootstrapModule(module blueprint.Module) bool { 186 _, isPackage := module.(*goPackage) 187 _, isBinary := module.(*goBinary) 191 func isBootstrapBinaryModule(module blueprint.Module) bool { [all …]
|
D | writedocs.go | 19 func(module blueprint.Module) { 20 binaryModule := module.(*goBinary) 48 ctx.VisitDepsDepthFirst(primaryBuilder, func(module blueprint.Module) { 49 switch m := module.(type) { 54 panic(fmt.Errorf("unknown dependency type %T", module))
|
/build/soong/cc/ |
D | cc.go | 409 module() *Module methodSpec 522 func (ctx *moduleContextImpl) module() *Module { func 576 module := newBaseModule(hod, multilib) 577 module.features = []feature{ 580 return module 723 actx.AddDependency(ctx.module(), c.deps.ObjFiles.Strings()...) 725 actx.AddDependency(ctx.module(), c.deps.CrtBegin) 728 actx.AddDependency(ctx.module(), c.deps.CrtEnd) 1053 ctx.VisitDirectDeps(func(module blueprint.Module) { 1054 if gen, ok := module.(genrule.SourceFileGenerator); ok { [all …]
|
D | util.go | 67 func moduleToLibName(module string) (string, error) { 68 matches := libNameRegexp.FindStringSubmatch(module) 70 return "", fmt.Errorf("Library module name %s does not start with lib", module)
|
/build/soong/genrule/ |
D | genrule.go | 101 ctx.VisitDirectDeps(func(module blueprint.Module) { 102 if t, ok := module.(HostToolProvider); ok { 107 ctx.ModuleErrorf("host tool %q missing output file", ctx.OtherModuleName(module)) 110 ctx.ModuleErrorf("unknown dependency %q", ctx.OtherModuleName(module)) 131 module := &generator{ 135 props = append(props, &module.properties) 137 return common.InitAndroidModule(module, props...)
|
/build/soong/common/ |
D | arch.go | 445 var module AndroidModule 447 if module, ok = mctx.Module().(AndroidModule); !ok { 453 if module.base().HostSupported() { 457 if module.base().DeviceSupported() { 477 var module AndroidModule 479 if module, ok = mctx.Module().(AndroidModule); !ok { 483 if !module.base().HostSupported() || !module.base().HostOrDevice().Host() { 505 var module AndroidModule 507 if module, ok = mctx.Module().(AndroidModule); !ok { 512 multilib := module.base().commonProperties.Compile_multilib [all …]
|
D | defaults.go | 47 func InitDefaultableModule(module AndroidModule, d Defaultable, 54 return module, props 79 func InitDefaultsModule(module AndroidModule, d Defaults, props ...interface{}) (blueprint.Module, … 82 return module, props
|
D | module.go | 145 base.module = m 217 module AndroidModule member 324 ctx.VisitAllModuleVariants(func(module blueprint.Module) { 325 a := module.(AndroidModule).base() 380 installInData: a.module.InstallInData(), 397 a.module.GenerateAndroidBuildActions(androidCtx) 632 ctx.VisitAllModules(func(module blueprint.Module) { 633 if a, ok := module.(AndroidModule); ok {
|
D | variable.go | 119 var module AndroidModule 121 if module, ok = mctx.Module().(AndroidModule); !ok { 126 a := module.base()
|
/build/core/tasks/ |
D | deps_licenses.mk | 35 define get-module-all-dependencies 39 $(call get-module-all-dependencies,$(1),$(_gmad_new))) 47 $(eval $(call get-module-all-dependencies,deps,$(m)))\
|
D | sdk-addon.mk | 38 $(hide) java -jar $(call module-installed-files,mkstubs) $(if $(hide),,--v) \ 45 $(eval _src := $(call module-stubs-files,$(call word-colon,1,$(cf)))) \ 48 …$(if $(_src),,$(eval $(error Unknown or unlinkable module: $(call word-colon,1,$(cf)). Requested b…
|
/build/blueprint/parser/ |
D | printer.go | 82 } else if module, ok := def.(*Module); ok { 83 p.printModule(module) 98 func (p *printer) printModule(module *Module) { 99 p.printToken(module.Type.Name, module.Type.Pos) 100 p.printMap(module.Properties, module.LbracePos, module.RbracePos)
|
D | printer_test.go | 176 module // test 190 module { // test
|
/build/core/ |
D | pdk_fusion_modules.mk | 14 define prebuilt-pdk-java-module 51 $(call prebuilt-pdk-java-module,\ 66 $(call prebuilt-pdk-java-module,\
|
D | executable.mk | 25 …_STEM_32 or LOCAL_MODULE_PATH_32 is required for LOCAL_MULTILIB := both for module $(LOCAL_MODULE)) 28 …_STEM_64 or LOCAL_MODULE_PATH_64 is required for LOCAL_MULTILIB := both for module $(LOCAL_MODULE))
|
D | host_executable.mk | 23 …_STEM_32 or LOCAL_MODULE_PATH_32 is required for LOCAL_MULTILIB := both for module $(LOCAL_MODULE)) 26 …_STEM_64 or LOCAL_MODULE_PATH_64 is required for LOCAL_MULTILIB := both for module $(LOCAL_MODULE))
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 24 module *bpparser.Module member 289 file.module.Type = bpparser.Ident{ 291 Pos: file.module.LbracePos, 293 file.module.RbracePos = file.pos 294 file.defs = append(file.defs, file.module) 299 file.module = &bpparser.Module{} 300 file.module.LbracePos = file.pos 356 container := &file.module.Properties
|
/build/blueprint/bpmodify/ |
D | bpmodify.go | 124 if module, ok := def.(*parser.Module); ok { 125 for _, prop := range module.Properties { 128 m, newErrs := processModule(module, prop.Name.Name, file) 140 func processModule(module *parser.Module, moduleName string, 143 for _, prop := range module.Properties {
|