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

Unified Diff: ui/views/mus/BUILD.gn

Issue 1442893002: Move Shell connection to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i2
Patch Set: . Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/application_manager_apptest_driver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « mojo/shell/application_manager_apptest_driver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698