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

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

Issue 2127973003: Turning on optimizations for chromium code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testapk
Patch Set: 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/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 2dd8f76fea0fd96ffaca8f027439255978be4dae..737b4fd523db51553e67352336d2a4dd2881c520 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -701,6 +701,11 @@ if (enable_java_templates) {
if (defined(invoker.args)) {
args += invoker.args
}
+ if (defined(invoker.proguard_jar_path)) {
+ # We assume that if we are using a different ProGuard, this new version
+ # can handle the 'dangerous' optimizaions.
+ args += [ "--enable-dangerous-optimizations" ]
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698