| OLD | NEW |
| 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("surfaces") { | 5 component("surfaces") { |
| 6 output_name = "cc_surfaces" | 6 output_name = "cc_surfaces" |
| 7 sources = [ | 7 sources = [ |
| 8 "display.cc", | 8 "display.cc", |
| 9 "display.h", | 9 "display.h", |
| 10 "display_client.h", | 10 "display_client.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | 28 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
| 29 | 29 |
| 30 deps = [ | 30 deps = [ |
| 31 "//base", | 31 "//base", |
| 32 "//base/third_party/dynamic_annotations", | 32 "//base/third_party/dynamic_annotations", |
| 33 "//cc", | 33 "//cc", |
| 34 "//skia", | 34 "//skia", |
| 35 "//ui/gfx", | 35 "//ui/gfx", |
| 36 "//ui/gfx/geometry", | 36 "//ui/gfx/geometry", |
| 37 ] | 37 ] |
| 38 |
| 39 if (is_android && !is_debug) { |
| 40 configs -= [ "//build/config/compiler:optimize" ] |
| 41 configs += [ "//build/config/compiler:optimize_max" ] |
| 42 } |
| 38 } | 43 } |
| 39 | 44 |
| OLD | NEW |