/build/soong/android/ |
D | register.go | 53 factory ModuleFactory member 57 ctx.RegisterModuleType(t.name, ModuleFactoryAdaptor(t.factory)) 69 factory SingletonFactory member 72 func newSingleton(name string, factory SingletonFactory) singleton { 73 return singleton{false, name, factory} 76 func newPreSingleton(name string, factory SingletonFactory) singleton { 77 return singleton{true, name, factory} 85 adaptor := SingletonFactoryAdaptor(ctx, s.factory) 111 func ModuleFactoryAdaptor(factory ModuleFactory) blueprint.ModuleFactory { 113 module := factory() [all …]
|
D | soong_config_modules.go | 349 if factory, ok := moduleTypeDefinitions[moduleType]; ok { 350 ctx.registerScopedModuleType(moduleType, factory) 398 factory := globalModuleTypes[moduleType.BaseModuleType] 399 if factory != nil { 400 factories[name] = configModuleFactory(factory, moduleType, ctx.Config().runningAsBp2Build) 417 func configModuleFactory(factory blueprint.ModuleFactory, moduleType *soongconfig.ModuleType, bp2bu… 418 conditionalFactoryProps := soongconfig.CreateProperties(factory, moduleType) 420 return factory 424 module, props := factory()
|
D | hooks.go | 41 registerScopedModuleType(name string, factory blueprint.ModuleFactory) 92 func (l *loadHookContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 96 if typeNameLookup, ok := ModuleTypeByFactory()[reflect.ValueOf(factory)]; ok { 99 factoryPtr := reflect.ValueOf(factory).Pointer() 106 …module := l.bp.CreateModule(ModuleFactoryAdaptor(factory), typeName, append(inherited, props...)..… 125 func (l *loadHookContext) registerScopedModuleType(name string, factory blueprint.ModuleFactory) { 126 l.bp.RegisterScopedModuleType(name, factory)
|
D | singleton_module.go | 93 func SingletonModuleFactoryAdaptor(name string, factory SingletonModuleFactory) (SingletonFactory, … 101 sm = factory()
|
D | testing.go | 474 func (ctx *TestContext) RegisterModuleType(name string, factory ModuleFactory) { 475 ctx.Context.RegisterModuleType(name, ModuleFactoryAdaptor(factory)) 478 func (ctx *TestContext) RegisterSingletonModuleType(name string, factory SingletonModuleFactory) { 479 s, m := SingletonModuleFactoryAdaptor(name, factory) 484 func (ctx *TestContext) RegisterSingletonType(name string, factory SingletonFactory) { 485 ctx.singletons = append(ctx.singletons, newSingleton(name, factory)) 488 func (ctx *TestContext) RegisterPreSingletonType(name string, factory SingletonFactory) { 489 ctx.preSingletons = append(ctx.preSingletons, newPreSingleton(name, factory))
|
D | mutator.go | 556 func (t *topDownMutatorContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 558 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module) 577 func (t *topDownMutatorContext) createModuleWithoutInheritance(factory ModuleFactory, props ...inte… 578 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), props...).(Module)
|
/build/soong/bp2build/ |
D | genrule_conversion_test.go | 57 factory android.ModuleFactory 62 factory: genrule.GenRuleFactory, 67 factory: cc.GenRuleFactory, 72 factory: java.GenRuleFactory, 77 factory: java.GenRuleFactoryHost, 122 moduleTypeUnderTestFactory: tc.factory, 133 factory android.ModuleFactory 137 factory: genrule.GenRuleFactory, 141 factory: cc.GenRuleFactory, 145 factory: java.GenRuleFactory, [all …]
|
D | bzl_conversion.go | 108 factory := moduleTypeFactories[moduleType] 109 factoryName := runtime.FuncForPC(reflect.ValueOf(factory).Pointer()).Name() 116 attrs += getAttributes(factory) 231 func getAttributes(factory android.ModuleFactory) string { 233 for _, p := range getPropertyDescriptions(factory().GetProperties()) {
|
/build/soong/rust/config/ |
D | toolchain.go | 146 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 150 toolchainFactories[os][arch] = factory 154 factory := toolchainFactories[os][arch.ArchType] 155 if factory == nil { 158 return factory(arch)
|
/build/blueprint/bootstrap/ |
D | writedocs.go | 52 for moduleType, factory := range factories { 53 mergedFactories[moduleType] = factory 56 for moduleType, factory := range ctx.ModuleTypeFactories() { 58 mergedFactories[moduleType] = reflect.ValueOf(factory)
|
/build/soong/cc/config/ |
D | toolchain.go | 27 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 31 toolchainFactories[os][arch] = factory 65 factory := toolchainFactories[os][arch.ArchType] 66 if factory == nil { 69 return factory(arch), nil
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader_test.go | 128 for name, factory := range factories { 129 moduleTypeNameFactories[name] = reflect.ValueOf(factory) 130 _, structs := factory()
|
D | reader.go | 62 func (r *Reader) ModuleType(name string, factory reflect.Value) (*ModuleType, error) { 63 f := runtime.FuncForPC(factory.Pointer())
|
D | bpdoc.go | 109 func assembleModuleTypeInfo(r *Reader, name string, factory reflect.Value, 112 mt, err := r.ModuleType(name, factory)
|
/build/soong/snapshot/ |
D | recovery_snapshot.go | 74 …) RegisterAdditionalModule(ctx android.RegistrationContext, name string, factory android.ModuleFac… 75 ctx.RegisterModuleType(name, factory)
|
D | vendor_snapshot.go | 85 …) RegisterAdditionalModule(ctx android.RegistrationContext, name string, factory android.ModuleFac… 86 ctx.RegisterModuleType(name, factory)
|
/build/make/core/ |
D | process_wrapper.sh | 16 gnome-terminal -t "Wrapper: $1" --disable-factory -x $2/process_wrapper_gdb.sh "$@"
|
/build/blueprint/ |
D | context.go | 271 factory ModuleFactory member 393 factory SingletonFactory member 506 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) { 510 c.moduleFactories[name] = factory 526 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) { 534 factory: factory, 535 singleton: factory(), 548 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) { 556 factory: factory, 557 singleton: factory(), [all …]
|
D | module_ctx.go | 1204 func (mctx *mutatorContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 1205 module := newModule(factory) 1268 RegisterScopedModuleType(name string, factory ModuleFactory) 1271 func (l *loadHookContext) CreateModule(factory ModuleFactory, typeName string, props ...interface{}… 1272 module := newModule(factory) 1292 func (l *loadHookContext) RegisterScopedModuleType(name string, factory ModuleFactory) { 1305 (*l.scopedModuleFactories)[name] = factory
|
/build/soong/android/soongconfig/ |
D | modules.go | 363 func CreateProperties(factory blueprint.ModuleFactory, moduleType *ModuleType) reflect.Value { 366 _, factoryProps := factory()
|
/build/bazel/docs/ |
D | internal_concepts.md | 94 factory itself (via 415 …[factory](https://cs.android.com/android/platform/superproject/+/master:build/soong/android/soong_…
|