1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//build/config/android/rules.gni") 6 7 android_library("system_java") { 8 java_files = [ 9 "system/src/org/chromium/mojo/system/Core.java", 10 "system/src/org/chromium/mojo/system/DataPipe.java", 11 "system/src/org/chromium/mojo/system/Flags.java", 12 "system/src/org/chromium/mojo/system/Handle.java", 13 "system/src/org/chromium/mojo/system/InvalidHandle.java", 14 "system/src/org/chromium/mojo/system/MessagePipeHandle.java", 15 "system/src/org/chromium/mojo/system/MojoException.java", 16 "system/src/org/chromium/mojo/system/MojoResult.java", 17 "system/src/org/chromium/mojo/system/Pair.java", 18 "system/src/org/chromium/mojo/system/ResultAnd.java", 19 "system/src/org/chromium/mojo/system/SharedBufferHandle.java", 20 "system/src/org/chromium/mojo/system/UntypedHandle.java", 21 "system/src/org/chromium/mojo/system/RunLoop.java", 22 "system/src/org/chromium/mojo/system/Watcher.java", 23 ] 24 25 deps = [ 26 "//base:base_java", 27 ] 28 } 29 30 android_library("bindings_java") { 31 java_files = [ 32 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceNotSupported.java", 33 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceRequestNotSupported.java", 34 "bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java", 35 "bindings/src/org/chromium/mojo/bindings/BindingsHelper.java", 36 "bindings/src/org/chromium/mojo/bindings/Callbacks.java", 37 "bindings/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java", 38 "bindings/src/org/chromium/mojo/bindings/Connector.java", 39 "bindings/src/org/chromium/mojo/bindings/DataHeader.java", 40 "bindings/src/org/chromium/mojo/bindings/Decoder.java", 41 "bindings/src/org/chromium/mojo/bindings/DelegatingConnectionErrorHandler.java", 42 "bindings/src/org/chromium/mojo/bindings/DeserializationException.java", 43 "bindings/src/org/chromium/mojo/bindings/Encoder.java", 44 "bindings/src/org/chromium/mojo/bindings/ExceptionHandler.java", 45 "bindings/src/org/chromium/mojo/bindings/ExecutorFactory.java", 46 "bindings/src/org/chromium/mojo/bindings/HandleOwner.java", 47 "bindings/src/org/chromium/mojo/bindings/InterfaceControlMessagesHelper.java", 48 "bindings/src/org/chromium/mojo/bindings/Interface.java", 49 "bindings/src/org/chromium/mojo/bindings/InterfaceRequest.java", 50 "bindings/src/org/chromium/mojo/bindings/MessageHeader.java", 51 "bindings/src/org/chromium/mojo/bindings/Message.java", 52 "bindings/src/org/chromium/mojo/bindings/MessageReceiver.java", 53 "bindings/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java", 54 "bindings/src/org/chromium/mojo/bindings/RouterImpl.java", 55 "bindings/src/org/chromium/mojo/bindings/Router.java", 56 "bindings/src/org/chromium/mojo/bindings/SerializationException.java", 57 "bindings/src/org/chromium/mojo/bindings/ServiceMessage.java", 58 "bindings/src/org/chromium/mojo/bindings/SideEffectFreeCloseable.java", 59 "bindings/src/org/chromium/mojo/bindings/Struct.java", 60 "bindings/src/org/chromium/mojo/bindings/Union.java", 61 ] 62 63 deps = [ 64 ":system_java", 65 "//base:base_java", 66 ] 67 68 srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ] 69 } 70 71 android_library("base_java") { 72 java_files = [ "base/src/org/chromium/mojo_base/BigBufferUtil.java" ] 73 74 deps = [ 75 ":system_java", 76 "//mojo/public/java/system:system_impl_java", 77 "//mojo/public/mojom/base:base_java", 78 ] 79 } 80