| Index: components/mus/public/cpp/BUILD.gn
|
| diff --git a/components/mus/public/cpp/BUILD.gn b/components/mus/public/cpp/BUILD.gn
|
| index f785a6feecb8066fe7b44c502f19ac381d15b3f9..ab77790b7bd76bc6962d30c405b12d85f1fc74f7 100644
|
| --- a/components/mus/public/cpp/BUILD.gn
|
| +++ b/components/mus/public/cpp/BUILD.gn
|
| @@ -2,15 +2,65 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -source_set("cpp") {
|
| +component("cpp") {
|
| + output_name = "mus_public_cpp"
|
| +
|
| + deps = [
|
| + ":sources",
|
| + ]
|
| +
|
| + public_deps = [
|
| + ":headers",
|
| + ]
|
| +}
|
| +
|
| +source_set("headers") {
|
| sources = [
|
| "context_provider.h",
|
| "gles2_context.h",
|
| + "gpu_service.h",
|
| "input_event_handler.h",
|
| + "mus_public_export",
|
| + "output_surface.h",
|
| + "property_type_converters.h",
|
| + "scoped_window_ptr.h",
|
| + "window.h",
|
| + "window_manager_delegate.h",
|
| + "window_observer.h",
|
| + "window_property.h",
|
| + "window_surface.h",
|
| + "window_surface_client.h",
|
| + "window_tracker.h",
|
| + "window_tree_connection.h",
|
| + "window_tree_connection_observer.h",
|
| + "window_tree_delegate.h",
|
| + "window_tree_host_factory.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//cc",
|
| + "//cc/surfaces:surface_id",
|
| + "//components/mus/common:mus_common",
|
| + "//gpu/command_buffer/client",
|
| + "//gpu/command_buffer/client:gles2_implementation",
|
| + "//gpu/ipc/client",
|
| + "//services/shell/public/interfaces",
|
| + ]
|
| +
|
| + public_deps = [
|
| + "../interfaces",
|
| + ]
|
| +}
|
| +
|
| +source_set("sources") {
|
| + sources = [
|
| "lib/command_buffer_client_impl.cc",
|
| "lib/command_buffer_client_impl.h",
|
| "lib/context_provider.cc",
|
| "lib/gles2_context.cc",
|
| + "lib/gpu_memory_buffer_manager_mus.cc",
|
| + "lib/gpu_memory_buffer_manager_mus.h",
|
| + "lib/gpu_service.cc",
|
| "lib/in_flight_change.cc",
|
| "lib/in_flight_change.h",
|
| "lib/output_surface.cc",
|
| @@ -25,23 +75,12 @@ source_set("cpp") {
|
| "lib/window_tree_client_impl.h",
|
| "lib/window_tree_delegate.cc",
|
| "lib/window_tree_host_factory.cc",
|
| - "output_surface.h",
|
| - "property_type_converters.h",
|
| - "scoped_window_ptr.h",
|
| - "window.h",
|
| - "window_manager_delegate.h",
|
| - "window_observer.h",
|
| - "window_property.h",
|
| - "window_surface.h",
|
| - "window_surface_client.h",
|
| - "window_tracker.h",
|
| - "window_tree_connection.h",
|
| - "window_tree_connection_observer.h",
|
| - "window_tree_delegate.h",
|
| - "window_tree_host_factory.h",
|
| ]
|
|
|
| + defines = [ "MUS_PUBLIC_IMPLEMENTATION" ]
|
| +
|
| public_deps = [
|
| + ":headers",
|
| "../interfaces",
|
| ]
|
|
|
| @@ -52,6 +91,7 @@ source_set("cpp") {
|
| "//cc/surfaces:surface_id",
|
| "//components/mus/common:mus_common",
|
| "//components/mus/gles2:lib",
|
| + "//components/mus/public/interfaces",
|
| "//gpu/command_buffer/client",
|
| "//gpu/command_buffer/client:gles2_cmd_helper",
|
| "//gpu/command_buffer/client:gles2_implementation",
|
| @@ -60,6 +100,7 @@ source_set("cpp") {
|
| "//mojo/converters/geometry",
|
| "//mojo/converters/input_events",
|
| "//mojo/converters/surfaces",
|
| + "//mojo/public/c/system:for_component",
|
| "//mojo/public/cpp/bindings:bindings",
|
| "//mojo/public/cpp/system",
|
| "//services/shell/public/cpp",
|
|
|