Commit 1bfe7adc authored by Sam Maier's avatar Sam Maier Committed by Commit Bot

Fixing Trichrome duplicated class names crash

Bug: 1012842
Change-Id: Id15489f524711aa9ca0b7192e0161ecadfe3e268
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850783Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704685}
parent 06564983
......@@ -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" ]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment