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

Unified Diff: services/native_viewport/BUILD.gn

Issue 1280613003: Allow native_viewport to create new native windows on demand on Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java » ('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 208cd0aefd9687d4200d528fe0a7bf6fff03a874..4af79efb4534307fd4676de2f44afae0cd27f9b6 100644
--- a/services/native_viewport/BUILD.gn
+++ b/services/native_viewport/BUILD.gn
@@ -8,6 +8,7 @@ import("//mojo/public/mojo_application.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
+ import("//mojo/public/tools/bindings/mojom.gni")
group("native_viewport") {
deps = [
@@ -37,6 +38,12 @@ if (is_android) {
jni_package = "mojo"
}
+
+ mojom("interfaces") {
+ sources = [
+ "native_viewport_internal.mojom",
+ ]
+ }
} else {
mojo_native_application("native_viewport") {
output_name = "native_viewport_service"
@@ -100,7 +107,10 @@ source_set("lib") {
]
if (is_android) {
- deps += [ ":jni_headers" ]
+ deps += [
+ ":interfaces",
+ ":jni_headers",
+ ]
}
if (use_x11) {
« no previous file with comments | « no previous file | services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698