/build/blueprint/bootstrap/ |
D | writedocs.go | 52 for moduleType, factory := range factories { 53 mergedFactories[moduleType] = factory 56 for moduleType, factory := range ctx.ModuleTypeFactories() { 57 if _, exists := mergedFactories[moduleType]; !exists { 58 mergedFactories[moduleType] = reflect.ValueOf(factory)
|
/build/soong/android/ |
D | soong_config_modules.go | 403 for _, moduleType := range moduleTypes { 404 if factory, ok := moduleTypeDefinitions[moduleType]; ok { 405 ctx.registerScopedModuleType(moduleType, factory) 408 moduleType, from) 448 for name, moduleType := range mtDef.ModuleTypes { 449 factory := globalModuleTypes[moduleType.BaseModuleType] 451 factories[name] = configModuleFactory(factory, moduleType) 454 fmt.Errorf("missing global module type factory for %q", moduleType.BaseModuleType)) 519 func configModuleFactory(factory blueprint.ModuleFactory, moduleType *soongconfig.ModuleType) bluep… 545 conditionalFactoryProps = soongconfig.CreateProperties(props, moduleType) [all …]
|
D | register.go | 51 type moduleType struct { struct 56 func (t moduleType) register(ctx *Context) { argument 60 var moduleTypes []moduleType 125 moduleTypes = append(moduleTypes, moduleType{name, factory})
|
D | sdk_version.go | 386 moduleType := reflect.TypeOf(m).String() 387 return strings.HasPrefix(moduleType, "*java.")
|
D | neverallow.go | 602 func (r *rule) appliesToModuleType(moduleType string) bool { 603 …return (len(r.moduleTypes) == 0 || InList(moduleType, r.moduleTypes)) && !InList(moduleType, r.unl…
|
D | sdk.go | 82 AddPrebuiltModule(member SdkMember, moduleType string) BpModule
|
/build/soong/cc/ |
D | cmake_module_cc.txt | 11 <<$moduleType := getModuleType .M>> 13 <<if eq $moduleType "library">> 24 <<- if eq $moduleType "library">> 26 <<- else if eq $moduleType "test">>
|
D | cc.go | 3909 type moduleType int type 3912 unknownType moduleType = iota 3924 func (c *Module) typ() moduleType {
|
/build/bazel/mkcompare/ |
D | mkfile.go | 58 func (mk *MkFile) handleModule(scanner *myScanner, moduleType string) (*MkModule, error) { 59 mod := MkModule{Location: scanner.lineNo, Type: moduleType, Variables: make(map[string]string)} 157 moduleType := "" 159 moduleType = line[m[4]:m[5]] 161 mod, err := mkFile.handleModule(scanner, moduleType)
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 349 {{range $moduleType := .Modules}}<li><a href="{{$.Name}}.html#{{$moduleType.Name}}">{{$moduleType.N… 354 {{range $moduleType := .Modules}} 355 {{setModule $moduleType.Name}} 357 <h2 id="{{$moduleType.Name}}">{{$moduleType.Name}}</h2> 358 {{if $moduleType.Synopsis }}{{$moduleType.Synopsis}}{{else}}<i>Missing synopsis</i>{{end}} 361 {{range $i,$prop := $moduleType.Properties }} 367 {{- template "properties" $moduleType.Properties -}} 433 {{range $moduleType := .Modules}}{{$moduleType.Name}}:{{range $property := $moduleType.Properties}}…
|
/build/soong/sdk/ |
D | bp.go | 235 moduleType string member 239 return m.moduleType 383 moduleType := module.ModuleType() 389 name = "#" + moduleType 397 panic(fmt.Sprintf("Unnamed module type %q already exists in bp file", moduleType)) 405 func (f *bpFile) newModule(moduleType string) *bpModule { 406 return newModule(moduleType) 409 func newModule(moduleType string) *bpModule { 411 moduleType: moduleType,
|
D | member_trait_test.go | 53 moduleType := "java_import" 55 moduleType = "java_test_import" 57 return ctx.SnapshotBuilder().AddPrebuiltModule(member, moduleType)
|
D | update.go | 568 moduleType string member 593 writeObjectPair("@type", m.moduleType) 612 moduleType: "sdk", 623 moduleType := ctx.OtherModuleType(module) 625 moduleType = strings.Split(moduleType, "__")[0] 627 moduleType: moduleType, 789 if module != nil && android.InList(module.moduleType, classpathModuleTypes) { 862 contents.IndentedPrintf("%s {\n", bpModule.moduleType) 1088 func (s *snapshotBuilder) AddPrebuiltModule(member android.SdkMember, moduleType string) android.Bp… 1094 m := s.bpFile.newModule(moduleType)
|
/build/soong/java/ |
D | sdk_test.go | 31 moduleType string member 237 moduleType: "java_library_host", 407 moduleType := "java_library" 408 if testcase.moduleType != "" { 409 moduleType = testcase.moduleType 421 bp := moduleType + " {" + props + testcase.properties + ` 423 bpJava8 := moduleType + " {" + props + `java_version: "1.8",
|
D | app_test.go | 56 for _, moduleType := range []string{"android_app", "android_library"} { 57 t.Run(moduleType, func(t *testing.T) { 65 ).RunTestWithBp(t, moduleType+` { 1769 for _, moduleType := range []string{"android_app", "android_library"} { 1771 t.Run(moduleType+" "+test.name, func(t *testing.T) { 1786 }`, moduleType, test.sdkVersion, platformApiProp, minSdkVersionProp) 1846 for _, moduleType := range []string{"android_app", "android_library"} { 1849 t.Run(moduleType+" "+test.name, func(t *testing.T) { 1855 }`, moduleType, sdkKind, test.sdkVersion) 4198 moduleType string [all …]
|
/build/soong/bp2build/ |
D | bzl_conversion.go | 107 for _, moduleType := range android.SortedKeys(moduleTypeFactories) { 108 factory := moduleTypeFactories[moduleType] 120 name: canonicalizeModuleType(moduleType),
|
/build/soong/android/soongconfig/ |
D | modules.go | 67 for name, moduleType := range mtDef.ModuleTypes { 68 for _, varName := range moduleType.variableNames { 70 moduleType.Variables = append(moduleType.Variables, v) 267 func CreateProperties(factoryProps []interface{}, moduleType *ModuleType) reflect.Value { 270 …affectablePropertiesType := createAffectablePropertiesType(moduleType.affectableProperties, factor… 275 for _, c := range moduleType.Variables { 290 for i, c := range moduleType.Variables { 425 func PropertiesToApply(moduleType *ModuleType, props reflect.Value, config SoongConfig) ([]interfac… 428 for i, c := range moduleType.Variables {
|
/build/soong/compliance/build_license_metadata/ |
D | build_license_metadata.go | 68 moduleType := newMultiString(flags, "mt", "module type") 88 metadata.ModuleTypes = *moduleType
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 1723 func getModuleName(path string, moduleType string, fs pathtools.FileSystem) (string, error) { 1730 if !ok || mod.Type != moduleType { 1742 return "", fmt.Errorf("Cannot find the value of the %s."+"name property", moduleType)
|
/build/blueprint/ |
D | context.go | 3891 for moduleType, factory := range c.moduleFactories { 3892 _, ret[moduleType] = factory()
|