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 assert(is_android) | 5 assert(is_android) |
6 | 6 |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 import("//sky/apk/rules.gni") | 9 import("//sky/apk/rules.gni") |
10 | 10 |
11 android_library("java") { | 11 android_library("java") { |
12 java_files = [ | 12 java_files = [ |
13 "org/domokit/sky/demo/SkyDemoActivity.java", | 13 "org/domokit/sky/demo/SkyDemoActivity.java", |
14 "org/domokit/sky/demo/SkyDemoApplication.java", | 14 "org/domokit/sky/demo/SkyDemoApplication.java", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base:base_java", | 18 "//base:base_java", |
19 "//mojo/public/java:bindings", | 19 "//mojo/public/java:bindings", |
20 "//mojo/public/java:system", | 20 "//mojo/public/java:system", |
| 21 "//sky/services/keyboard", |
| 22 "//sky/services/keyboard:interfaces_java", |
21 "//sky/services/sensors", | 23 "//sky/services/sensors", |
22 "//sky/services/sensors:interfaces_java", | 24 "//sky/services/sensors:interfaces_java", |
23 "//sky/shell:java", | 25 "//sky/shell:java", |
24 ] | 26 ] |
25 } | 27 } |
26 | 28 |
27 sky_apk("demo") { | 29 sky_apk("demo") { |
28 apk_name = "SkyDemo" | 30 apk_name = "SkyDemo" |
29 android_manifest = "AndroidManifest.xml" | 31 android_manifest = "AndroidManifest.xml" |
30 deps = [ | 32 deps = [ |
31 ":java", | 33 ":java", |
32 ] | 34 ] |
33 } | 35 } |
OLD | NEW |