OLD | NEW |
| (Empty) |
1 # Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni") | |
6 | |
7 group("intents") { | |
8 testonly = true | |
9 | |
10 deps = [ | |
11 ":interfaces", | |
12 ] | |
13 | |
14 if (is_android) { | |
15 deps += [ ":intents_lib" ] | |
16 } | |
17 } | |
18 | |
19 if (is_android) { | |
20 import("//build/config/android/config.gni") | |
21 import("//build/config/android/rules.gni") | |
22 | |
23 android_library("intents_lib") { | |
24 java_files = [ "src/org/domokit/intents/ActivityManagerImpl.java" ] | |
25 | |
26 deps = [ | |
27 "//base:base_java", | |
28 "//mojo/public/java:bindings", | |
29 "//mojo/public/java:system", | |
30 ":interfaces_java", | |
31 ] | |
32 } | |
33 } | |
34 | |
35 mojom("interfaces") { | |
36 sources = [ | |
37 "intents.mojom", | |
38 ] | |
39 } | |
OLD | NEW |