Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 9 of 9) sorted by relevance

/build/soong/android/
Dregister.go23 factory ModuleFactory member
30 factory blueprint.SingletonFactory member
47 func ModuleFactoryAdaptor(factory ModuleFactory) blueprint.ModuleFactory {
49 module := factory()
58 func SingletonFactoryAdaptor(factory SingletonFactory) blueprint.SingletonFactory {
60 singleton := factory()
68 func RegisterModuleType(name string, factory ModuleFactory) {
69 moduleTypes = append(moduleTypes, moduleType{name, factory})
72 func RegisterSingletonType(name string, factory SingletonFactory) {
73 singletons = append(singletons, singleton{name, SingletonFactoryAdaptor(factory)})
[all …]
/build/soong/cc/config/
Dtoolchain.go28 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) {
32 toolchainFactories[os][arch] = factory
36 factory := toolchainFactories[os][arch.ArchType]
37 if factory == nil {
40 return factory(arch)
/build/blueprint/bootstrap/
Dwritedocs.go65 for moduleType, factory := range factories {
66 mergedFactories[moduleType] = factory
69 for moduleType, factory := range ctx.ModuleTypeFactories() {
71 mergedFactories[moduleType] = reflect.ValueOf(factory)
/build/make/core/
Dprocess_wrapper.sh16 gnome-terminal -t "Wrapper: $1" --disable-factory -x $2/process_wrapper_gdb.sh "$@"
/build/blueprint/
Dcontext.go172 factory ModuleFactory member
264 factory SingletonFactory member
373 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) {
377 c.moduleFactories[name] = factory
393 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) {
401 factory: factory,
402 singleton: factory(),
415 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) {
423 factory: factory,
424 singleton: factory(),
[all …]
Dmodule_ctx.go807 func (mctx *mutatorContext) CreateModule(factory ModuleFactory, props ...interface{}) {
808 module := mctx.context.newModule(factory)
/build/blueprint/bootstrap/bpdoc/
Dreader.go62 func (r *Reader) ModuleType(name string, factory reflect.Value) (*ModuleType, error) {
63 f := runtime.FuncForPC(factory.Pointer())
Dbpdoc.go108 func assembleModuleTypeInfo(r *Reader, name string, factory reflect.Value,
111 mt, err := r.ModuleType(name, factory)
/build/soong/cmd/soong_build/
Dwritedocs.go101 for moduleType, factory := range moduleTypeFactories {
102 bpModuleTypeFactories[moduleType] = reflect.ValueOf(factory)