Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 37) sorted by relevance

12

/build/soong/dexpreopt/
Ddexpreopt.go55global *GlobalConfig, module *ModuleConfig, productPackages android.Path, copyApexSystemServerJarD…
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) {
90 appImage := (generateProfile || module.ForceCreateAppImage || global.DefaultAppImages) &&
93 generateDM := shouldGenerateDM(module, global)
96 dexpreoptCommand(ctx, globalSoong, global, module, rule, archIdx, profile, appImage,
109 func dexpreoptDisabled(ctx android.PathContext, global *GlobalConfig, module *ModuleConfig) bool {
[all …]
Ddexpreopt_test.go100 global := GlobalConfigForTests(ctx)
104 rule, err := GenerateDexpreoptRule(ctx, globalSoong, global, module, productPackages, true)
126 global := GlobalConfigForTests(ctx)
132 global.HasSystemOther = true
162 global.PatternsOnSystemOther = test.patterns
164 rule, err := GenerateDexpreoptRule(ctx, globalSoong, global, mt.module, productPackages, true)
192 global := GlobalConfigForTests(ctx)
196 global.ApexSystemServerJars = android.CreateTestConfiguredJarList(
199 rule, err := GenerateDexpreoptRule(ctx, globalSoong, global, module, productPackages, true)
214 rule, err = GenerateDexpreoptRule(ctx, globalSoong, global, module, productPackages, false)
[all …]
Dconfig.go257 global *GlobalConfig member
268 return getGlobalConfigRaw(ctx).global
481 global := GetGlobalConfig(ctx)
482 return !global.DisablePreopt || !global.DisablePreoptBootImages
642 global := GetGlobalConfig(ctx)
643 checkBootJarsConfigConsistency(ctx, global, ctx.Config())
645 if global.DisablePreopt {
649 buildUffdGcFlag(ctx, global)
701 func buildUffdGcFlag(ctx android.BuilderContext, global *GlobalConfig) {
704 if global.EnableUffdGc == "true" {
[all …]
DDEXPREOPT_IMPLEMENTATION.md25 The build system generates a global JSON dexpreopt config that is populated from
30 correctness). The global config contains lists of bootclasspath jars, system
31 server jars, dex2oat options, global switches that enable and disable parts of
35 contains package-specific configuration that is derived from the global
51 - Read global dexpreopt config passed from Make ([soong/dexpreopt/config.go]).
145 is passed to the build system via global configuration, Android.bp files or
/build/soong/java/
Ddexpreopt_check.go66 global := dexpreopt.GetGlobalConfig(ctx)
71 …if global.DisablePreopt || global.OnlyPreoptArtBootImage || len(targets) == 0 || ctx.Config().Unbu…
75 systemServerJars := global.AllSystemServerJars(ctx)
77 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, jar)
Ddexpreopt.go268 global := dexpreopt.GetGlobalConfig(ctx)
273 isApexSystemServerJar := global.AllApexSystemServerJars(ctx).ContainsJar(libName)
328 global := dexpreopt.GetGlobalConfig(ctx)
329 if global.AllApexSystemServerJars(ctx).ContainsJar(libName) {
330 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, libName)
363 global := dexpreopt.GetGlobalConfig(ctx)
389 isSystemServerJar := global.AllSystemServerJars(ctx).ContainsJar(libName)
395 if global.PreoptWithUpdatableBcp {
398 dexFiles, dexLocations := bcpForDexpreopt(ctx, global.PreoptWithUpdatableBcp)
447 } else if global.ProfileDir != "" {
[all …]
Ddexpreopt_bootjars.go472 global := dexpreopt.GetGlobalConfig(ctx)
473 return global.DisablePreoptBootImages || !shouldBuildBootImages(ctx.Config(), global)
633 func shouldBuildBootImages(config android.Config, global *dexpreopt.GlobalConfig) bool {
638 …if len(config.SanitizeDevice()) == 1 && config.SanitizeDevice()[0] == "address" && global.Sanitize…
656 global := dexpreopt.GetGlobalConfig(ctx)
657 if SkipDexpreoptBootJars(ctx) || (global.OnlyPreoptArtBootImage && imageConfig.name != "art") {
972 global := dexpreopt.GetGlobalConfig(ctx)
1015 Flag("--runtime-arg").FlagWithArg("-Xms", global.Dex2oatImageXms).
1016 Flag("--runtime-arg").FlagWithArg("-Xmx", global.Dex2oatImageXmx)
1018 if image.isProfileGuided() && !global.DisableGenerateProfile {
[all …]
Ddexpreopt_config.go59 global := dexpreopt.GetGlobalConfig(ctx)
62 frameworkModules := global.BootJars // This includes `global.ArtApexJars`.
63 mainlineBcpModules := global.ApexBootJars
74 modules: global.TestOnlyArtBootImageJars,
Dsystemserver_classpath_fragment.go133 global := dexpreopt.GetGlobalConfig(ctx)
136 jars, unknown := global.ApexSystemServerJars.Filter(possibleUpdatableModules)
156 } else if global.ApexSystemServerJars.Len() > 0 && len(unknown) > 0 {
165 global := dexpreopt.GetGlobalConfig(ctx)
168 jars, _ := global.ApexStandaloneSystemServerJars.Filter(possibleUpdatableModules)
Dplatform_bootclasspath.go135 global := dexpreopt.GetGlobalConfig(ctx)
138 addDependenciesOntoBootImageModules(ctx, global.ArtApexJars, platformBootclasspathArtBootJarDepTag)
247 global := dexpreopt.GetGlobalConfig(ctx)
248 return global.BootJars.RemoveList(global.ArtApexJars)
Dbootclasspath_fragment.go319 global := dexpreopt.GetGlobalConfig(ctx)
320 modules := global.ArtApexJars
575 global := dexpreopt.GetGlobalConfig(ctx)
578 return global.ArtApexJars
582 jars, unknown := global.ApexBootJars.Filter(possibleUpdatableModules)
592 } else if global.ApexBootJars.Len() != 0 {
/build/soong/ui/build/sandbox/darwin/
Dglobal.sb31 (global-name "com.apple.SystemConfiguration.configd") ; Java
32 (global-name "com.apple.CoreServices.coreservicesd") ; xcodebuild in Soong
33 (global-name "com.apple.FSEvents") ; xcodebuild in Soong
34 (global-name "com.apple.lsd.mapdb") ; xcodebuild in Soong
35 (global-name-regex #"^com\.apple\.distributed_notifications") ; xcodebuild in Soong
/build/soong/cc/config/
Dcfi_exports.map2 global:
DOWNERS2 per-file clang.go,global.go,tidy.go = appujee@google.com, pirama@google.com, srhines@google.com, ya…
DAndroid.bp15 "global.go",
/build/soong/rust/config/
DOWNERS1 per-file global.go = srhines@google.com, chh@google.com, pirama@google.com, yikong@google.com
DAndroid.bp16 "global.go",
/build/make/tools/aconfig/aconfig_storage_read_api/
Dlibaconfig_storage_read_api_cc.map4 global:
/build/make/core/
DOWNERS2 # For global Proguard rules
Dproguard_basic_keeps.flags14 # explicit keep rule for that target, even with a global -keepattributes rule.
15 # As such, we can add the global keep rule here with minimal cost while
/build/soong/
DAndroid.bp111 // parse cc/config/global.go.
116 srcs: ["cc/config/global.go"],
DREADME.md233 An implicit **global namespace** corresponds to the source tree as a whole. It
252 For a **global reference** of the "//_scope_:_name_" form, Soong verifies there
258 module "_name_" in one or more namespaces. By default only the global namespace
290 A module defined in an Android.bp file and belonging to the global namespace can
358 global default of `//visibility:legacy_public`.
366 global refactoring will be done to change this to `//visibility:private` at
/build/soong/docs/
Dtidy.md18 This will turn on the global default to run clang-tidy for every required
19 C/C++ source file compilation. The global default clang-tidy checks
26 The default global clang-tidy checks and flags are defined in
32 The global default can be overwritten by module properties in Android.bp.
96 The global tidy checks are enabled as warnings.
243 This can save global build time, when it is necessary to set some
254 * The global `WITH_TIDY=1` variable will enable clang-tidy for all C/C++
257 * The global `TIDY_TIMEOUT` variable is recognized by Android prebuilt
Dmap_files.md19 global:
27 global:
55 symbol named in any `global:` group will be visible in the implementation
175 Used to define a public global variable. By default all symbols are exposed as
176 functions. In the uncommon situation of exposing a global variable, the `var`
186 global:
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go171 global *dexpreopt.GlobalConfig, module *dexpreopt.ModuleConfig, dexpreoptScriptPath string,
210 …ctx, globalSoong, global, module, android.PathForTesting(productPackagesPath), cpApexSscpServerJar)

12