Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 233) sorted by relevance

12345678910

/build/soong/java/
Dsdk_library.go69 …ctx.ModuleErrorf("has an invalid {scopeDependencyTag: %s} dependency on module %s: %s", tag.name, …
272 name: "module-lib",
283 apiFilePrefix: "module-lib-",
910 func (module *SdkLibrary) generateTestAndSystemScopesByDefault() bool {
911 return module.sdkLibraryProperties.Generate_system_and_test_apis
914 func (module *SdkLibrary) getGeneratedApiScopes(ctx android.EarlyModuleContext) apiScopes {
919 scopeProperties := module.scopeToProperties[scope]
929 scopeProperties := module.scopeToProperties[scope]
937 defaultEnabledStatus = scope.legacyEnabledStatus(module)
982 func (module *SdkLibrary) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
[all …]
Djdeps_test.go26 module := LibraryFactory().(*Library)
27 module.properties.Libs = append(module.properties.Libs, expected...)
30 module.IDEInfo(dpInfo)
39 module := LibraryFactory().(*Library)
40 module.properties.Static_libs = append(module.properties.Static_libs, expected...)
43 module.IDEInfo(dpInfo)
52 module := LibraryFactory().(*Library)
53 module.expandIDEInfoCompiledSrcs = append(module.expandIDEInfoCompiledSrcs, expected...)
56 module.IDEInfo(dpInfo)
65 module := LibraryFactory().(*Library)
[all …]
Dprebuilt_apis.go44 func (module *prebuiltApis) GenerateAndroidBuildActions(ctx android.ModuleContext) {
48 func parseJarPath(path string) (module string, apiver string, scope string) {
54 module = strings.TrimSuffix(elements[2], ".jar")
58 func parseApiFilePath(ctx android.LoadHookContext, path string) (module string, apiver string, scop…
69 module = strings.TrimSuffix(elements[3], ".txt")
73 func prebuiltApiModuleName(mctx android.LoadHookContext, module string, scope string, apiver string…
74 return mctx.ModuleName() + "_" + scope + "_" + apiver + "_" + module
77 func createImport(mctx android.LoadHookContext, module string, scope string, apiver string, path st…
84 props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, module, scope, apiver))
92 func createFilegroup(mctx android.LoadHookContext, module string, scope string, apiver string, path…
[all …]
Dsystem_modules.go53 `${moduleInfoJavaPath} java.base $in > ${workDir}/module-info.java && ` +
54 …`${config.JavacCmd} --system=none --patch-module=java.base=${classpath} ${workDir}/module-info.jav…
55 …`${config.SoongZipCmd} -jar -o ${workDir}/classes.jar -C ${workDir} -f ${workDir}/module-info.clas…
56 `${config.MergeZipsCmd} -j ${workDir}/module.jar ${workDir}/classes.jar $in && ` +
59 `${config.JmodCmd} create --module-version ${config.JlinkVersion} --target-platform android ` +
60 ` --class-path ${workDir}/module.jar ${workDir}/jmod/java.base.jmod && ` +
61 `${config.JlinkCmd} --module-path ${workDir}/jmod --add-modules java.base --output ${outDir} ` +
113 module := &SystemModules{}
114 module.AddProperties(&module.properties)
115 android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon)
[all …]
Dplugin.go25 module := &Plugin{}
27 module.addHostProperties()
28 module.AddProperties(&module.pluginProperties)
30 InitJavaModule(module, android.HostSupported)
31 return module
Dapp.go178 module := &AndroidAppSet{}
179 module.AddProperties(&module.properties)
180 InitJavaModule(module, android.DeviceSupported)
181 android.InitSingleSourcePrebuiltModule(module, &module.properties, "Set")
182 return module
844 ctx.WalkDeps(func(module android.Module, parent android.Module) bool {
845 otherName := ctx.OtherModuleName(module)
846 tag := ctx.OtherModuleDependencyTag(module)
849 if dep, ok := module.(*cc.Module); ok {
868 name: ctx.OtherModuleName(module),
[all …]
Dgenrule.go64 module := genrule.NewGenRule()
66 android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon)
68 return module
76 module := genrule.NewGenRule()
78 android.InitAndroidArchModule(module, android.HostSupported, android.MultilibCommon)
80 return module
/build/blueprint/
Dmodule_ctx.go341 module *moduleInfo member
349 return d.module
353 return d.module.logicModule
357 return d.module.Name()
361 return d.module.typeName
365 _, ok := d.module.propertyPos[name]
370 return filepath.Dir(d.module.relBlueprintsFile)
374 return d.module.relBlueprintsFile
402 Pos: d.module.pos,
404 module: d.module,
[all …]
Dcontext.go133 module *moduleInfo member
148 return fmt.Sprintf("%s: %s: %s", e.Pos, e.module, e.Err)
152 return fmt.Sprintf("%s: %s: %s: %s", e.Pos, e.module, e.property, e.Err)
216 module *moduleInfo member
220 func (module *moduleInfo) Name() string {
226 if module.group != nil {
227 return module.group.name
229 return module.logicModule.Name()
233 func (module *moduleInfo) String() string {
234 s := fmt.Sprintf("module %q", module.Name())
[all …]
Dsingleton_ctx.go35 ModuleName(module Module) string
38 ModuleDir(module Module) string
42 ModuleSubDir(module Module) string
45 ModuleType(module Module) string
48 BlueprintFile(module Module) string
51 ModuleErrorf(module Module, format string, args ...interface{})
102 VisitDirectDeps(module Module, visit func(Module))
111 VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Module))
116 VisitDepsDepthFirst(module Module, visit func(Module))
121 VisitDepsDepthFirstIf(module Module, pred func(Module) bool,
[all …]
/build/soong/dexpreopt/
Ddexpreopt.go56 global *GlobalConfig, module *ModuleConfig) (rule *android.RuleBuilder, err error) {
73 generateProfile := module.ProfileClassListing.Valid() && !global.DisableGenerateProfile
74 generateBootProfile := module.ProfileBootListing.Valid() && !global.DisableGenerateProfile
78 profile = profileCommand(ctx, globalSoong, global, module, rule)
81 bootProfileCommand(ctx, globalSoong, global, module, rule)
84 if !dexpreoptDisabled(ctx, global, module) {
86 if !contains(android.GetJarsFromApexJarPairs(ctx, global.BootJars), module.Name) {
87 appImage := (generateProfile || module.ForceCreateAppImage || global.DefaultAppImages) &&
88 !module.NoCreateAppImage
90 generateDM := shouldGenerateDM(module, global)
[all …]
/build/make/tools/
Dsoong_to_convert.py59 def count_deps(depsdb, module, seen): argument
65 seen.append(module)
66 if module in depsdb:
67 for dep in depsdb[module]:
81 for (module, module_type, problem, dependencies, makefiles, installed) in reader:
82 module_types[module] = module_type
83 problems[module] = problem
84 deps[module] = [d for d in dependencies.strip().split(' ') if d != ""]
85 for dep in deps[module]:
88 reverse_deps[dep].append(module)
[all …]
/build/soong/cc/
Dndk_prebuilt.go72 module := newBaseModule(android.DeviceSupported, android.MultilibBoth)
73 module.ModuleBase.EnableNativeBridgeSupportByDefault()
74 module.linker = &ndkPrebuiltObjectLinker{
79 module.Properties.AlwaysSdk = true
80 module.Properties.Sdk_version = StringPtr("current")
81 module.Properties.HideFromMake = true
82 return module.Init()
123 module, library := NewLibrary(android.DeviceSupported)
125 module.compiler = nil
126 module.linker = &ndkPrebuiltStlLinker{
[all …]
Dprebuilt.go207 module, library := NewLibrary(hod)
208 module.compiler = nil
213 module.linker = prebuilt
214 module.installer = prebuilt
216 module.AddProperties(&prebuilt.properties)
222 android.InitPrebuiltModuleWithSrcSupplier(module, srcsSupplier, "srcs")
225 android.InitSdkAwareModule(module)
226 return module, library
232 module, _ := NewPrebuiltLibrary(android.HostAndDeviceSupported)
235 android.InitApexModule(module)
[all …]
Dllndk_library.go178 module, library := NewLibrary(android.DeviceSupported)
180 module.stl = nil
181 module.sanitize = nil
188 module.compiler = stub
189 module.linker = stub
190 module.installer = nil
192 module.AddProperties(
193 &module.Properties,
198 return module
210 module := NewLLndkStubLibrary()
[all …]
Dvendor_snapshot.go218 module, library := NewLibrary(android.DeviceSupported)
220 module.stl = nil
221 module.sanitize = nil
236 module.compiler = nil
237 module.linker = prebuilt
238 module.installer = prebuilt
240 module.AddProperties(
244 return module, prebuilt
248 module, prebuilt := vendorSnapshotLibrary()
250 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
[all …]
/build/soong/android/
Dsoong_config_modules.go118 module := &soongConfigModuleTypeImport{}
120 module.AddProperties(&module.properties)
121 AddLoadHook(module, func(ctx LoadHookContext) {
122 importModuleTypes(ctx, module.properties.From, module.properties.Module_types...)
125 initAndroidModuleBase(module)
126 return module
208 module := &soongConfigModuleTypeModule{}
210 module.AddProperties(&module.properties)
212 AddLoadHook(module, func(ctx LoadHookContext) {
214 importModuleTypes(ctx, ctx.BlueprintsFile(), module.properties.Name)
[all …]
Ddefaults.go91 func InitDefaultableModule(module DefaultableModule) {
92 if module.(Module).base().module == nil {
95 module.setProperties(module.(Module).GetProperties(), module.(Module).base().variableProperties)
97 module.AddProperties(module.defaults())
192 func InitDefaultsModule(module DefaultsModule) {
193 commonProperties := module.common()
195 module.AddProperties(
200 initAndroidModuleBase(module)
201 initProductVariableModule(module)
202 InitArchModule(module)
[all …]
Dsingleton.go26 ModuleName(module blueprint.Module) string
27 ModuleDir(module blueprint.Module) string
28 ModuleSubDir(module blueprint.Module) string
29 ModuleType(module blueprint.Module) string
30 BlueprintFile(module blueprint.Module) string
32 ModuleErrorf(module blueprint.Module, format string, args ...interface{})
61 VisitDirectDeps(module Module, visit func(Module))
62 VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Module))
65 VisitDepsDepthFirst(module Module, visit func(Module))
67 VisitDepsDepthFirstIf(module Module, pred func(Module) bool,
[all …]
Dvisibility_test.go108 `module "libother": visibility: cannot mix "//visibility:private"` +
110 `module "libexample": visibility: cannot mix "//visibility:public"` +
124 `module "libexample": visibility: //visibility:legacy_public must` +
182 `module "libnested" variant "android_common": depends on //top:libexample which is not` +
183 ` visible to this module`,
184 `module "libother" variant "android_common": depends on //top:libexample which is not` +
185 ` visible to this module`,
214 `module "libnested" variant "android_common": depends on //top:libexample which is not` +
215 ` visible to this module`,
216 `module "libother" variant "android_common": depends on //top:libexample which is not` +
[all …]
Dpackage.go56 module := &packageModule{}
58 module.AddProperties(&module.properties)
63 AddLoadHook(module, func(ctx LoadHookContext) {
64 module.nameProperties.Name = proptools.StringPtr("//" + ctx.ModuleDir())
69 setPrimaryVisibilityProperty(module, "default_visibility", &module.properties.Default_visibility)
71 return module
/build/soong/etc/
Dprebuilt_etc.go136 func (p *PrebuiltEtc) SetImageVariation(ctx android.BaseModuleContext, variation string, module and…
250 module := &PrebuiltEtc{}
251 InitPrebuiltEtcModule(module, "etc")
253 android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibFirst)
254 return module
260 module := &PrebuiltEtc{}
261 InitPrebuiltEtcModule(module, "etc")
263 android.InitAndroidArchModule(module, android.HostSupported, android.MultilibCommon)
264 return module
270 module := &PrebuiltEtc{}
[all …]
/build/soong/rust/
Dprebuilt.go43 module, _ := NewPrebuiltLibrary(android.HostAndDeviceSupported)
44 return module.Init()
48 module, _ := NewPrebuiltDylib(android.HostAndDeviceSupported)
49 return module.Init()
53 module, _ := NewPrebuiltRlib(android.HostAndDeviceSupported)
54 return module.Init()
58 module, library := NewRustLibrary(hod)
64 module.compiler = prebuilt
65 return module, prebuilt
69 module, library := NewRustLibrary(hod)
[all …]
/build/soong/scripts/
Dbuild-mainline-modules.sh17 art-module-sdk
18 art-module-test-exports
19 conscrypt-module-sdk
20 conscrypt-module-test-exports
21 conscrypt-module-host-exports
22 runtime-module-sdk
23 runtime-module-host-exports
24 i18n-module-test-exports
25 i18n-module-sdk
67 for module in "${MAINLINE_MODULES[@]}"; do
[all …]
/build/soong/python/
Dtest.go65 module, binary := NewBinary(hod)
71 module.bootstrapper = test
72 module.installer = test
74 return module
78 module := NewTest(android.HostSupportedNoCross)
80 return module.Init()
84 module := NewTest(android.HostAndDeviceSupported)
85 module.multilib = android.MultilibBoth
87 return module.Init()

12345678910