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

Unified Diff: build/config/android/config.gni

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preventing any regression if enable_all_proguard_optimizations is never turned on Created 4 years, 5 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: build/config/android/config.gni
diff --git a/build/config/android/config.gni b/build/config/android/config.gni
index 3590205c37b8057ede2f66c78cd6eb59b16b5093..0007054b053de5c67220decf005bb0a56f8a1031 100644
--- a/build/config/android/config.gni
+++ b/build/config/android/config.gni
@@ -124,6 +124,13 @@ if (is_android) {
# Required for Android M+ due to SELinux policies (stronger sandboxing).
disable_incremental_isolated_processes = false
+ # Enables all ProGuard optimizations. These optimizations must not be
+ # enabled for instrumentation tests, since they cause code required by the
+ # tests to be removed.
+ # TODO(smaier): when buildbots get updated to set this flag, change the
+ # default to is_official_build
+ enable_all_proguard_optimizations = false
+
# Speed up incremental compiles by compiling only changed files.
enable_incremental_javac = false
« no previous file with comments | « BUILD.gn ('k') | build/config/android/rules.gni » ('j') | chrome/android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698