Home
last modified time | relevance | path

Searched refs:Module (Results 1 – 25 of 34) sorted by relevance

12

/build/blueprint/
Dsingleton_ctx.go28 ModuleName(module Module) string argument
29 ModuleDir(module Module) string argument
30 ModuleSubDir(module Module) string argument
31 BlueprintFile(module Module) string argument
33 ModuleErrorf(module Module, format string, args ...interface{}) argument
47 VisitAllModules(visit func(Module)) argument
48 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument
49 VisitDepsDepthFirst(module Module, visit func(Module)) argument
50 VisitDepsDepthFirstIf(module Module, pred func(Module) bool, argument
51 visit func(Module)) argument
[all …]
Dmodule_ctx.go86 type Module interface { interface
100 Module
130 OtherModuleName(m Module) string argument
131 OtherModuleErrorf(m Module, fmt string, args ...interface{}) argument
133 VisitDirectDeps(visit func(Module)) argument
134 VisitDirectDepsIf(pred func(Module) bool, visit func(Module)) argument
135 VisitDepsDepthFirst(visit func(Module)) argument
136 VisitDepsDepthFirstIf(pred func(Module) bool, visit func(Module)) argument
137 WalkDeps(visit func(Module, Module) bool) argument
147 PrimaryModule() Module
[all …]
Dcontext.go70 moduleInfo map[Module]*moduleInfo
138 logicModule Module
242 moduleInfo: make(map[Module]*moduleInfo),
254 type ModuleFactory func() (m Module, propertyStructs []interface{})
582 case *parser.Module:
921 var newLogicModule Module
1026 func (c *Context) processModuleDef(moduleDef *parser.Module,
1130 ctx.AddDependency(ctx.Module(), ctx.moduleInfo().properties.Deps...)
1132 if dynamicDepender, ok := ctx.Module().(DynamicDependerModule); ok {
1145 ctx.AddDependency(ctx.Module(), dynamicDeps...)
[all …]
Dcontext_test.go32 func newFooModule() (Module, []interface{}) {
54 func newBarModule() (Module, []interface{}) {
120 func(module, parent Module) bool {
Dbuild.ninja.in54 # Module: blueprint
80 # Module: blueprint-bootstrap
107 # Module: blueprint-bootstrap-bpdoc
127 # Module: blueprint-deptools
142 # Module: blueprint-parser
159 # Module: blueprint-pathtools
174 # Module: blueprint-proptools
192 # Module: choosestage
215 # Module: gotestmain
238 # Module: gotestrunner
[all …]
Dunpack_test.go375 module := file.Defs[0].(*parser.Module)
/build/soong/common/
Ddefaults.go48 props ...interface{}) (blueprint.Module, []interface{}) {
79 func InitDefaultsModule(module AndroidModule, d Defaults, props ...interface{}) (blueprint.Module, …
107 if defaultable, ok := ctx.Module().(Defaultable); ok {
108 ctx.AddDependency(ctx.Module(), defaultable.defaults().Defaults...)
113 if defaultable, ok := ctx.Module().(Defaultable); ok {
115 ctx.VisitDirectDeps(func(m blueprint.Module) {
Dmodule.go87 blueprint.Module
142 propertyStructs ...interface{}) (blueprint.Module, []interface{}) {
153 propertyStructs ...interface{}) (blueprint.Module, []interface{}) {
296 func(m blueprint.Module) {
324 ctx.VisitAllModuleVariants(func(module blueprint.Module) {
567 func isFileInstaller(m blueprint.Module) bool { argument
572 func isAndroidModule(m blueprint.Module) bool { argument
632 ctx.VisitAllModules(func(module blueprint.Module) {
679 ModuleName(blueprint.Module) string
680 ModuleSubDir(blueprint.Module) string
Dmutator.go49 if a, ok := ctx.Module().(AndroidModule); ok {
61 if a, ok := ctx.Module().(AndroidModule); ok {
Dandroidmk.go65 ctx.VisitAllModules(func(module blueprint.Module) {
127 func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod blueprint.Module) er… argument
Darch.go447 if module, ok = mctx.Module().(AndroidModule); !ok {
479 if module, ok = mctx.Module().(AndroidModule); !ok {
507 if module, ok = mctx.Module().(AndroidModule); !ok {
550 propertyStructs ...interface{}) (blueprint.Module, []interface{}) {
/build/soong/cc/
Dcc.go409 module() *Module
460 type Module struct { struct
484 func (c *Module) Init() (blueprint.Module, []interface{}) { argument
518 mod *Module
522 func (ctx *moduleContextImpl) module() *Module {
568 func newBaseModule(hod common.HostOrDeviceSupported, multilib common.Multilib) *Module {
569 return &Module{
575 func newModule(hod common.HostOrDeviceSupported, multilib common.Multilib) *Module {
583 func (c *Module) GenerateAndroidBuildActions(actx common.AndroidModuleContext) { argument
654 func (c *Module) toolchain(ctx BaseModuleContext) Toolchain { argument
[all …]
Dandroidmk.go26 func (c *Module) AndroidMk() (ret common.AndroidMkData, err error) {
/build/blueprint/bootstrap/
Dbootstrap.go132 if mod, ok := mctx.Module().(bootstrapGoCore); !ok || mod.BuildStage() != StageBootstrap {
136 mctx.VisitDirectDeps(func(mod blueprint.Module) {
144 if pkg, ok := ctx.Module().(*goPackage); ok {
146 ctx.AddReverseDependency(ctx.Module(), plugin)
156 func isGoPackageProducer(module blueprint.Module) bool { argument
166 func isGoTestProducer(module blueprint.Module) bool { argument
176 func isGoPluginFor(name string) func(blueprint.Module) bool {
177 return func(module blueprint.Module) bool {
185 func isBootstrapModule(module blueprint.Module) bool { argument
191 func isBootstrapBinaryModule(module blueprint.Module) bool { argument
[all …]
Dwritedocs.go19 func(module blueprint.Module) {
48 ctx.VisitDepsDepthFirst(primaryBuilder, func(module blueprint.Module) {
/build/soong/genrule/
Dgenrule.go86 if g, ok := ctx.Module().(*generator); ok {
101 ctx.VisitDirectDeps(func(module blueprint.Module) {
130 func generatorFactory(tasks taskFunc, props ...interface{}) (blueprint.Module, []interface{}) {
140 func GenSrcsFactory() (blueprint.Module, []interface{}) {
166 func GenRuleFactory() (blueprint.Module, []interface{}) {
/build/blueprint/parser/
Dparser_test.go41 &Module{
56 &Module{
82 &Module{
109 &Module{
165 &Module{
213 &Module{
256 &Module{
272 &Module{
Dparser.go227 typPos scanner.Position) (module *Module) {
229 module = new(Module)
580 type Module struct { struct
587 func (m *Module) Copy() *Module { argument
596 func (m *Module) String() string { argument
607 func (m *Module) definitionTag() {} argument
Dprinter.go82 } else if module, ok := def.(*Module); ok {
98 func (p *printer) printModule(module *Module) {
/build/soong/java/
Djava.go161 props ...interface{}) (blueprint.Module, []interface{}) {
195 if j, ok := ctx.Module().(JavaModuleType); ok {
196 ctx.AddDependency(ctx.Module(), j.JavaDependencies(ctx)...)
242 ctx.VisitDirectDeps(func(module blueprint.Module) {
323 ctx.VisitDirectDeps(func(module blueprint.Module) {
448 func JavaLibraryFactory() (blueprint.Module, []interface{}) {
456 func JavaLibraryHostFactory() (blueprint.Module, []interface{}) {
486 func JavaBinaryFactory() (blueprint.Module, []interface{}) {
494 func JavaBinaryHostFactory() (blueprint.Module, []interface{}) {
550 func JavaPrebuiltFactory() (blueprint.Module, []interface{}) {
[all …]
Dapp.go235 ctx.VisitDirectDeps(func(module blueprint.Module) {
276 func AndroidAppFactory() (blueprint.Module, []interface{}) {
Dgen.go118 ctx.VisitAllModules(func(module blueprint.Module) {
/build/soong/
Dbuild.ninja.in66 # Module: blueprint
157 # Module: blueprint-bootstrap
185 # Module: blueprint-bootstrap-bpdoc
206 # Module: blueprint-deptools
222 # Module: blueprint-parser
288 # Module: blueprint-pathtools
349 # Module: blueprint-proptools
418 # Module: choosestage
442 # Module: gotestmain
466 # Module: gotestrunner
[all …]
/build/blueprint/bpmodify/
Dbpmodify.go124 if module, ok := def.(*parser.Module); ok {
140 func processModule(module *parser.Module, moduleName string, argument
/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go24 module *bpparser.Module
299 file.module = &bpparser.Module{}

12