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