summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/android/trichrome.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/android/trichrome.gni')
-rw-r--r--chromium/chrome/android/trichrome.gni13
1 files changed, 8 insertions, 5 deletions
diff --git a/chromium/chrome/android/trichrome.gni b/chromium/chrome/android/trichrome.gni
index 0ac676bb057..3f252e46c8b 100644
--- a/chromium/chrome/android/trichrome.gni
+++ b/chromium/chrome/android/trichrome.gni
@@ -152,12 +152,15 @@ template("trichrome_library_apk_tmpl") {
"//chrome/android/java/trichrome.flags",
]
if (trichrome_synchronized_proguard) {
- proguard_configs += [ "//chrome/android/java/static_library_dex_reference_workarounds.flags" ]
- }
- if (enable_proguard_obfuscation) {
- proguard_configs +=
- [ "//base/android/proguard/enable_obfuscation.flags" ]
+ proguard_configs += [
+ "//chrome/android/java/static_library_dex_reference_workarounds.flags",
+ "//base/android/proguard/enable_obfuscation.flags",
+ ]
} else {
+ # Disabling all obfuscation for the Trichrome library as a temporary
+ # workaround for crbug.com/1012842. There were naming conflicts between
+ # Library and Chrome, since each Proguard run doesn't know about the
+ # other, and thus handed out the first names (a, b, c) to both.
proguard_configs +=
[ "//base/android/proguard/disable_all_obfuscation.flags" ]
}