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

Unified Diff: services/native_viewport/BUILD.gn

Issue 2011383002: Get rid of {Run,Terminate}MainApplication(), and more ApplicationDelegate conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 7 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 | « services/native_support/main.cc ('k') | services/native_viewport/app_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_viewport/BUILD.gn
diff --git a/services/native_viewport/BUILD.gn b/services/native_viewport/BUILD.gn
index 360b65070810ffcee82d5590abd2c11e83ac4f4e..d0fe7f5b6f13baa6299f4c52e19038bfccc7f091 100644
--- a/services/native_viewport/BUILD.gn
+++ b/services/native_viewport/BUILD.gn
@@ -12,9 +12,9 @@ if (is_android) {
group("native_viewport") {
deps = [
+ ":jni_headers",
":lib",
":native_viewport_java",
- ":jni_headers",
]
}
@@ -24,10 +24,10 @@ if (is_android) {
deps = [
"//base:base_java",
- "//services/keyboard",
- "//mojo/services/keyboard/interfaces:interfaces_java",
"//mojo/public/java:bindings",
"//mojo/public/java:system",
+ "//mojo/services/keyboard/interfaces:interfaces_java",
+ "//services/keyboard",
]
}
@@ -48,7 +48,6 @@ if (is_android) {
mojo_native_application("native_viewport") {
output_name = "native_viewport_service"
sources = [
- "app_delegate.cc",
"main.cc",
]
deps = [
@@ -58,8 +57,8 @@ if (is_android) {
"//mojo/application",
"//mojo/common:tracing_impl",
"//mojo/public/cpp/bindings:bindings",
- "//mojo/services/native_viewport/interfaces",
"//mojo/services/native_viewport/cpp:args",
+ "//mojo/services/native_viewport/interfaces",
"//services/gles2",
"//ui/events",
"//ui/events/platform",
@@ -67,13 +66,21 @@ if (is_android) {
]
if (use_ozone) {
- sources += [ "ozone/app_delegate_ozone.cc" ]
+ sources += [
+ "ozone/native_viewport_app_ozone.cc",
+ "ozone/native_viewport_app_ozone.h",
+ ]
deps += [
"//mojo/services/ozone_drm_gpu/interfaces",
"//mojo/services/ozone_drm_host/interfaces",
"//ui/events/ozone:events_ozone_evdev",
"//ui/ozone",
]
+ } else {
+ sources += [
+ "native_viewport_app.cc",
+ "native_viewport_app.h",
+ ]
}
}
}
@@ -106,16 +113,16 @@ source_set("lib") {
"//mojo/converters/input_events",
"//mojo/converters/native_viewport",
"//mojo/environment:chromium",
- "//services/gles2",
"//mojo/services/geometry/interfaces",
"//mojo/services/native_viewport/interfaces",
+ "//services/gles2",
+ "//ui/display/types",
"//ui/events",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gl",
"//ui/platform_window",
- "//ui/display/types",
]
if (is_android) {
« no previous file with comments | « services/native_support/main.cc ('k') | services/native_viewport/app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698