Home
last modified time | relevance | path

Searched refs:dexpreopt (Results 1 – 25 of 45) sorted by relevance

12

/build/soong/dexpreopt/
DDEXPREOPT_IMPLEMENTATION.md16 [soong/dexpreopt]. For the rest of this section we focus primarily on it (and
23 ### Global and module dexpreopt.config
25 The build system generates a global JSON dexpreopt config that is populated from
27 Make. The `$OUT/soong/dexpreopt.config` file is generated in
28 [make/core/dex_preopt_config.mk]. Soong reads it in [soong/dexpreopt/config.go]
32 dexpreopt and so on.
40 JSON dexpreopt.config files.
42 Module configs in Soong are not materialized as dexpreopt.config files and exist
45 in [soong/dexpreopt/config.go].
49 The Soong implementation of dexpreopt consists roughly of the following steps:
[all …]
DAndroid.bp6 name: "soong-dexpreopt",
7 pkgPath: "android/soong/dexpreopt",
11 "dexpreopt.go",
Dtesting.go15 package dexpreopt package
/build/soong/java/
Ddexpreopt.go93 classLoaderContexts dexpreopt.ClassLoaderContextMap
129 dexpreopt.DexpreoptRunningInSoong = true
171 global := dexpreopt.GetGlobalConfig(ctx)
204 dexpreopt.RegisterToolDeps(ctx)
208 …return dexpreopt.OdexOnSystemOtherByName(moduleName(ctx), android.InstallPathToOnDevicePath(ctx, i…
220 global := dexpreopt.GetGlobalConfig(ctx)
222 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, moduleName(ctx))
232 func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.WritablePath) { func
233 global := dexpreopt.GetGlobalConfig(ctx)
313 dexpreoptConfig := &dexpreopt.ModuleConfig{
[all …]
Ddexpreopt_check.go66 global := dexpreopt.GetGlobalConfig(ctx)
77 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, jar)
78 odexLocation := dexpreopt.ToOdexPath(dexLocation, targets[0].Arch.ArchType)
Ddexpreopt_bootjars.go432 …return append(imageLocationsOnHost, dexpreopt.PathToLocation(image.imagePathOnHost, image.target.A…
433 …append(imageLocationsOnDevice, dexpreopt.PathStringToLocation(image.imagePathOnDevice, image.targe…
447 return dexpreopt.GetGlobalConfig(ctx).DisablePreoptBootImages
482 if dexpreopt.GetCachedGlobalSoongConfig(ctx) == nil {
490 global := dexpreopt.GetGlobalConfig(ctx)
502 func shouldBuildBootImages(config android.Config, global *dexpreopt.GlobalConfig) bool {
618 globalSoong := dexpreopt.GetGlobalSoongConfig(ctx)
619 global := dexpreopt.GetGlobalConfig(ctx)
627 oatLocation := dexpreopt.PathToLocation(outputPath, arch)
682 FlagWithArg("--boot-image=", dexpreopt.PathToLocation(artImage, arch)).Implicit(artImage).
[all …]
Ddexpreopt_test.go216 dexpreopt.FixtureSetApexSystemServerJars("com.android.apex1:service-foo"),
232 dexpreopt := ctx.ModuleForTests(moduleName, variant).MaybeRule("dexpreopt")
233 enabled := dexpreopt.Rule != nil
260 dexpreopt.PrepareForTestByEnablingDexpreopt)
285 dex2oatPath := dexpreopt.GetCachedGlobalSoongConfig(pathContext).Dex2oat
303 dexpreopt.FixtureSetApexSystemServerJars("com.android.apex1:service-foo"),
390 dexpreopt.FixtureSetApexSystemServerJars("com.android.apex1:service-foo"),
Dtesting.go83 dexpreopt.PrepareForTestWithDexpreoptCompatLibs,
89 dexpreopt.PrepareForTestWithFakeDex2oatd,
95 dexpreopt.PrepareForTestByEnablingDexpreopt,
250 dexpreopt.FixtureSetBootJars(bootJars...),
251 dexpreopt.FixtureSetArtBootJars(artBootJars...),
254 dexpreopt.PrepareForTestWithFakeDex2oatd,
266 dexpreopt.FixtureSetApexBootJars(bootJars...),
269 dexpreopt.PrepareForTestWithFakeDex2oatd,
Dbootclasspath_fragment_test.go29 dexpreopt.PrepareForTestByEnablingDexpreopt,
61 dexpreopt.FixtureSetArtBootJars("platform:foo", "apex:bar"),
80 dexpreopt.FixtureSetArtBootJars("apex1:foo", "apex2:bar"),
DOWNERS1 per-file dexpreopt*.go = ngeoffray@google.com,calin@google.com,skvadrik@google.com
DAndroid.bp15 "soong-dexpreopt",
42 "dexpreopt.go",
Dsystemserver_classpath_fragment.go73 return dexpreopt.GetGlobalConfig(ctx).SystemServerJars
77 return dexpreopt.GetGlobalConfig(ctx).StandaloneSystemServerJars
137 global := dexpreopt.GetGlobalConfig(ctx)
169 global := dexpreopt.GetGlobalConfig(ctx)
Dplatform_bootclasspath.go112 dexpreopt.RegisterToolDeps(ctx)
136 apexJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars
211 remainingJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars
411 dexpreopt.GetGlobalSoongConfig(ctx)
418 global := dexpreopt.GetGlobalConfig(ctx)
Ddexpreopt_config.go51 global := dexpreopt.GetGlobalConfig(ctx)
178 apexBootJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars
Dapp.go1249 reqTag := makeUsesLibraryDependencyTag(dexpreopt.AnySdkVersion, false, false)
1252 optTag := makeUsesLibraryDependencyTag(dexpreopt.AnySdkVersion, true, false)
1264 ctx.AddVariationDependencies(nil, compat28OptTag, dexpreopt.OptionalCompatUsesLibs28...)
1267 ctx.AddVariationDependencies(nil, compat29ReqTag, dexpreopt.CompatUsesLibs29...)
1270 ctx.AddVariationDependencies(nil, compat30OptTag, dexpreopt.OptionalCompatUsesLibs30...)
1293 func (u *usesLibrary) classLoaderContextForUsesLibDeps(ctx android.ModuleContext) dexpreopt.ClassLo…
1294 clcMap := make(dexpreopt.ClassLoaderContextMap)
1363 statusFile := dexpreopt.UsesLibrariesStatusFile(ctx)
1369 global := dexpreopt.GetGlobalConfig(ctx)
1385 if dexpreopt.GetGlobalConfig(ctx).RelaxUsesLibraryCheck {
Dbootclasspath_fragment.go336 global := dexpreopt.GetGlobalConfig(ctx)
527 dexpreopt.RegisterToolDeps(ctx)
661 global := dexpreopt.GetGlobalConfig(ctx)
694 global := dexpreopt.GetGlobalConfig(ctx)
861 global := dexpreopt.GetGlobalConfig(ctx)
Dandroid_manifest.go60 ClassLoaderContexts dexpreopt.ClassLoaderContextMap
Ddevice_host_converter.go165 func (d *DeviceHostConverter) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap {
Djava.go280 ClassLoaderContexts() dexpreopt.ClassLoaderContextMap
1520 classLoaderContexts dexpreopt.ClassLoaderContextMap
1617 j.classLoaderContexts = make(dexpreopt.ClassLoaderContextMap)
1680 j.dexpreopt(ctx, dexOutputPath)
1764 func (j *Import) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap {
1993 j.dexpreopt(ctx, dexOutputFile)
2127 clcMap dexpreopt.ClassLoaderContextMap) {
2150 tag.sdkVersion == dexpreopt.AnySdkVersion && tag.implicit {
2170 clcMap.AddContext(ctx, dexpreopt.AnySdkVersion, *sdkLib, false, true,
/build/soong/apex/
Dsystemserver_classpath_fragment_test.go34 dexpreopt.FixtureSetApexSystemServerJars("myapex:foo"),
86 dexpreopt.FixtureSetApexSystemServerJars("myapex:foo"),
138 dexpreopt.FixtureSetApexSystemServerJars("myapex:foo"),
189 dexpreopt.FixtureSetApexSystemServerJars("myapex:foo"),
239 dexpreopt.FixtureSetApexStandaloneSystemServerJars("myapex:foo"),
286 dexpreopt.FixtureSetApexStandaloneSystemServerJars("myapex:foo"),
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go100 globalSoongConfig, err := dexpreopt.ParseGlobalSoongConfig(ctx, globalSoongConfigData)
112 globalConfig, err := dexpreopt.ParseGlobalConfig(ctx, globalConfigData)
124 moduleConfig, err := dexpreopt.ParseModuleConfig(ctx, moduleConfigData)
165 func writeScripts(ctx android.BuilderContext, globalSoong *dexpreopt.GlobalSoongConfig,
166 global *dexpreopt.GlobalConfig, module *dexpreopt.ModuleConfig, dexpreoptScriptPath string) {
202 dexpreoptRule, err := dexpreopt.GenerateDexpreoptRule(ctx, globalSoong, global, module)
DAndroid.bp11 "soong-dexpreopt",
/build/soong/sdk/
DAndroid.bp14 "soong-dexpreopt",
Dsystemserverclasspath_fragment_sdk_test.go31 dexpreopt.FixtureSetApexSystemServerJars("myapex:mylib", "myapex:mysdklibrary"),
/build/make/core/
Ddex_preopt_odex_install.mk161 $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,)/dexpreopt.config)
241 my_dexpreopt_config_args := $(patsubst %,--dexpreopt-config %,$(my_dexpreopt_dep_configs))
408 my_dexpreopt_config := $(intermediates)/dexpreopt.config

12