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

Unified Diff: mojo/services/native_viewport/BUILD.gn

Issue 674013002: Add gn support for generating mojo_shell_apk (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Alphabetize deps Created 6 years, 2 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 | mojo/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/BUILD.gn
diff --git a/mojo/services/native_viewport/BUILD.gn b/mojo/services/native_viewport/BUILD.gn
index ed428c459535aa829aea0d1ffcf98b1d02dd417c..43b685f5a709a714c14e3d6b9bd24417a0727183 100644
--- a/mojo/services/native_viewport/BUILD.gn
+++ b/mojo/services/native_viewport/BUILD.gn
@@ -4,7 +4,19 @@
import("//build/config/ui.gni")
-if (!is_android) {
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
+
+ android_library("native_viewport_java") {
+ deps = [
+ "//base:base_java",
+ ]
+ java_files = [
+ "android/src/org/chromium/mojo/PlatformViewportAndroid.java",
+ ]
+ }
+} else {
shared_library("native_viewport") {
output_name = "native_viewport_service"
« no previous file with comments | « no previous file | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698