/build/soong/dexpreopt/ |
D | DEXPREOPT_IMPLEMENTATION.md | 16 [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 …]
|
D | Android.bp | 6 name: "soong-dexpreopt", 7 pkgPath: "android/soong/dexpreopt", 11 "dexpreopt.go",
|
D | testing.go | 15 package dexpreopt package
|
/build/soong/java/ |
D | dexpreopt.go | 93 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 …]
|
D | dexpreopt_check.go | 66 global := dexpreopt.GetGlobalConfig(ctx) 77 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, jar) 78 odexLocation := dexpreopt.ToOdexPath(dexLocation, targets[0].Arch.ArchType)
|
D | dexpreopt_bootjars.go | 432 …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 …]
|
D | dexpreopt_test.go | 216 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"),
|
D | testing.go | 83 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,
|
D | bootclasspath_fragment_test.go | 29 dexpreopt.PrepareForTestByEnablingDexpreopt, 61 dexpreopt.FixtureSetArtBootJars("platform:foo", "apex:bar"), 80 dexpreopt.FixtureSetArtBootJars("apex1:foo", "apex2:bar"),
|
D | OWNERS | 1 per-file dexpreopt*.go = ngeoffray@google.com,calin@google.com,skvadrik@google.com
|
D | Android.bp | 15 "soong-dexpreopt", 42 "dexpreopt.go",
|
D | systemserver_classpath_fragment.go | 73 return dexpreopt.GetGlobalConfig(ctx).SystemServerJars 77 return dexpreopt.GetGlobalConfig(ctx).StandaloneSystemServerJars 137 global := dexpreopt.GetGlobalConfig(ctx) 169 global := dexpreopt.GetGlobalConfig(ctx)
|
D | platform_bootclasspath.go | 112 dexpreopt.RegisterToolDeps(ctx) 136 apexJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars 211 remainingJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars 411 dexpreopt.GetGlobalSoongConfig(ctx) 418 global := dexpreopt.GetGlobalConfig(ctx)
|
D | dexpreopt_config.go | 51 global := dexpreopt.GetGlobalConfig(ctx) 178 apexBootJars := dexpreopt.GetGlobalConfig(ctx).ApexBootJars
|
D | app.go | 1249 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 {
|
D | bootclasspath_fragment.go | 336 global := dexpreopt.GetGlobalConfig(ctx) 527 dexpreopt.RegisterToolDeps(ctx) 661 global := dexpreopt.GetGlobalConfig(ctx) 694 global := dexpreopt.GetGlobalConfig(ctx) 861 global := dexpreopt.GetGlobalConfig(ctx)
|
D | android_manifest.go | 60 ClassLoaderContexts dexpreopt.ClassLoaderContextMap
|
D | device_host_converter.go | 165 func (d *DeviceHostConverter) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap {
|
D | java.go | 280 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/ |
D | systemserver_classpath_fragment_test.go | 34 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/ |
D | dexpreopt_gen.go | 100 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)
|
D | Android.bp | 11 "soong-dexpreopt",
|
/build/soong/sdk/ |
D | Android.bp | 14 "soong-dexpreopt",
|
D | systemserverclasspath_fragment_sdk_test.go | 31 dexpreopt.FixtureSetApexSystemServerJars("myapex:mylib", "myapex:mysdklibrary"),
|
/build/make/core/ |
D | dex_preopt_odex_install.mk | 161 $(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
|