Searched refs:moduleType (Results 1 – 12 of 12) sorted by relevance
/build/soong/android/ |
D | soong_config_modules.go | 349 for _, moduleType := range moduleTypes { 350 if factory, ok := moduleTypeDefinitions[moduleType]; ok { 351 ctx.registerScopedModuleType(moduleType, factory) 354 moduleType, from) 394 for name, moduleType := range mtDef.ModuleTypes { 395 factory := globalModuleTypes[moduleType.BaseModuleType] 397 factories[name] = soongConfigModuleFactory(factory, moduleType) 400 fmt.Errorf("missing global module type factory for %q", moduleType.BaseModuleType)) 416 moduleType *soongconfig.ModuleType) blueprint.ModuleFactory { 418 conditionalFactoryProps := soongconfig.CreateProperties(factory, moduleType) [all …]
|
D | register.go | 51 type moduleType struct { struct 56 func (t moduleType) register(ctx *Context) { argument 60 var moduleTypes []moduleType 132 moduleTypes = append(moduleTypes, moduleType{name, factory})
|
D | neverallow.go | 548 func (r *rule) appliesToModuleType(moduleType string) bool { 549 …return (len(r.moduleTypes) == 0 || InList(moduleType, r.moduleTypes)) && !InList(moduleType, r.unl…
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 348 {{range $moduleType := .Modules}}<li><a href="{{$.Name}}.html#{{$moduleType.Name}}">{{$moduleType.N… 353 {{range $moduleType := .Modules}} 354 {{setModule $moduleType.Name}} 356 <h2 id="{{$moduleType.Name}}">{{$moduleType.Name}}</h2> 357 {{if $moduleType.Synopsis }}{{$moduleType.Synopsis}}{{else}}<i>Missing synopsis</i>{{end}} 360 {{range $i,$prop := $moduleType.Properties }} 366 {{- template "properties" $moduleType.Properties -}} 431 {{range $moduleType := .Modules}}{{$moduleType.Name}}:{{range $property := $moduleType.Properties}}…
|
/build/soong/java/ |
D | sdk_test.go | 33 moduleType string 165 moduleType: "java_library_host", 238 moduleType := "java_library" 239 if testcase.moduleType != "" { 240 moduleType = testcase.moduleType 252 bp := moduleType + " {" + props + testcase.properties + ` 254 bpJava8 := moduleType + " {" + props + `java_version: "1.8",
|
D | app_test.go | 57 for _, moduleType := range []string{"android_app", "android_library"} { 58 t.Run(moduleType, func(t *testing.T) { 66 ).RunTestWithBp(t, moduleType+` { 1054 for _, moduleType := range []string{"android_app", "android_library"} { 1056 t.Run(moduleType+" "+test.name, func(t *testing.T) { 1066 }`, moduleType, test.sdkVersion, platformApiProp) 1126 for _, moduleType := range []string{"android_app", "android_library"} { 1129 t.Run(moduleType+" "+test.name, func(t *testing.T) { 1135 }`, moduleType, sdkKind, test.sdkVersion)
|
/build/soong/sdk/ |
D | bp.go | 235 moduleType string member 239 return m.moduleType 381 moduleType := module.ModuleType() 387 name = "#" + moduleType 395 panic(fmt.Sprintf("Unnamed module type %q already exists in bp file", moduleType)) 403 func (f *bpFile) newModule(moduleType string) *bpModule { 404 return newModule(moduleType) 407 func newModule(moduleType string) *bpModule { 409 moduleType: moduleType,
|
D | update.go | 816 contents.Printfln("%s {", bpModule.moduleType) 983 func (s *snapshotBuilder) AddPrebuiltModule(member android.SdkMember, moduleType string) android.Bp… 989 m := s.bpFile.newModule(moduleType)
|
/build/blueprint/bootstrap/ |
D | writedocs.go | 65 for moduleType, factory := range factories { 66 mergedFactories[moduleType] = factory 69 for moduleType, factory := range ctx.ModuleTypeFactories() { 70 if _, exists := mergedFactories[moduleType]; !exists { 71 mergedFactories[moduleType] = reflect.ValueOf(factory)
|
/build/soong/android/soongconfig/ |
D | modules.go | 68 for name, moduleType := range mtDef.ModuleTypes { 69 for _, varName := range moduleType.variableNames { 71 moduleType.Variables = append(moduleType.Variables, v) 257 func CreateProperties(factory blueprint.ModuleFactory, moduleType *ModuleType) reflect.Value { 261 …affectablePropertiesType := createAffectablePropertiesType(moduleType.affectableProperties, factor… 266 for _, c := range moduleType.Variables { 281 for i, c := range moduleType.Variables { 416 func PropertiesToApply(moduleType *ModuleType, props reflect.Value, config SoongConfig) ([]interfac… 419 for i, c := range moduleType.Variables {
|
/build/soong/bp2build/ |
D | bzl_conversion.go | 107 for _, moduleType := range android.SortedStringKeys(moduleTypeFactories) { 108 factory := moduleTypeFactories[moduleType] 120 name: canonicalizeModuleType(moduleType),
|
/build/blueprint/ |
D | context.go | 3395 for moduleType, factory := range c.moduleFactories { 3396 _, ret[moduleType] = factory()
|