Home
last modified time | relevance | path

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

/build/soong/rust/
Dproject_json.go161 func (singleton *projectGeneratorSingleton) mergeDependencies(ctx android.SingletonContext,
176 cInfo, known := singleton.knownCrates[rChild.Name()]
178 childId, ok = singleton.addCrate(ctx, rChild, compChild)
221 func (singleton *projectGeneratorSingleton) addCrate(ctx android.SingletonContext, rModule *Module,…
246 singleton.mergeDependencies(ctx, rModule, &crate, deps)
248 idx := len(singleton.project.Crates)
249 singleton.knownCrates[rModule.Name()] = crateInfo{Idx: idx, Deps: deps}
250 singleton.project.Crates = append(singleton.project.Crates, crate)
253 singleton.project.Roots = append(singleton.project.Roots, path.Dir(crate.RootModule))
260 func (singleton *projectGeneratorSingleton) appendCrateAndDependencies(ctx android.SingletonContext…
[all …]
/build/soong/android/
Dregister.go63 type singleton struct { struct
71 func newSingleton(name string, factory SingletonFactory) singleton {
72 return singleton{false, name, factory}
75 func newPreSingleton(name string, factory SingletonFactory) singleton {
76 return singleton{true, name, factory}
79 func (s singleton) componentName() string { argument
83 func (s singleton) register(ctx *Context) { argument
92 var _ sortableComponent = singleton{}
123 singleton := factory()
124 if makevars, ok := singleton.(SingletonMakeVarsProvider); ok {
[all …]
Dsingleton_module_test.go91 singleton := result.SingletonForTests("test_singleton_module").Singleton()
92 sm := singleton.(*singletonModuleSingletonAdaptor).sm
Dmakevars.go145 func registerSingletonMakeVarsProvider(config Config, singleton SingletonMakeVarsProvider) {
154 makeVarsProvider{pctx, singletonMakeVarsProviderAdapter(singleton)})
158 func singletonMakeVarsProviderAdapter(singleton SingletonMakeVarsProvider) MakeVarsProvider {
159 return func(ctx MakeVarsContext) { singleton.MakeVars(ctx) }
DAndroid.bp73 "singleton.go",
Drule_builder_test.go716 singleton := result.SingletonForTests("rule_builder_test")
717 check(t, singleton.Rule("rule"), singleton.Output(rspFile2),
/build/soong/bloaty/
Dbloaty.go85 func (singleton *sizesSingleton) GenerateBuildActions(ctx android.SingletonContext) {
112 func (singleton *sizesSingleton) MakeVars(ctx android.MakeVarsContext) {
/build/soong/
DAndroid.bp115 // Instantiate the dex_bootjars singleton module.
/build/blueprint/bootstrap/
Dbootstrap.go669 type singleton struct { struct
676 return &singleton{
682 func (s *singleton) GenerateBuildActions(ctx blueprint.SingletonContext) { argument
/build/blueprint/
Dcontext.go367 singleton Singleton member
505 singleton: factory(),
527 singleton: factory(),
545 func singletonPkgPath(singleton Singleton) string {
546 typ := reflect.TypeOf(singleton)
553 func singletonTypeName(singleton Singleton) string {
554 typ := reflect.TypeOf(singleton)
2905 info.singleton.GenerateBuildActions(sctx)
3567 ret = append(ret, s.singleton)
3573 func (c *Context) SingletonName(singleton Singleton) string {
[all …]
/build/bazel/bazel_skylib/rules/
Dcommon_settings.bzl23 doc = "A singleton provider that contains the raw value of a build setting",
/build/bazel/docs/
Dconcepts.md145 the AndroidMk singleton to generate .mk files in the output directory