diff options
author | 2025-03-19 14:18:09 -0700 | |
---|---|---|
committer | 2025-03-19 14:18:09 -0700 | |
commit | f6f98f8edb1573e7842277a540fce54d18d242c9 (patch) | |
tree | 642c0fe6c7f4ddd7310bba7d8a000237ede458d9 /java/base.go | |
parent | ac2ff00846dead84597a14f929ceea46ddf28fa2 (diff) | |
parent | b97f1d1b6b790619514395126527f3639e16fe6f (diff) |
Merge "Use d8 when on eng builds" into main
Diffstat (limited to 'java/base.go')
-rw-r--r-- | java/base.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/base.go b/java/base.go index 1a12075bc..8aa0109d0 100644 --- a/java/base.go +++ b/java/base.go @@ -1816,7 +1816,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath classesJar: outputFile, jarName: jarName, } - if j.GetProfileGuided(ctx) && j.optimizeOrObfuscateEnabled() && !j.EnableProfileRewriting(ctx) { + if j.GetProfileGuided(ctx) && j.optimizeOrObfuscateEnabled(ctx) && !j.EnableProfileRewriting(ctx) { ctx.PropertyErrorf("enable_profile_rewriting", "Enable_profile_rewriting must be true when profile_guided dexpreopt and R8 optimization/obfuscation is turned on. The attached profile should be sourced from an unoptimized/unobfuscated APK.", ) |