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", |
+ ] |
+ } |
+} |