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

Unified Diff: cc/BUILD.gn

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Backport gpu to the new system Created 6 years, 3 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: cc/BUILD.gn
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index 6d70f466979629a3adcce2a039cf387fd319d463..7b45a3e7b70694ef93927c4e2d907ca52ef9c8de 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -490,7 +490,7 @@ component("cc") {
defines = [ "CC_IMPLEMENTATION=1" ]
- if (!is_debug && is_win) {
+ if (!is_debug && (is_win || is_android)) {
pasko 2014/09/16 11:41:33 should GN also have a discouraging comment like in
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}

Powered by Google App Engine
This is Rietveld 408576698