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 5import("//build/config/android/rules.gni") 6 7android_library("system") { 8 java_files = [ 9 "system/src/org/chromium/mojo/system/AsyncWaiter.java", 10 "system/src/org/chromium/mojo/system/Core.java", 11 "system/src/org/chromium/mojo/system/DataPipe.java", 12 "system/src/org/chromium/mojo/system/Flags.java", 13 "system/src/org/chromium/mojo/system/Handle.java", 14 "system/src/org/chromium/mojo/system/InvalidHandle.java", 15 "system/src/org/chromium/mojo/system/MessagePipeHandle.java", 16 "system/src/org/chromium/mojo/system/MojoException.java", 17 "system/src/org/chromium/mojo/system/MojoResult.java", 18 "system/src/org/chromium/mojo/system/Pair.java", 19 "system/src/org/chromium/mojo/system/ResultAnd.java", 20 "system/src/org/chromium/mojo/system/SharedBufferHandle.java", 21 "system/src/org/chromium/mojo/system/UntypedHandle.java", 22 "system/src/org/chromium/mojo/system/RunLoop.java", 23 ] 24} 25 26android_library("bindings") { 27 java_files = [ 28 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceNotSupported.java", 29 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceRequestNotSupported.java", 30 "bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java", 31 "bindings/src/org/chromium/mojo/bindings/BindingsHelper.java", 32 "bindings/src/org/chromium/mojo/bindings/Callbacks.java", 33 "bindings/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java", 34 "bindings/src/org/chromium/mojo/bindings/Connector.java", 35 "bindings/src/org/chromium/mojo/bindings/DataHeader.java", 36 "bindings/src/org/chromium/mojo/bindings/Decoder.java", 37 "bindings/src/org/chromium/mojo/bindings/DelegatingConnectionErrorHandler.java", 38 "bindings/src/org/chromium/mojo/bindings/DeserializationException.java", 39 "bindings/src/org/chromium/mojo/bindings/Encoder.java", 40 "bindings/src/org/chromium/mojo/bindings/ExecutorFactory.java", 41 "bindings/src/org/chromium/mojo/bindings/HandleOwner.java", 42 "bindings/src/org/chromium/mojo/bindings/InterfaceControlMessagesHelper.java", 43 "bindings/src/org/chromium/mojo/bindings/Interface.java", 44 "bindings/src/org/chromium/mojo/bindings/InterfaceRequest.java", 45 "bindings/src/org/chromium/mojo/bindings/MessageHeader.java", 46 "bindings/src/org/chromium/mojo/bindings/Message.java", 47 "bindings/src/org/chromium/mojo/bindings/MessageReceiver.java", 48 "bindings/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java", 49 "bindings/src/org/chromium/mojo/bindings/RouterImpl.java", 50 "bindings/src/org/chromium/mojo/bindings/Router.java", 51 "bindings/src/org/chromium/mojo/bindings/SerializationException.java", 52 "bindings/src/org/chromium/mojo/bindings/ServiceMessage.java", 53 "bindings/src/org/chromium/mojo/bindings/SideEffectFreeCloseable.java", 54 "bindings/src/org/chromium/mojo/bindings/Struct.java", 55 "bindings/src/org/chromium/mojo/bindings/Union.java", 56 ] 57 58 deps = [ 59 ":system", 60 "//base:base_java", 61 ] 62 63 srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ] 64} 65