Home
last modified time | relevance | path

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

/build/soong/java/
Ddexpreopt.go40 libraryPaths dexpreopt.LibraryPaths
66 dexpreopt.DexpreoptRunningInSoong = true
70 global := dexpreopt.GetGlobalConfig(ctx)
110 dexpreopt.RegisterToolDeps(ctx)
114 …return dexpreopt.OdexOnSystemOtherByName(ctx.ModuleName(), android.InstallPathToOnDevicePath(ctx, …
117 func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.ModuleOutPath) androi… func
126 globalSoong := dexpreopt.GetGlobalSoongConfig(ctx)
127 global := dexpreopt.GetGlobalConfig(ctx)
182 dexpreoptConfig := &dexpreopt.ModuleConfig{
217 dexpreoptRule, err := dexpreopt.GenerateDexpreoptRule(ctx, globalSoong, global, dexpreoptConfig)
Ddexpreopt_config.go31 global := dexpreopt.GetGlobalConfig(ctx)
33 nonUpdatable := dexpreopt.NonUpdatableSystemServerJars(ctx, global)
42 dexpreopt.GetJarLocationFromApexJarPair(ctx, m))
115 global := dexpreopt.GetGlobalConfig(ctx)
213 global := dexpreopt.GetGlobalConfig(ctx)
218 updatableBootclasspath[i] = dexpreopt.GetJarLocationFromApexJarPair(ctx, p)
Ddexpreopt_bootjars.go158 return append(imageLocations, dexpreopt.PathToLocation(image.images, image.target.Arch.ArchType))
182 return dexpreopt.GetGlobalConfig(ctx).DisablePreopt
213 if dexpreopt.GetCachedGlobalSoongConfig(ctx) == nil {
221 global := dexpreopt.GetGlobalConfig(ctx)
360 globalSoong := dexpreopt.GetCachedGlobalSoongConfig(ctx)
361 global := dexpreopt.GetGlobalConfig(ctx)
369 oatLocation := dexpreopt.PathToLocation(outputPath, arch)
418 FlagWithArg("--boot-image=", dexpreopt.PathToLocation(artImage, arch)).Implicit(artImage)
505 globalSoong := dexpreopt.GetCachedGlobalSoongConfig(ctx)
506 global := dexpreopt.GetGlobalConfig(ctx)
[all …]
Ddexpreopt_test.go151 dexpreopt := ctx.ModuleForTests("foo", "android_common").MaybeDescription("dexpreopt")
152 enabled := dexpreopt.Rule != nil
DAndroid.bp10 "soong-dexpreopt",
28 "dexpreopt.go",
Ddexpreopt_bootjars_test.go50 dexpreoptConfig := dexpreopt.GlobalConfigForTests(pathCtx)
52 dexpreopt.SetTestGlobalConfig(config, dexpreoptConfig)
DOWNERS1 per-file dexpreopt*.go = ngeoffray@google.com,calin@google.com,mathieuc@google.com
Djava_test.go63 bp += dexpreopt.BpToolModulesForTest()
69 _ = dexpreopt.GlobalSoongConfigForTests(config)
104 dexpreopt.RegisterToolModulesForTest(ctx)
113 dexpreopt.SetTestGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
132 dexpreopt.SetTestGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
Dapp.go1493 dexOutput := a.dexpreopter.dexpreopt(ctx, jnisUncompressed)
1914 func (u *usesLibrary) usesLibraryPaths(ctx android.ModuleContext) dexpreopt.LibraryPaths {
1915 usesLibPaths := make(dexpreopt.LibraryPaths)
1936 usesLibPaths[dep] = &dexpreopt.LibraryPath{buildPath, devicePath}
Djava.go1692 dexOutputFile = j.dexpreopt(ctx, dexOutputFile)
2889 dexOutputFile = j.dexpreopt(ctx, dexOutputFile)
/build/soong/dexpreopt/
DAndroid.bp2 name: "soong-dexpreopt",
3 pkgPath: "android/soong/dexpreopt",
6 "dexpreopt.go",
Dtesting.go15 package dexpreopt package
Ddexpreopt_test.go15 package dexpreopt package
Dconfig.go15 package dexpreopt package
Ddexpreopt.go34 package dexpreopt package
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go87 globalSoongConfig, err := dexpreopt.ParseGlobalSoongConfig(ctx, globalSoongConfigData)
99 globalConfig, err := dexpreopt.ParseGlobalConfig(ctx, globalConfigData)
111 moduleConfig, err := dexpreopt.ParseModuleConfig(ctx, moduleConfigData)
136 func writeScripts(ctx android.PathContext, globalSoong *dexpreopt.GlobalSoongConfig,
137 global *dexpreopt.GlobalConfig, module *dexpreopt.ModuleConfig, dexpreoptScriptPath string) {
138 dexpreoptRule, err := dexpreopt.GenerateDexpreoptRule(ctx, globalSoong, global, module)
DAndroid.bp7 "soong-dexpreopt",
/build/make/core/
Ddex_preopt_odex_install.mk255 my_dexpreopt_config := $(intermediates)/dexpreopt.config
256 my_dexpreopt_script := $(intermediates)/dexpreopt.sh
257 my_dexpreopt_zip := $(intermediates)/dexpreopt.zip
Ddex_preopt_config.mk1 DEX_PREOPT_CONFIG := $(SOONG_OUT_DIR)/dexpreopt.config
Ddefinitions.mk2597 define dexpreopt-copy-jar
2601 $(if $(3),$$(call dexpreopt-remove-classes.dex,$$@))
2607 define dexpreopt-remove-classes.dex
DMakefile2447 $(warning Warning: with dexpreopt enabled, you may need a full rebuild.)
/build/soong/apex/
Dapex_test.go5439 …sInBootImage(t *testing.T, errmsg string, transformDexpreoptConfig func(*dexpreopt.GlobalConfig)) {
5527 bp += dexpreopt.BpToolModulesForTest()
5560 _ = dexpreopt.GlobalSoongConfigForTests(config)
5561 dexpreopt.RegisterToolModulesForTest(ctx)
5563 dexpreoptConfig := dexpreopt.GlobalConfigForTests(pathCtx)
5565 dexpreopt.SetTestGlobalConfig(config, dexpreoptConfig)
5600 var transform func(*dexpreopt.GlobalConfig)
5603 transform = func(config *dexpreopt.GlobalConfig) {
5611 transform = func(config *dexpreopt.GlobalConfig) {
5619 transform = func(config *dexpreopt.GlobalConfig) {
[all …]