Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 12 of 12) sorted by relevance

/build/soong/android/
Dsoong_config_modules.go286 for _, moduleType := range moduleTypes {
287 if factory, ok := moduleTypeDefinitions[moduleType]; ok {
288 ctx.registerScopedModuleType(moduleType, factory)
291 moduleType, from)
331 for name, moduleType := range mtDef.ModuleTypes {
332 factory := globalModuleTypes[moduleType.BaseModuleType]
334 factories[name] = soongConfigModuleFactory(factory, moduleType)
337 fmt.Errorf("missing global module type factory for %q", moduleType.BaseModuleType))
353 moduleType *soongconfig.ModuleType) blueprint.ModuleFactory {
355 conditionalFactoryProps := soongconfig.CreateProperties(factory, moduleType)
[all …]
Dregister.go23 type moduleType struct { struct
28 var moduleTypes []moduleType
71 moduleTypes = append(moduleTypes, moduleType{name, factory})
Dneverallow.go536 func (r *rule) appliesToModuleType(moduleType string) bool {
537 …return (len(r.moduleTypes) == 0 || InList(moduleType, r.moduleTypes)) && !InList(moduleType, r.unl…
Dsdk.go196 AddPrebuiltModule(member SdkMember, moduleType string) BpModule
/build/soong/cmd/soong_build/
Dwritedocs.go101 for moduleType, factory := range moduleTypeFactories {
102 bpModuleTypeFactories[moduleType] = reflect.ValueOf(factory)
336 {{range $moduleType := .Modules}}<li><a href="{{$.Name}}.html#{{$moduleType.Name}}">{{$moduleType.N…
341 {{range $moduleType := .Modules}}
342 {{setModule $moduleType.Name}}
344 <h2 id="{{$moduleType.Name}}">{{$moduleType.Name}}</h2>
345 {{if $moduleType.Synopsis }}{{$moduleType.Synopsis}}{{else}}<i>Missing synopsis</i>{{end}}
348 {{range $i,$prop := $moduleType.Properties }}
354 {{- template "properties" $moduleType.Properties -}}
/build/blueprint/bootstrap/
Dwritedocs.go65 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/java/
Dsdk_test.go34 moduleType string
166 moduleType: "java_library_host",
268 moduleType := "java_library"
269 if testcase.moduleType != "" {
270 moduleType = testcase.moduleType
282 bp := moduleType + " {" + props + testcase.properties + `
284 bpJava8 := moduleType + " {" + props + `java_version: "1.8",
Dapp_test.go70 for _, moduleType := range []string{"android_app", "android_library"} {
71 t.Run(moduleType, func(t *testing.T) {
72 ctx := testApp(t, moduleType+` {
1090 for _, moduleType := range []string{"android_app", "android_library"} {
1092 t.Run(moduleType+" "+test.name, func(t *testing.T) {
1102 }`, moduleType, test.sdkVersion, platformApiProp)
/build/soong/android/soongconfig/
Dmodules.go66 for name, moduleType := range mtDef.ModuleTypes {
67 for _, varName := range moduleType.variableNames {
69 moduleType.Variables = append(moduleType.Variables, v)
275 func CreateProperties(factory blueprint.ModuleFactory, moduleType *ModuleType) reflect.Value {
279 …affectablePropertiesType := createAffectablePropertiesType(moduleType.affectableProperties, factor…
284 for _, c := range moduleType.Variables {
299 for i, c := range moduleType.Variables {
423 func PropertiesToApply(moduleType *ModuleType, props reflect.Value, config SoongConfig) ([]interfac…
426 for i, c := range moduleType.Variables {
/build/soong/sdk/
Dbp.go140 moduleType string member
285 func (f *bpFile) newModule(moduleType string) *bpModule {
286 return newModule(moduleType)
289 func newModule(moduleType string) *bpModule {
291 moduleType: moduleType,
Dupdate.go534 contents.Printfln("%s {", bpModule.moduleType)
662 func (s *snapshotBuilder) AddPrebuiltModule(member android.SdkMember, moduleType string) android.Bp…
668 m := s.bpFile.newModule(moduleType)
/build/blueprint/
Dcontext.go3030 for moduleType, factory := range c.moduleFactories {
3031 _, ret[moduleType] = factory()