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 "surface_sequence.h", |
8 ] | 9 ] |
9 | 10 |
10 deps = [ | 11 deps = [ |
11 "//base", | 12 "//base", |
12 ] | 13 ] |
13 } | 14 } |
14 | 15 |
15 component("surfaces") { | 16 component("surfaces") { |
16 output_name = "cc_surfaces" | 17 output_name = "cc_surfaces" |
17 sources = [ | 18 sources = [ |
(...skipping 15 matching lines...) Expand all Loading... |
33 "surface_factory_client.h", | 34 "surface_factory_client.h", |
34 "surface_hittest.cc", | 35 "surface_hittest.cc", |
35 "surface_hittest.h", | 36 "surface_hittest.h", |
36 "surface_hittest_delegate.h", | 37 "surface_hittest_delegate.h", |
37 "surface_id_allocator.cc", | 38 "surface_id_allocator.cc", |
38 "surface_id_allocator.h", | 39 "surface_id_allocator.h", |
39 "surface_manager.cc", | 40 "surface_manager.cc", |
40 "surface_manager.h", | 41 "surface_manager.h", |
41 "surface_resource_holder.cc", | 42 "surface_resource_holder.cc", |
42 "surface_resource_holder.h", | 43 "surface_resource_holder.h", |
| 44 "surface_sequence.h", |
43 "surfaces_export.h", | 45 "surfaces_export.h", |
44 ] | 46 ] |
45 | 47 |
46 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | 48 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
47 | 49 |
48 public_deps = [ | 50 public_deps = [ |
49 ":surface_id", | 51 ":surface_id", |
50 ] | 52 ] |
51 deps = [ | 53 deps = [ |
52 "//base", | 54 "//base", |
53 "//base/third_party/dynamic_annotations", | 55 "//base/third_party/dynamic_annotations", |
54 "//cc", | 56 "//cc", |
55 "//gpu/command_buffer/client:gles2_interface", | 57 "//gpu/command_buffer/client:gles2_interface", |
56 "//gpu/command_buffer/common", | 58 "//gpu/command_buffer/common", |
57 "//skia", | 59 "//skia", |
58 "//ui/events:events_base", | 60 "//ui/events:events_base", |
59 "//ui/gfx", | 61 "//ui/gfx", |
60 "//ui/gfx/geometry", | 62 "//ui/gfx/geometry", |
61 ] | 63 ] |
62 | 64 |
63 if (is_android && !is_debug) { | 65 if (is_android && !is_debug) { |
64 configs -= [ "//build/config/compiler:default_optimization" ] | 66 configs -= [ "//build/config/compiler:default_optimization" ] |
65 configs += [ "//build/config/compiler:optimize_max" ] | 67 configs += [ "//build/config/compiler:optimize_max" ] |
66 } | 68 } |
67 } | 69 } |
OLD | NEW |