Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: services/ui/public/cpp/BUILD.gn

Issue 2651593002: mus: Remove the old client lib. (Closed)
Patch Set: restore test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | services/ui/public/cpp/in_flight_change.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "input_event_handler.h",
12 "property_type_converters.h", 11 "property_type_converters.h",
13 "raster_thread_helper.h", 12 "raster_thread_helper.h",
14 "scoped_window_ptr.h",
15 "window.h",
16 "window_compositor_frame_sink.h", 13 "window_compositor_frame_sink.h",
17 "window_manager_delegate.h",
18 "window_observer.h",
19 "window_property.h",
20 "window_tracker.h",
21 "window_tree_client.h",
22 "window_tree_client_delegate.h",
23 "window_tree_client_observer.h",
24 "window_tree_host_factory.h",
25 ] 14 ]
26 15
27 public_deps = [ 16 public_deps = [
28 "//base", 17 "//base",
29 "//cc", 18 "//cc",
30 "//cc/surfaces", 19 "//cc/surfaces",
31 "//cc/surfaces:surface_id", 20 "//cc/surfaces:surface_id",
32 "//mojo/public/cpp/bindings", 21 "//mojo/public/cpp/bindings",
33 "//services/service_manager/public/interfaces", 22 "//services/service_manager/public/interfaces",
34 "//services/ui/common:mus_common", 23 "//services/ui/common:mus_common",
35 "//services/ui/public/cpp/gpu", 24 "//services/ui/public/cpp/gpu",
36 "//services/ui/public/interfaces", 25 "//services/ui/public/interfaces",
37 ] 26 ]
38 27
39 deps = [ 28 deps = [
40 ":internal", 29 ":internal",
41 ":internal_or_test",
42 "//gpu/command_buffer/client:gles2_cmd_helper", 30 "//gpu/command_buffer/client:gles2_cmd_helper",
43 "//gpu/command_buffer/client:gles2_interface", 31 "//gpu/command_buffer/client:gles2_interface",
44 "//services/service_manager/public/cpp", 32 "//services/service_manager/public/cpp",
45 "//services/ui/public/interfaces", 33 "//services/ui/public/interfaces",
46 "//ui/display", 34 "//ui/display",
47 "//ui/events", 35 "//ui/events",
48 "//ui/gfx/geometry", 36 "//ui/gfx/geometry",
49 ] 37 ]
50 38
51 data_deps = [ 39 data_deps = [
52 "//services/ui", 40 "//services/ui",
53 ] 41 ]
54 42
55 defines = [ "GL_GLEXT_PROTOTYPES" ] 43 defines = [ "GL_GLEXT_PROTOTYPES" ]
56 44
57 allow_circular_includes_from = [ 45 allow_circular_includes_from = [ ":internal" ]
58 ":internal",
59 ":internal_or_test",
60 ]
61 }
62
63 # This target is for use internally and by tests.
64 source_set("internal_or_test") {
65 visibility = [
66 "./*",
67 "//services/ui/ws:mus_ws_unittests",
68 "//ui/views/mus:views_mus_unittests",
69 ]
70
71 sources = [
72 "window_private.h",
73 ]
74
75 deps = [
76 "//base",
77 "//mojo/public/cpp/bindings",
78 ]
79 } 46 }
80 47
81 source_set("internal") { 48 source_set("internal") {
82 # 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
83 # the 'cpp' target. 50 # the 'cpp' target.
84 visibility = [ 51 visibility = [
85 ":cpp", 52 ":cpp",
86 "//services/ui/demo:lib", 53 "//services/ui/demo:lib",
87 ] 54 ]
88 55
89 sources = [ 56 sources = [
90 "in_flight_change.cc",
91 "in_flight_change.h",
92 "property_type_converters.cc", 57 "property_type_converters.cc",
93 "raster_thread_helper.cc", 58 "raster_thread_helper.cc",
94 "scoped_window_ptr.cc",
95 "window.cc",
96 "window_compositor_frame_sink.cc", 59 "window_compositor_frame_sink.cc",
97 "window_manager_delegate.cc",
98 "window_observer.cc",
99 "window_private.cc",
100 "window_tree_client.cc",
101 "window_tree_client_delegate.cc",
102 "window_tree_host_factory.cc",
103 ] 60 ]
104 61
105 deps = [ 62 deps = [
106 ":internal_or_test",
107 "//base", 63 "//base",
108 "//cc", 64 "//cc",
109 "//cc/surfaces", 65 "//cc/surfaces",
110 "//cc/surfaces:surface_id", 66 "//cc/surfaces:surface_id",
111 "//mojo/public/cpp/bindings", 67 "//mojo/public/cpp/bindings",
112 "//services/service_manager/public/cpp", 68 "//services/service_manager/public/cpp",
113 "//services/service_manager/public/interfaces", 69 "//services/service_manager/public/interfaces",
114 "//services/ui/common:mus_common", 70 "//services/ui/common:mus_common",
115 "//services/ui/public/cpp/gpu", 71 "//services/ui/public/cpp/gpu",
116 "//services/ui/public/interfaces", 72 "//services/ui/public/interfaces",
117 "//skia/public/interfaces", 73 "//skia/public/interfaces",
118 "//ui/display", 74 "//ui/display",
119 "//ui/events", 75 "//ui/events",
120 "//ui/gfx/geometry", 76 "//ui/gfx/geometry",
121 ] 77 ]
122 78
123 data_deps = [ 79 data_deps = [
124 "//services/ui", 80 "//services/ui",
125 ] 81 ]
126 82
127 defines = [ "GL_GLEXT_PROTOTYPES" ] 83 defines = [ "GL_GLEXT_PROTOTYPES" ]
128 84
129 if (use_ozone) { 85 if (use_ozone) {
130 deps += [ "//ui/ozone" ] 86 deps += [ "//ui/ozone" ]
131 } 87 }
132 } 88 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | services/ui/public/cpp/in_flight_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698