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

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

Issue 2511143004: mus: Split the gpu client-lib into a separate component. (Closed)
Patch Set: . Created 4 years, 1 month 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
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 "context_provider.h", 11 "context_provider.h",
12 "gpu_service.h",
13 "input_event_handler.h", 12 "input_event_handler.h",
14 "mojo_gpu_memory_buffer_manager.h",
15 "property_type_converters.h", 13 "property_type_converters.h",
16 "raster_thread_helper.h", 14 "raster_thread_helper.h",
17 "scoped_window_ptr.h", 15 "scoped_window_ptr.h",
18 "surface_id_handler.h", 16 "surface_id_handler.h",
19 "window.h", 17 "window.h",
20 "window_compositor_frame_sink.h", 18 "window_compositor_frame_sink.h",
21 "window_manager_delegate.h", 19 "window_manager_delegate.h",
22 "window_observer.h", 20 "window_observer.h",
23 "window_property.h", 21 "window_property.h",
24 "window_tracker.h", 22 "window_tracker.h",
25 "window_tree_client.h", 23 "window_tree_client.h",
26 "window_tree_client_delegate.h", 24 "window_tree_client_delegate.h",
27 "window_tree_client_observer.h", 25 "window_tree_client_observer.h",
28 "window_tree_host_factory.h", 26 "window_tree_host_factory.h",
29 ] 27 ]
30 28
31 public_deps = [ 29 public_deps = [
32 "//base", 30 "//base",
33 "//cc", 31 "//cc",
34 "//cc/surfaces", 32 "//cc/surfaces",
35 "//cc/surfaces:surface_id", 33 "//cc/surfaces:surface_id",
36 "//gpu/command_buffer/client", 34 "//gpu/command_buffer/client",
37 "//gpu/command_buffer/client:gles2_implementation", 35 "//gpu/command_buffer/client:gles2_implementation",
38 "//gpu/command_buffer/common", 36 "//gpu/command_buffer/common",
39 "//mojo/public/cpp/bindings", 37 "//mojo/public/cpp/bindings",
40 "//mojo/public/cpp/system", 38 "//mojo/public/cpp/system",
41 "//services/service_manager/public/interfaces", 39 "//services/service_manager/public/interfaces",
42 "//services/ui/common:mus_common", 40 "//services/ui/common:mus_common",
41 "//services/ui/public/cpp/gpu",
43 "//services/ui/public/interfaces", 42 "//services/ui/public/interfaces",
44 ] 43 ]
45 44
46 deps = [ 45 deps = [
47 ":internal", 46 ":internal",
48 ":internal_or_test", 47 ":internal_or_test",
49 "//gpu/command_buffer/client:gles2_cmd_helper", 48 "//gpu/command_buffer/client:gles2_cmd_helper",
50 "//gpu/command_buffer/client:gles2_interface", 49 "//gpu/command_buffer/client:gles2_interface",
51 "//gpu/ipc/client",
52 "//services/service_manager/public/cpp", 50 "//services/service_manager/public/cpp",
53 "//services/ui/public/interfaces", 51 "//services/ui/public/interfaces",
54 "//ui/display", 52 "//ui/display",
55 "//ui/events", 53 "//ui/events",
56 "//ui/gfx/geometry", 54 "//ui/gfx/geometry",
57 ] 55 ]
58 56
59 data_deps = [ 57 data_deps = [
60 "//services/ui", 58 "//services/ui",
61 ] 59 ]
(...skipping 29 matching lines...) Expand all
91 # the 'cpp' target. 89 # the 'cpp' target.
92 visibility = [ 90 visibility = [
93 ":cpp", 91 ":cpp",
94 "//services/ui/demo:lib", 92 "//services/ui/demo:lib",
95 ] 93 ]
96 94
97 sources = [ 95 sources = [
98 "context_provider.cc", 96 "context_provider.cc",
99 "gles2_context.cc", 97 "gles2_context.cc",
100 "gles2_context.h", 98 "gles2_context.h",
101 "gpu_service.cc",
102 "in_flight_change.cc", 99 "in_flight_change.cc",
103 "in_flight_change.h", 100 "in_flight_change.h",
104 "mojo_buffer_backing.cc",
105 "mojo_buffer_backing.h",
106 "mojo_gpu_memory_buffer_manager.cc",
107 "property_type_converters.cc", 101 "property_type_converters.cc",
108 "raster_thread_helper.cc", 102 "raster_thread_helper.cc",
109 "scoped_window_ptr.cc", 103 "scoped_window_ptr.cc",
110 "window.cc", 104 "window.cc",
111 "window_compositor_frame_sink.cc", 105 "window_compositor_frame_sink.cc",
112 "window_manager_delegate.cc", 106 "window_manager_delegate.cc",
113 "window_observer.cc", 107 "window_observer.cc",
114 "window_private.cc", 108 "window_private.cc",
115 "window_tree_client.cc", 109 "window_tree_client.cc",
116 "window_tree_client_delegate.cc", 110 "window_tree_client_delegate.cc",
(...skipping 10 matching lines...) Expand all
127 "//gpu/command_buffer/client:gles2_cmd_helper", 121 "//gpu/command_buffer/client:gles2_cmd_helper",
128 "//gpu/command_buffer/client:gles2_implementation", 122 "//gpu/command_buffer/client:gles2_implementation",
129 "//gpu/command_buffer/client:gles2_interface", 123 "//gpu/command_buffer/client:gles2_interface",
130 "//gpu/command_buffer/common", 124 "//gpu/command_buffer/common",
131 "//gpu/ipc/client", 125 "//gpu/ipc/client",
132 "//mojo/public/cpp/bindings", 126 "//mojo/public/cpp/bindings",
133 "//mojo/public/cpp/system", 127 "//mojo/public/cpp/system",
134 "//services/service_manager/public/cpp", 128 "//services/service_manager/public/cpp",
135 "//services/service_manager/public/interfaces", 129 "//services/service_manager/public/interfaces",
136 "//services/ui/common:mus_common", 130 "//services/ui/common:mus_common",
131 "//services/ui/public/cpp/gpu",
137 "//services/ui/public/interfaces", 132 "//services/ui/public/interfaces",
138 "//ui/display", 133 "//ui/display",
139 "//ui/events", 134 "//ui/events",
140 "//ui/gfx/geometry", 135 "//ui/gfx/geometry",
141 ] 136 ]
142 137
143 data_deps = [ 138 data_deps = [
144 "//services/ui", 139 "//services/ui",
145 ] 140 ]
146 141
147 defines = [ "GL_GLEXT_PROTOTYPES" ] 142 defines = [ "GL_GLEXT_PROTOTYPES" ]
148 143
149 if (use_ozone) { 144 if (use_ozone) {
150 deps += [ "//ui/ozone" ] 145 deps += [ "//ui/ozone" ]
151 } 146 }
152 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698