naiveproxy/mojo/public/java/BUILD.gn
2018-08-14 22:19:20 +00:00

80 lines
3.5 KiB
Plaintext

# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
android_library("system_java") {
java_files = [
"system/src/org/chromium/mojo/system/Core.java",
"system/src/org/chromium/mojo/system/DataPipe.java",
"system/src/org/chromium/mojo/system/Flags.java",
"system/src/org/chromium/mojo/system/Handle.java",
"system/src/org/chromium/mojo/system/InvalidHandle.java",
"system/src/org/chromium/mojo/system/MessagePipeHandle.java",
"system/src/org/chromium/mojo/system/MojoException.java",
"system/src/org/chromium/mojo/system/MojoResult.java",
"system/src/org/chromium/mojo/system/Pair.java",
"system/src/org/chromium/mojo/system/ResultAnd.java",
"system/src/org/chromium/mojo/system/SharedBufferHandle.java",
"system/src/org/chromium/mojo/system/UntypedHandle.java",
"system/src/org/chromium/mojo/system/RunLoop.java",
"system/src/org/chromium/mojo/system/Watcher.java",
]
deps = [
"//base:base_java",
]
}
android_library("bindings_java") {
java_files = [
"bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceNotSupported.java",
"bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceRequestNotSupported.java",
"bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java",
"bindings/src/org/chromium/mojo/bindings/BindingsHelper.java",
"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",
"bindings/src/org/chromium/mojo/bindings/Encoder.java",
"bindings/src/org/chromium/mojo/bindings/ExceptionHandler.java",
"bindings/src/org/chromium/mojo/bindings/ExecutorFactory.java",
"bindings/src/org/chromium/mojo/bindings/HandleOwner.java",
"bindings/src/org/chromium/mojo/bindings/InterfaceControlMessagesHelper.java",
"bindings/src/org/chromium/mojo/bindings/Interface.java",
"bindings/src/org/chromium/mojo/bindings/InterfaceRequest.java",
"bindings/src/org/chromium/mojo/bindings/MessageHeader.java",
"bindings/src/org/chromium/mojo/bindings/Message.java",
"bindings/src/org/chromium/mojo/bindings/MessageReceiver.java",
"bindings/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java",
"bindings/src/org/chromium/mojo/bindings/RouterImpl.java",
"bindings/src/org/chromium/mojo/bindings/Router.java",
"bindings/src/org/chromium/mojo/bindings/SerializationException.java",
"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 = [
":system_java",
"//base:base_java",
]
srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ]
}
android_library("base_java") {
java_files = [ "base/src/org/chromium/mojo_base/BigBufferUtil.java" ]
deps = [
":system_java",
"//mojo/public/java/system:system_impl_java",
"//mojo/public/mojom/base:base_java",
]
}