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 source_set("surface_id") { | 5 source_set("surface_id") { |
6 sources = [ | 6 sources = [ |
7 "surface_id.h", | 7 "surface_id.h", |
8 ] | 8 ] |
9 | 9 |
10 deps = [ | 10 deps = [ |
(...skipping 27 matching lines...) Expand all Loading... |
38 "surface_id_allocator.h", | 38 "surface_id_allocator.h", |
39 "surface_manager.cc", | 39 "surface_manager.cc", |
40 "surface_manager.h", | 40 "surface_manager.h", |
41 "surface_resource_holder.cc", | 41 "surface_resource_holder.cc", |
42 "surface_resource_holder.h", | 42 "surface_resource_holder.h", |
43 "surfaces_export.h", | 43 "surfaces_export.h", |
44 ] | 44 ] |
45 | 45 |
46 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | 46 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
47 | 47 |
| 48 public_deps = [ |
| 49 ":surface_id", |
| 50 ] |
48 deps = [ | 51 deps = [ |
49 ":surface_id", | |
50 "//base", | 52 "//base", |
51 "//base/third_party/dynamic_annotations", | 53 "//base/third_party/dynamic_annotations", |
52 "//cc", | 54 "//cc", |
53 "//gpu/command_buffer/client:gles2_interface", | 55 "//gpu/command_buffer/client:gles2_interface", |
54 "//gpu/command_buffer/common", | 56 "//gpu/command_buffer/common", |
55 "//skia", | 57 "//skia", |
56 "//ui/events:events_base", | 58 "//ui/events:events_base", |
57 "//ui/gfx", | 59 "//ui/gfx", |
58 "//ui/gfx/geometry", | 60 "//ui/gfx/geometry", |
59 ] | 61 ] |
60 | 62 |
61 if (is_android && !is_debug) { | 63 if (is_android && !is_debug) { |
62 configs -= [ "//build/config/compiler:default_optimization" ] | 64 configs -= [ "//build/config/compiler:default_optimization" ] |
63 configs += [ "//build/config/compiler:optimize_max" ] | 65 configs += [ "//build/config/compiler:optimize_max" ] |
64 } | 66 } |
65 } | 67 } |
OLD | NEW |