Home
last modified time | relevance | path

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

123456

/build/soong/android/
Dmutator.go120 Module() Module methodSpec
122 OtherModuleName(m blueprint.Module) string argument
123 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) argument
124 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag argument
128 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module
129 GetDirectDep(name string) (blueprint.Module, blueprint.DependencyTag)
131 VisitDirectDeps(visit func(Module)) argument
132 VisitDirectDepsWithTag(tag blueprint.DependencyTag, visit func(Module)) argument
133 VisitDirectDepsIf(pred func(Module) bool, visit func(Module)) argument
134 VisitDepsDepthFirst(visit func(Module)) argument
[all …]
Dsingleton.go27 ModuleName(module blueprint.Module) string argument
28 ModuleDir(module blueprint.Module) string argument
29 ModuleSubDir(module blueprint.Module) string argument
30 ModuleType(module blueprint.Module) string argument
31 BlueprintFile(module blueprint.Module) string argument
33 ModuleErrorf(module blueprint.Module, format string, args ...interface{}) argument
52 VisitAllModulesBlueprint(visit func(blueprint.Module)) argument
53 VisitAllModules(visit func(Module)) argument
54 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument
56 VisitDepsDepthFirst(module Module, visit func(Module)) argument
[all …]
Dhooks.go44 func AddLoadHook(m blueprint.Module, hook func(LoadHookContext)) { argument
45 h := &m.(Module).base().hooks
49 func AddArchHook(m blueprint.Module, hook func(ArchHookContext)) { argument
50 h := &m.(Module).base().hooks
85 func AddInstallHook(m blueprint.Module, hook func(InstallHookContext)) { argument
86 h := &m.(Module).base().hooks
127 if m, ok := ctx.Module().(Module); ok {
136 if m, ok := ctx.Module().(Module); ok {
Dprebuilt.go44 module Module
94 Module
110 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil {
114 ctx.AddReverseDependency(ctx.Module(), prebuiltDepTag, name)
125 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil {
133 } else if s, ok := ctx.Module().(Module); ok {
134 ctx.VisitDirectDepsWithTag(prebuiltDepTag, func(m Module) {
150 if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil {
165 func (p *Prebuilt) usePrebuilt(ctx TopDownMutatorContext, source Module) bool {
Dmodule.go140 OtherModuleName(m blueprint.Module) string argument
141 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) argument
142 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag argument
144 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module
145 GetDirectDep(name string) (blueprint.Module, blueprint.DependencyTag)
149 VisitDirectDepsBlueprint(visit func(blueprint.Module)) argument
150 VisitDirectDeps(visit func(Module)) argument
151 VisitDirectDepsWithTag(tag blueprint.DependencyTag, visit func(Module)) argument
152 VisitDirectDepsIf(pred func(Module) bool, visit func(Module)) argument
154 VisitDepsDepthFirst(visit func(Module)) argument
[all …]
Doverride_module.go39 Module
110 m.setOverridableProperties(m.(Module).GetProperties())
173 if module, ok := ctx.Module().(OverrideModule); ok {
174 ctx.AddDependency(ctx.Module(), overrideBaseDepTag, *module.getOverrideModuleProperties().Base)
181 ctx.VisitDirectDepsWithTag(overrideBaseDepTag, func(base Module) {
183 o.addOverride(ctx.Module().(OverrideModule))
193 if b, ok := ctx.Module().(OverridableModule); ok {
202 variants[i+1] = o.(Module).Name()
Ddefaults.go52 Module
59 module.(Defaultable).setProperties(module.(Module).GetProperties())
126 if defaultable, ok := ctx.Module().(Defaultable); ok {
127 ctx.AddDependency(ctx.Module(), DefaultsDepTag, defaultable.defaults().Defaults...)
132 if defaultable, ok := ctx.Module().(Defaultable); ok && len(defaultable.defaults().Defaults) > 0 {
136 ctx.WalkDeps(func(module, parent Module) bool {
/build/blueprint/
Dsingleton_ctx.go32 ModuleName(module Module) string argument
33 ModuleDir(module Module) string argument
34 ModuleSubDir(module Module) string argument
35 ModuleType(module Module) string argument
36 BlueprintFile(module Module) string argument
38 ModuleErrorf(module Module, format string, args ...interface{}) argument
61 VisitAllModules(visit func(Module)) argument
62 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument
63 VisitDepsDepthFirst(module Module, visit func(Module)) argument
64 VisitDepsDepthFirstIf(module Module, pred func(Module) bool, argument
[all …]
Dmodule_ctx.go89 type Module interface { interface
113 Module
157 OtherModuleName(m Module) string argument
158 OtherModuleDir(m Module) string argument
159 OtherModuleSubDir(m Module) string argument
160 OtherModuleType(m Module) string argument
161 OtherModuleErrorf(m Module, fmt string, args ...interface{}) argument
162 OtherModuleDependencyTag(m Module) DependencyTag argument
164 GetDirectDepWithTag(name string, tag DependencyTag) Module
165 GetDirectDep(name string) (Module, DependencyTag)
[all …]
Dvisit_test.go33 func newVisitModule() (Module, []interface{}) {
48 if m, ok := ctx.Module().(*visitModule); ok {
49 ctx.AddDependency(ctx.Module(), visitTagDep, m.properties.Visit...)
54 if m, ok := ctx.Module().(*visitModule); ok {
55 ctx.VisitDepsDepthFirst(func(dep Module) {
61 ctx.VisitDepsDepthFirstIf(func(dep Module) bool {
63 }, func(dep Module) {
66 ctx.VisitDirectDeps(func(dep Module) {
69 ctx.VisitDirectDepsIf(func(dep Module) bool {
71 }, func(dep Module) {
/build/soong/cc/
Dprebuilt_test.go90 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_core_shared").Module()
91 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_core_static").Module()
92 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_core_shared").Module()
93 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_core_static").Module()
95 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_core_shared").Module()
96 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_core_static").Module()
97 prebuiltLibd := ctx.ModuleForTests("prebuilt_libd", "android_arm64_armv8-a_core_shared").Module()
98 prebuiltLibe := ctx.ModuleForTests("prebuilt_libe", "android_arm64_armv8-a_core_static").Module()
100 hasDep := func(m android.Module, wantDep android.Module) bool {
103 ctx.VisitDirectDeps(m, func(dep blueprint.Module) {
Dcoverage.go87 ctx.VisitDirectDepsWithTag(wholeStaticDepTag, func(m android.Module) {
88 if cc, ok := m.(*Module); ok && cc.coverage != nil {
97 ctx.VisitDirectDeps(func(m android.Module) {
98 cc, ok := m.(*Module)
160 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil {
168 m[0].(*Module).coverage.Properties.CoverageEnabled = false
169 m[0].(*Module).coverage.Properties.IsCoverageVariant = false
170 m[0].(*Module).Properties.HideFromMake = true
171 m[0].(*Module).Properties.PreventInstall = true
175 m[1].(*Module).coverage.Properties.CoverageEnabled = needCoverageBuild
[all …]
Dgen_test.go33 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_core_shared").Module().(*Module)
56 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_core_shared").Module().(*Module)
Dsanitize.go654 if c, ok := mctx.Module().(*Module); ok && c.sanitize.isSanitizerEnabled(t) {
655 mctx.WalkDeps(func(child, parent android.Module) bool {
659 if d, ok := child.(*Module); ok && d.sanitize != nil &&
672 } else if sanitizeable, ok := mctx.Module().(Sanitizeable); ok {
675 mctx.VisitDirectDeps(func(child android.Module) {
676 if c, ok := child.(*Module); ok && c.sanitize.isSanitizerEnabled(t) {
686 if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
687 mctx.WalkDeps(func(child, parent android.Module) bool {
691 if d, ok := child.(*Module); ok && d.static() && d.sanitize != nil {
711 if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
[all …]
Dcc.go365 type Module struct { struct
408 staticVariant *Module argument
411 func (c *Module) OutputFile() android.OptionalPath { argument
415 func (c *Module) UnstrippedOutputFile() android.Path { argument
422 func (c *Module) RelativeInstallPath() string { argument
429 func (c *Module) Init() android.Module { argument
490 func (c *Module) isDependencyRoot() bool { argument
499 func (c *Module) useVndk() bool { argument
503 func (c *Module) isCoverageVariant() bool { argument
507 func (c *Module) isNdk() bool { argument
[all …]
Dlto.go135 if m, ok := mctx.Module().(*Module); ok && m.lto.LTO() {
142 mctx.WalkDeps(func(dep android.Module, parent android.Module) bool {
146 if dep, ok := dep.(*Module); ok && dep.lto != nil &&
168 if m, ok := mctx.Module().(*Module); ok && m.lto != nil {
191 variation := modules[i].(*Module)
Dsabi.go80 if c, ok := mctx.Module().(*Module); ok &&
83 mctx.VisitDirectDeps(func(m android.Module) {
88 cc, _ := m.(*Module)
/build/soong/java/
Dapp.go135 a.Module.deps(ctx)
154 ctx.AddDependency(ctx.Module(), certificateTag, cert)
160 ctx.AddDependency(ctx.Module(), certificateTag, cert)
212 a.aapt.usesNonSdkApis = Bool(a.Module.deviceProperties.Platform_apis)
261 ctx.VisitDirectDeps(func(m android.Module) {
269 …a.Module.extraProguardFlagFiles = append(a.Module.extraProguardFlagFiles, staticLibProguardFlagFil…
270 a.Module.extraProguardFlagFiles = append(a.Module.extraProguardFlagFiles, a.proguardOptionsFile)
290 a.Module.compile(ctx, a.aaptSrcJar)
328 if !a.Module.Platform() {
335 if enforceSystemCert && !inList(a.Module.Name(), whitelist) {
[all …]
Djava.go274 type Module struct { struct
347 func (j *Module) Srcs() android.Paths { argument
351 func (j *Module) DexJarFile() android.Path { argument
355 var _ android.SourceFileProducer = (*Module)(nil)
377 func (j *Module) CompiledSrcs() android.Paths { argument
381 func (j *Module) CompiledSrcJars() android.Paths { argument
385 var _ SrcDependency = (*Module)(nil)
435 func (j *Module) shouldInstrument(ctx android.BaseContext) bool { argument
439 func (j *Module) shouldInstrumentStatic(ctx android.BaseContext) bool { argument
445 func (j *Module) sdkVersion() string { argument
[all …]
Dplugin.go24 func PluginFactory() android.Module {
28 &module.Module.properties,
29 &module.Module.protoProperties,
Dsdk_library.go190 ctx.VisitDirectDeps(func(to android.Module) {
426 props.No_standard_libs = module.Library.Module.properties.No_standard_libs
427 props.System_modules = module.Library.Module.deviceProperties.System_modules
428 props.Openjdk9.Srcs = module.Library.Module.properties.Openjdk9.Srcs
429 props.Openjdk9.Javacflags = module.Library.Module.properties.Openjdk9.Javacflags
430 props.Java_version = module.Library.Module.properties.Java_version
431 if module.Library.Module.deviceProperties.Compile_dex != nil {
432 props.Compile_dex = module.Library.Module.deviceProperties.Compile_dex
478 props.Srcs = append(props.Srcs, module.Library.Module.properties.Srcs...)
483 props.Libs = module.Library.Module.properties.Libs
[all …]
/build/soong/python/
Dpython.go109 type Module struct { struct
147 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
148 return &Module{
174 func (p *Module) GetSrcsPathMappings() []pathMapping { argument
178 func (p *Module) GetDataPathMappings() []pathMapping { argument
182 func (p *Module) GetSrcsZip() android.Path { argument
186 var _ PythonDependency = (*Module)(nil)
188 var _ android.AndroidMkDataProvider = (*Module)(nil)
190 func (p *Module) Init() android.Module { argument
227 if base, ok := mctx.Module().(*Module); ok {
[all …]
Dandroidmk.go26 AndroidMk(*Module, *android.AndroidMkData) argument
29 func (p *Module) subAndroidMk(data *android.AndroidMkData, obj interface{}) {
41 func (p *Module) AndroidMk() android.AndroidMkData {
49 func (p *binaryDecorator) AndroidMk(base *Module, ret *android.AndroidMkData) { argument
61 func (p *testDecorator) AndroidMk(base *Module, ret *android.AndroidMkData) { argument
83 func (installer *pythonInstaller) AndroidMk(base *Module, ret *android.AndroidMkData) { argument
/build/soong/genrule/
Dgenrule.go101 type Module struct { struct
134 func (g *Module) GeneratedSourceFiles() android.Paths { argument
138 func (g *Module) Srcs() android.Paths { argument
142 func (g *Module) GeneratedHeaderDirs() android.Paths { argument
146 func (g *Module) GeneratedDeps() android.Paths { argument
150 func (g *Module) DepsMutator(ctx android.BottomUpMutatorContext) { argument
151 if g, ok := ctx.Module().(*Module); ok {
164 func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) { argument
194 ctx.VisitDirectDepsBlueprint(func(module blueprint.Module) {
201 if !t.(android.Module).Enabled() {
[all …]
/build/soong/bpfix/bpfix/
Dbpfix.go205 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.… argument
213 mod, ok := def.(*parser.Module)
254 mod, ok := def.(*parser.Module)
300 mod, ok := def.(*parser.Module)
337 mod, ok := def.(*parser.Module)
376 mod, ok := def.(*parser.Module)
392 mod, ok := def.(*parser.Module)
435 func makePrebuiltEtcDestination(mod *parser.Module, path string) { argument
443 func indicateAttributeError(mod *parser.Module, attributeName string, format string, a ...interface… argument
456 func resolveLocalModule(mod *parser.Module, val parser.Expression) parser.Expression { argument
[all …]

123456