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

Side by Side Diff: ui/gfx/geometry/BUILD.gn

Issue 643253002: [Android] Keep -O2 gfx optimizations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 component("geometry") { 5 component("geometry") {
6 sources = [ 6 sources = [
7 "../gfx_export.h", 7 "../gfx_export.h",
8 "box_f.cc", 8 "box_f.cc",
9 "box_f.h", 9 "box_f.h",
10 "cubic_bezier.h", 10 "cubic_bezier.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "vector3d_f.h", 58 "vector3d_f.h",
59 ] 59 ]
60 60
61 defines = [ "GFX_IMPLEMENTATION" ] 61 defines = [ "GFX_IMPLEMENTATION" ]
62 62
63 deps = [ 63 deps = [
64 "//base", 64 "//base",
65 "//ui/gfx:gfx_export", 65 "//ui/gfx:gfx_export",
66 ] 66 ]
67 67
68 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
69 if (is_android && !is_debug) { 68 if (is_android && !is_debug) {
70 configs -= [ "//build/config/compiler:optimize" ] 69 configs -= [ "//build/config/compiler:optimize" ]
71 configs += [ "//build/config/compiler:optimize_max" ] 70 configs += [ "//build/config/compiler:optimize_max" ]
72 } 71 }
73 } 72 }
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698