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

Unified Diff: third_party/mojo/src/mojo/public/java/BUILD.gn

Issue 1157843002: Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/mojo/src/mojo/public/java/BUILD.gn
diff --git a/third_party/mojo/src/mojo/public/java/BUILD.gn b/third_party/mojo/src/mojo/public/java/BUILD.gn
index 2bb5ff1d2b1dc796d6b45d6848a4dc077e61b9af..6c9c3080ebdf50d661bc0369065ea19956545fe3 100644
--- a/third_party/mojo/src/mojo/public/java/BUILD.gn
+++ b/third_party/mojo/src/mojo/public/java/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/android/rules.gni")
+import("../mojo.gni")
android_library("system") {
java_files = [
@@ -30,6 +31,7 @@ android_library("bindings") {
"bindings/src/org/chromium/mojo/bindings/Callbacks.java",
"bindings/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java",
"bindings/src/org/chromium/mojo/bindings/Connector.java",
+ "bindings/src/org/chromium/mojo/bindings/DataHeader.java",
"bindings/src/org/chromium/mojo/bindings/Decoder.java",
"bindings/src/org/chromium/mojo/bindings/DelegatingConnectionErrorHandler.java",
"bindings/src/org/chromium/mojo/bindings/DeserializationException.java",
@@ -49,6 +51,7 @@ android_library("bindings") {
"bindings/src/org/chromium/mojo/bindings/ServiceMessage.java",
"bindings/src/org/chromium/mojo/bindings/SideEffectFreeCloseable.java",
"bindings/src/org/chromium/mojo/bindings/Struct.java",
+ "bindings/src/org/chromium/mojo/bindings/Union.java",
]
deps = [
@@ -57,3 +60,21 @@ android_library("bindings") {
srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ]
}
+
+if (mojo_use_application_in_sdk) {
+ android_library("application") {
+ java_files = [
+ "application/src/org/chromium/mojo/application/ApplicationConnection.java",
+ "application/src/org/chromium/mojo/application/ApplicationDelegate.java",
+ "application/src/org/chromium/mojo/application/ApplicationImpl.java",
+ "application/src/org/chromium/mojo/application/ApplicationRunner.java",
+ "application/src/org/chromium/mojo/application/ServiceFactoryBinder.java",
+ "application/src/org/chromium/mojo/application/ShellHelper.java",
+ ]
+ deps = [
+ ":bindings",
+ ":system",
+ "../interfaces/application:application_java",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698