diff options
author | fdegans <fdegans@chromium.org> | 2014-09-17 11:35:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-17 18:36:10 +0000 |
commit | 75b3d0978299e1427b8ce49dae99eda071308c5a (patch) | |
tree | 942abe0b98b4235e77d7e412f88b009b514eabb7 /cc/surfaces/BUILD.gn | |
parent | 4b45b7de6d8b9f44d75cd0718808aabb19dc3d76 (diff) | |
download | chromium_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.gn | 5 |
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" ] + } } |