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

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

Issue 612513003: [Android] Enable -O2 for gfx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Link to bug 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "vector3d_f.cc", 55 "vector3d_f.cc",
56 "vector3d_f.h", 56 "vector3d_f.h",
57 ] 57 ]
58 58
59 defines = [ "GFX_IMPLEMENTATION" ] 59 defines = [ "GFX_IMPLEMENTATION" ]
60 60
61 deps = [ 61 deps = [
62 "//base", 62 "//base",
63 "//ui/gfx:gfx_export", 63 "//ui/gfx:gfx_export",
64 ] 64 ]
65
66 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
67 if (is_android && !is_debug) {
68 configs -= [ "//build/config/compiler:optimize" ]
69 configs += [ "//build/config/compiler:optimize_max" ]
70 }
65 } 71 }
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