| Index: ui/views/mus/BUILD.gn
|
| diff --git a/ui/views/mus/BUILD.gn b/ui/views/mus/BUILD.gn
|
| index de94bab4552cc5c7d9a135e9b3fdba6f474efa8c..dd80c4aa5de23b60cb4eb76d5aa857b4bc9bf18e 100644
|
| --- a/ui/views/mus/BUILD.gn
|
| +++ b/ui/views/mus/BUILD.gn
|
| @@ -5,6 +5,8 @@
|
| import("//tools/grit/repack.gni")
|
|
|
| component("mus") {
|
| + output_name = "ui_views_mus_lib"
|
| +
|
| sources = [
|
| "aura_init.cc",
|
| "aura_init.h",
|
| @@ -53,6 +55,8 @@ component("mus") {
|
| "//mojo/converters/input_events",
|
| "//mojo/converters/network",
|
| "//mojo/converters/surfaces",
|
| + "//mojo/platform_handle:for_component",
|
| + "//mojo/public/c/system:for_component",
|
| "//mojo/public/cpp/bindings",
|
| "//third_party/icu",
|
| "//ui/aura",
|
| @@ -69,14 +73,6 @@ component("mus") {
|
| "//ui/wm",
|
| ]
|
|
|
| - if (is_component_build) {
|
| - deps += [
|
| - "//mojo/gles2",
|
| - "//mojo/platform_handle:platform_handle_impl",
|
| - "//third_party/mojo/src/mojo/edk/system",
|
| - ]
|
| - }
|
| -
|
| data_deps = [
|
| "//components/resource_provider",
|
| ]
|
| @@ -101,3 +97,29 @@ repack("resources") {
|
| "//ui/views/resources",
|
| ]
|
| }
|
| +
|
| +group("for_mojo_application") {
|
| + public_deps = [
|
| + ":mus",
|
| + ]
|
| +}
|
| +
|
| +group("for_shared_library") {
|
| + public_deps = [
|
| + ":mus",
|
| + ]
|
| + if (!is_component_build) {
|
| + deps = [
|
| + "//mojo/gles2",
|
| + ]
|
| + }
|
| +}
|
| +
|
| +group("for_component") {
|
| + public_deps = [
|
| + ":mus",
|
| + ]
|
| + deps = [
|
| + "//mojo/gles2",
|
| + ]
|
| +}
|
|
|