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

Unified Diff: mojo/shell/BUILD.gn

Issue 574993002: Revert of Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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/services/window_manager/BUILD.gn ('k') | mojo/shell/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/BUILD.gn
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
index 320f4eba5478211ea1824633cd8f94b8701ba3ef..eb62ff2adf8d2bfd6bbe349212267957a123dc32 100644
--- a/mojo/shell/BUILD.gn
+++ b/mojo/shell/BUILD.gn
@@ -11,11 +11,15 @@
"//base",
"//mojo/common",
"//mojo/environment:chromium",
- "//ui/gfx",
+ "//mojo/application_manager",
+ "//mojo/system",
+ "//third_party/icu",
+ "//ui/gl",
+ "//url",
]
- if (is_component_build) {
- deps += ["//ui/gl"]
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
}
sources = [
@@ -36,9 +40,13 @@
"//mojo/common",
"//mojo/gles2",
"//mojo/public/interfaces/application",
+ "//mojo/services/native_viewport",
+ "//mojo/services/public/interfaces/native_viewport",
"//mojo/services/public/interfaces/network",
"//mojo/spy",
"//mojo/system",
+ "//net",
+ "//url",
]
sources = [
@@ -76,15 +84,28 @@
]
if (is_linux) {
- deps += ["//dbus"]
+ deps += [
+ "//dbus"
+ ]
} else if (is_android) {
deps += [
- "//mojo/services/native_viewport:lib",
"//mojo/services/network:lib",
]
sources += [
"network_application_loader.cc",
"network_application_loader.h",
+ ]
+ }
+ if (use_aura) {
+ deps += [
+ # These are only necessary as long as we hard code use of ViewManager.
+ "//skia",
+ "//mojo/services/view_manager",
+ "//mojo/services/public/interfaces/view_manager",
+ ]
+ sources += [
+ "view_manager_loader.cc",
+ "view_manager_loader.h",
]
}
}
@@ -149,7 +170,10 @@
deps = [
":lib",
+ "//base",
"//base:base_static",
+ "//mojo/application_manager",
"//mojo/system",
+ "//url",
]
}
« no previous file with comments | « mojo/services/window_manager/BUILD.gn ('k') | mojo/shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698