Chromium Code Reviews| 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 "context_provider.h", | |
| 12 "input_event_handler.h", | 11 "input_event_handler.h", |
| 13 "property_type_converters.h", | 12 "property_type_converters.h", |
| 14 "raster_thread_helper.h", | 13 "raster_thread_helper.h", |
| 15 "scoped_window_ptr.h", | 14 "scoped_window_ptr.h", |
| 16 "surface_id_handler.h", | 15 "surface_id_handler.h", |
| 17 "window.h", | 16 "window.h", |
| 18 "window_compositor_frame_sink.h", | 17 "window_compositor_frame_sink.h", |
| 19 "window_manager_delegate.h", | 18 "window_manager_delegate.h", |
| 20 "window_observer.h", | 19 "window_observer.h", |
| 21 "window_property.h", | 20 "window_property.h", |
| 22 "window_tracker.h", | 21 "window_tracker.h", |
| 23 "window_tree_client.h", | 22 "window_tree_client.h", |
| 24 "window_tree_client_delegate.h", | 23 "window_tree_client_delegate.h", |
| 25 "window_tree_client_observer.h", | 24 "window_tree_client_observer.h", |
| 26 "window_tree_host_factory.h", | 25 "window_tree_host_factory.h", |
| 27 ] | 26 ] |
| 28 | 27 |
| 29 public_deps = [ | 28 public_deps = [ |
| 30 "//base", | 29 "//base", |
| 31 "//cc", | 30 "//cc", |
| 32 "//cc/surfaces", | 31 "//cc/surfaces", |
| 33 "//cc/surfaces:surface_id", | 32 "//cc/surfaces:surface_id", |
| 34 "//gpu/command_buffer/client", | |
| 35 "//gpu/command_buffer/client:gles2_implementation", | |
| 36 "//gpu/command_buffer/common", | |
| 37 "//mojo/public/cpp/bindings", | 33 "//mojo/public/cpp/bindings", |
| 38 "//mojo/public/cpp/system", | 34 "//mojo/public/cpp/system", |
|
msw
2016/12/19 21:33:33
nit: no longer needed here?
sadrul
2016/12/20 03:53:20
Done.
| |
| 39 "//services/service_manager/public/interfaces", | 35 "//services/service_manager/public/interfaces", |
| 40 "//services/ui/common:mus_common", | 36 "//services/ui/common:mus_common", |
| 41 "//services/ui/public/cpp/gpu", | 37 "//services/ui/public/cpp/gpu", |
| 42 "//services/ui/public/interfaces", | 38 "//services/ui/public/interfaces", |
| 43 ] | 39 ] |
| 44 | 40 |
| 45 deps = [ | 41 deps = [ |
| 46 ":internal", | 42 ":internal", |
| 47 ":internal_or_test", | 43 ":internal_or_test", |
| 48 "//gpu/command_buffer/client:gles2_cmd_helper", | 44 "//gpu/command_buffer/client:gles2_cmd_helper", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 | 82 |
| 87 source_set("internal") { | 83 source_set("internal") { |
| 88 # This target is an implementation detail and is intended only to be used by | 84 # This target is an implementation detail and is intended only to be used by |
| 89 # the 'cpp' target. | 85 # the 'cpp' target. |
| 90 visibility = [ | 86 visibility = [ |
| 91 ":cpp", | 87 ":cpp", |
| 92 "//services/ui/demo:lib", | 88 "//services/ui/demo:lib", |
| 93 ] | 89 ] |
| 94 | 90 |
| 95 sources = [ | 91 sources = [ |
| 96 "context_provider.cc", | |
| 97 "gles2_context.cc", | |
| 98 "gles2_context.h", | |
| 99 "in_flight_change.cc", | 92 "in_flight_change.cc", |
| 100 "in_flight_change.h", | 93 "in_flight_change.h", |
| 101 "property_type_converters.cc", | 94 "property_type_converters.cc", |
| 102 "raster_thread_helper.cc", | 95 "raster_thread_helper.cc", |
| 103 "scoped_window_ptr.cc", | 96 "scoped_window_ptr.cc", |
| 104 "window.cc", | 97 "window.cc", |
| 105 "window_compositor_frame_sink.cc", | 98 "window_compositor_frame_sink.cc", |
| 106 "window_manager_delegate.cc", | 99 "window_manager_delegate.cc", |
| 107 "window_observer.cc", | 100 "window_observer.cc", |
| 108 "window_private.cc", | 101 "window_private.cc", |
| 109 "window_tree_client.cc", | 102 "window_tree_client.cc", |
| 110 "window_tree_client_delegate.cc", | 103 "window_tree_client_delegate.cc", |
| 111 "window_tree_host_factory.cc", | 104 "window_tree_host_factory.cc", |
| 112 ] | 105 ] |
| 113 | 106 |
| 114 deps = [ | 107 deps = [ |
| 115 ":internal_or_test", | 108 ":internal_or_test", |
| 116 "//base", | 109 "//base", |
| 117 "//cc", | 110 "//cc", |
| 118 "//cc/surfaces", | 111 "//cc/surfaces", |
| 119 "//cc/surfaces:surface_id", | 112 "//cc/surfaces:surface_id", |
| 120 "//gpu/command_buffer/client", | |
| 121 "//gpu/command_buffer/client:gles2_cmd_helper", | |
| 122 "//gpu/command_buffer/client:gles2_implementation", | |
| 123 "//gpu/command_buffer/client:gles2_interface", | |
| 124 "//gpu/command_buffer/common", | |
| 125 "//gpu/ipc/client", | |
| 126 "//mojo/public/cpp/bindings", | 113 "//mojo/public/cpp/bindings", |
| 127 "//mojo/public/cpp/system", | 114 "//mojo/public/cpp/system", |
|
msw
2016/12/19 21:33:33
ditto nit
sadrul
2016/12/20 03:53:20
Done.
| |
| 128 "//services/service_manager/public/cpp", | 115 "//services/service_manager/public/cpp", |
| 129 "//services/service_manager/public/interfaces", | 116 "//services/service_manager/public/interfaces", |
| 130 "//services/ui/common:mus_common", | 117 "//services/ui/common:mus_common", |
| 131 "//services/ui/public/cpp/gpu", | 118 "//services/ui/public/cpp/gpu", |
| 132 "//services/ui/public/interfaces", | 119 "//services/ui/public/interfaces", |
| 133 "//skia/public/interfaces", | 120 "//skia/public/interfaces", |
| 134 "//ui/display", | 121 "//ui/display", |
| 135 "//ui/events", | 122 "//ui/events", |
| 136 "//ui/gfx/geometry", | 123 "//ui/gfx/geometry", |
| 137 ] | 124 ] |
| 138 | 125 |
| 139 data_deps = [ | 126 data_deps = [ |
| 140 "//services/ui", | 127 "//services/ui", |
| 141 ] | 128 ] |
| 142 | 129 |
| 143 defines = [ "GL_GLEXT_PROTOTYPES" ] | 130 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 144 | 131 |
| 145 if (use_ozone) { | 132 if (use_ozone) { |
| 146 deps += [ "//ui/ozone" ] | 133 deps += [ "//ui/ozone" ] |
| 147 } | 134 } |
| 148 } | 135 } |
| OLD | NEW |