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