summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/BUILD.gn
diff options
context:
space:
mode:
authorfdegans <fdegans@chromium.org>2014-09-17 11:35:55 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-17 18:36:10 +0000
commit75b3d0978299e1427b8ce49dae99eda071308c5a (patch)
tree942abe0b98b4235e77d7e412f88b009b514eabb7 /cc/surfaces/BUILD.gn
parent4b45b7de6d8b9f44d75cd0718808aabb19dc3d76 (diff)
downloadchromium_src-75b3d0978299e1427b8ce49dae99eda071308c5a.zip
chromium_src-75b3d0978299e1427b8ce49dae99eda071308c5a.tar.gz
chromium_src-75b3d0978299e1427b8ce49dae99eda071308c5a.tar.bz2
Compile specific parts of the Android build with -O2.
BUG=411909 Review URL: https://codereview.chromium.org/555373004 Cr-Commit-Position: refs/heads/master@{#295306}
Diffstat (limited to 'cc/surfaces/BUILD.gn')
-rw-r--r--cc/surfaces/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn
index 2e3ec23..46fdfc1 100644
--- a/cc/surfaces/BUILD.gn
+++ b/cc/surfaces/BUILD.gn
@@ -35,5 +35,10 @@ component("surfaces") {
"//ui/gfx",
"//ui/gfx/geometry",
]
+
+ if (is_android && !is_debug) {
+ configs -= [ "//build/config/compiler:optimize" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
}