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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 | 7 |
8 android_aidl("common_aidl") { | 8 android_aidl("common_aidl") { |
9 interface_file = "java/src/org/chromium/content/common/common.aidl" | 9 interface_file = "java/src/org/chromium/content/common/common.aidl" |
10 import_include = "java/src" | 10 import_include = "java/src" |
11 sources = [ | 11 sources = [ |
12 "java/src/org/chromium/content/common/IChildProcessCallback.aidl", | 12 "java/src/org/chromium/content/common/IChildProcessCallback.aidl", |
13 "java/src/org/chromium/content/common/IChildProcessService.aidl", | 13 "java/src/org/chromium/content/common/IChildProcessService.aidl", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 android_resources("content_java_resources") { | 17 android_resources("content_java_resources") { |
18 deps = [ | 18 deps = [ |
19 ":content_strings_grd", | 19 ":content_strings_grd", |
20 "//ui/android:ui_java_resources", | 20 "//ui/android:ui_java_resources", |
21 ] | 21 ] |
22 custom_package = "org.chromium.content" | 22 custom_package = "org.chromium.content" |
23 resource_dirs = [ "java/res" ] | 23 resource_dirs = [ "java/res" ] |
24 } | 24 } |
25 | 25 |
26 android_library("content_java") { | 26 android_library("content_java") { |
27 deps = [ | 27 deps = [ |
28 ":content_java_resources", | 28 ":content_java_resources", |
29 "//base:base_java", | 29 "//base:base_java", |
30 "//media:media_java", | 30 "//media/base/android:media_java", |
31 "//net/android:net_java", | 31 "//net/android:net_java", |
32 "//ui/android:ui_java", | 32 "//ui/android:ui_java", |
33 "//third_party/guava:guava_javalib", | 33 "//third_party/guava:guava_javalib", |
34 "//third_party/jsr-305:jsr_305_javalib", | 34 "//third_party/jsr-305:jsr_305_javalib", |
35 | 35 |
36 #"//content:content_common", | 36 #"//content:content_common", |
37 ] | 37 ] |
38 | 38 |
39 srcjar_deps = [ | 39 srcjar_deps = [ |
40 ":common_aidl", | 40 ":common_aidl", |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 } | 201 } |
202 | 202 |
203 generate_jar_jni("content_jni_headers") { | 203 generate_jar_jni("content_jni_headers") { |
204 jni_package = "content" | 204 jni_package = "content" |
205 classes = [ | 205 classes = [ |
206 "android/view/MotionEvent.class", | 206 "android/view/MotionEvent.class", |
207 "java/util/HashSet.class", | 207 "java/util/HashSet.class", |
208 ] | 208 ] |
209 } | 209 } |
210 | 210 |
| 211 android_library("content_javatests") { |
| 212 deps = [ |
| 213 "//base:base_java", |
| 214 "//base:base_java_test_support", |
| 215 "//content/public/test/android:content_java_test_support", |
| 216 "//content/shell/android:content_shell_java", |
| 217 "//content/shell/android:content_shell_apk_java", |
| 218 "//content/shell/android:content_shell_test_java", |
| 219 "//media/base/android:media_java", |
| 220 "//net/android:net_java", |
| 221 "//net/android:net_java_test_support", |
| 222 "//ui/android:ui_java", |
| 223 ":content_java", |
| 224 ] |
| 225 |
| 226 DEPRECATED_java_in_dir = "javatests/src" |
| 227 } |
| 228 |
| 229 |
211 # TODO(GYP): content_icudata | 230 # TODO(GYP): content_icudata |
OLD | NEW |