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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 # This is the public target. It contains only the public headers. The | 7 # This is the public target. It contains only the public headers. The |
8 # implementation (and private haders) are in 'internal'. | 8 # implementation (and private haders) are in 'internal'. |
9 source_set("cpp") { | 9 source_set("cpp") { |
10 sources = [ | 10 sources = [ |
| 11 "client_compositor_frame_sink.h", |
11 "property_type_converters.h", | 12 "property_type_converters.h", |
12 "raster_thread_helper.h", | 13 "raster_thread_helper.h", |
13 "window_compositor_frame_sink.h", | |
14 ] | 14 ] |
15 | 15 |
16 public_deps = [ | 16 public_deps = [ |
17 "//base", | 17 "//base", |
18 "//cc", | 18 "//cc", |
19 "//cc/surfaces", | 19 "//cc/surfaces", |
20 "//cc/surfaces:surface_id", | 20 "//cc/surfaces:surface_id", |
21 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
22 "//services/service_manager/public/interfaces", | 22 "//services/service_manager/public/interfaces", |
23 "//services/ui/common:mus_common", | 23 "//services/ui/common:mus_common", |
(...skipping 23 matching lines...) Expand all Loading... |
47 | 47 |
48 source_set("internal") { | 48 source_set("internal") { |
49 # This target is an implementation detail and is intended only to be used by | 49 # This target is an implementation detail and is intended only to be used by |
50 # the 'cpp' target. | 50 # the 'cpp' target. |
51 visibility = [ | 51 visibility = [ |
52 ":cpp", | 52 ":cpp", |
53 "//services/ui/demo:lib", | 53 "//services/ui/demo:lib", |
54 ] | 54 ] |
55 | 55 |
56 sources = [ | 56 sources = [ |
| 57 "client_compositor_frame_sink.cc", |
57 "property_type_converters.cc", | 58 "property_type_converters.cc", |
58 "raster_thread_helper.cc", | 59 "raster_thread_helper.cc", |
59 "window_compositor_frame_sink.cc", | |
60 ] | 60 ] |
61 | 61 |
62 deps = [ | 62 deps = [ |
63 "//base", | 63 "//base", |
64 "//cc", | 64 "//cc", |
65 "//cc/surfaces", | 65 "//cc/surfaces", |
66 "//cc/surfaces:surface_id", | 66 "//cc/surfaces:surface_id", |
67 "//mojo/public/cpp/bindings", | 67 "//mojo/public/cpp/bindings", |
68 "//services/service_manager/public/cpp", | 68 "//services/service_manager/public/cpp", |
69 "//services/service_manager/public/interfaces", | 69 "//services/service_manager/public/interfaces", |
70 "//services/ui/common:mus_common", | 70 "//services/ui/common:mus_common", |
71 "//services/ui/public/cpp/gpu", | 71 "//services/ui/public/cpp/gpu", |
72 "//services/ui/public/interfaces", | 72 "//services/ui/public/interfaces", |
73 "//skia/public/interfaces", | 73 "//skia/public/interfaces", |
74 "//ui/display", | 74 "//ui/display", |
75 "//ui/events", | 75 "//ui/events", |
76 "//ui/gfx/geometry", | 76 "//ui/gfx/geometry", |
77 ] | 77 ] |
78 | 78 |
79 data_deps = [ | 79 data_deps = [ |
80 "//services/ui", | 80 "//services/ui", |
81 ] | 81 ] |
82 | 82 |
83 defines = [ "GL_GLEXT_PROTOTYPES" ] | 83 defines = [ "GL_GLEXT_PROTOTYPES" ] |
84 | 84 |
85 if (use_ozone) { | 85 if (use_ozone) { |
86 deps += [ "//ui/ozone" ] | 86 deps += [ "//ui/ozone" ] |
87 } | 87 } |
88 } | 88 } |
OLD | NEW |