OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 android_library("system") { | 7 # TODO(agrieve): Remove once no longer used by downstream. |
| 8 java_group("bindings") { |
| 9 deps = [ |
| 10 ":bindings_java", |
| 11 ] |
| 12 } |
| 13 |
| 14 android_library("system_java") { |
8 java_files = [ | 15 java_files = [ |
9 "system/src/org/chromium/mojo/system/Core.java", | 16 "system/src/org/chromium/mojo/system/Core.java", |
10 "system/src/org/chromium/mojo/system/DataPipe.java", | 17 "system/src/org/chromium/mojo/system/DataPipe.java", |
11 "system/src/org/chromium/mojo/system/Flags.java", | 18 "system/src/org/chromium/mojo/system/Flags.java", |
12 "system/src/org/chromium/mojo/system/Handle.java", | 19 "system/src/org/chromium/mojo/system/Handle.java", |
13 "system/src/org/chromium/mojo/system/InvalidHandle.java", | 20 "system/src/org/chromium/mojo/system/InvalidHandle.java", |
14 "system/src/org/chromium/mojo/system/MessagePipeHandle.java", | 21 "system/src/org/chromium/mojo/system/MessagePipeHandle.java", |
15 "system/src/org/chromium/mojo/system/MojoException.java", | 22 "system/src/org/chromium/mojo/system/MojoException.java", |
16 "system/src/org/chromium/mojo/system/MojoResult.java", | 23 "system/src/org/chromium/mojo/system/MojoResult.java", |
17 "system/src/org/chromium/mojo/system/Pair.java", | 24 "system/src/org/chromium/mojo/system/Pair.java", |
18 "system/src/org/chromium/mojo/system/ResultAnd.java", | 25 "system/src/org/chromium/mojo/system/ResultAnd.java", |
19 "system/src/org/chromium/mojo/system/SharedBufferHandle.java", | 26 "system/src/org/chromium/mojo/system/SharedBufferHandle.java", |
20 "system/src/org/chromium/mojo/system/UntypedHandle.java", | 27 "system/src/org/chromium/mojo/system/UntypedHandle.java", |
21 "system/src/org/chromium/mojo/system/RunLoop.java", | 28 "system/src/org/chromium/mojo/system/RunLoop.java", |
22 "system/src/org/chromium/mojo/system/Watcher.java", | 29 "system/src/org/chromium/mojo/system/Watcher.java", |
23 ] | 30 ] |
24 } | 31 } |
25 | 32 |
26 android_library("bindings") { | 33 android_library("bindings_java") { |
27 java_files = [ | 34 java_files = [ |
28 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceNotSupported.jav
a", | 35 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceNotSupported.jav
a", |
29 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceRequestNotSuppor
ted.java", | 36 "bindings/src/org/chromium/mojo/bindings/AssociatedInterfaceRequestNotSuppor
ted.java", |
30 "bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java", | 37 "bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java", |
31 "bindings/src/org/chromium/mojo/bindings/BindingsHelper.java", | 38 "bindings/src/org/chromium/mojo/bindings/BindingsHelper.java", |
32 "bindings/src/org/chromium/mojo/bindings/Callbacks.java", | 39 "bindings/src/org/chromium/mojo/bindings/Callbacks.java", |
33 "bindings/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java", | 40 "bindings/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java", |
34 "bindings/src/org/chromium/mojo/bindings/Connector.java", | 41 "bindings/src/org/chromium/mojo/bindings/Connector.java", |
35 "bindings/src/org/chromium/mojo/bindings/DataHeader.java", | 42 "bindings/src/org/chromium/mojo/bindings/DataHeader.java", |
36 "bindings/src/org/chromium/mojo/bindings/Decoder.java", | 43 "bindings/src/org/chromium/mojo/bindings/Decoder.java", |
(...skipping 12 matching lines...) Expand all Loading... |
49 "bindings/src/org/chromium/mojo/bindings/RouterImpl.java", | 56 "bindings/src/org/chromium/mojo/bindings/RouterImpl.java", |
50 "bindings/src/org/chromium/mojo/bindings/Router.java", | 57 "bindings/src/org/chromium/mojo/bindings/Router.java", |
51 "bindings/src/org/chromium/mojo/bindings/SerializationException.java", | 58 "bindings/src/org/chromium/mojo/bindings/SerializationException.java", |
52 "bindings/src/org/chromium/mojo/bindings/ServiceMessage.java", | 59 "bindings/src/org/chromium/mojo/bindings/ServiceMessage.java", |
53 "bindings/src/org/chromium/mojo/bindings/SideEffectFreeCloseable.java", | 60 "bindings/src/org/chromium/mojo/bindings/SideEffectFreeCloseable.java", |
54 "bindings/src/org/chromium/mojo/bindings/Struct.java", | 61 "bindings/src/org/chromium/mojo/bindings/Struct.java", |
55 "bindings/src/org/chromium/mojo/bindings/Union.java", | 62 "bindings/src/org/chromium/mojo/bindings/Union.java", |
56 ] | 63 ] |
57 | 64 |
58 deps = [ | 65 deps = [ |
59 ":system", | 66 ":system_java", |
60 "//base:base_java", | 67 "//base:base_java", |
61 ] | 68 ] |
62 | 69 |
63 srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ] | 70 srcjar_deps = [ "../interfaces/bindings:bindings_java_sources" ] |
64 } | 71 } |
OLD | NEW |