Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5453)

Unified Diff: chrome/android/webapk/shell_apk/BUILD.gn

Issue 2054973002: Upstream: Enable proguard on WebApk.template.apk in release mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/webapk/shell_apk/BUILD.gn
diff --git a/chrome/android/webapk/shell_apk/BUILD.gn b/chrome/android/webapk/shell_apk/BUILD.gn
index 3c9f4b26b77a3517dfa843cdc9f9dd5e102cfd12..285a1eb8025616e16acfde1d8718286a3b899668 100644
--- a/chrome/android/webapk/shell_apk/BUILD.gn
+++ b/chrome/android/webapk/shell_apk/BUILD.gn
@@ -66,6 +66,10 @@ android_apk("webapk") {
"//chrome/android/webapk/libs/common",
"//chrome/android/webapk/libs/runtime_library",
]
+ if (!is_debug) {
+ proguard_enabled = true
+ proguard_configs = [ "//chrome/android/java/proguard.flags" ]
+ }
}
android_library("shell_apk_javatests") {

Powered by Google App Engine
This is Rietveld 408576698