OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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_java_prebuilt("espresso_contrib_java") { | 7 android_java_prebuilt("espresso_contrib_java") { |
| 8 testonly = true |
8 jar_path = "lib/espresso-contrib-2.2-release-no-dep.jar" | 9 jar_path = "lib/espresso-contrib-2.2-release-no-dep.jar" |
9 deps = [ | 10 deps = [ |
10 ":espresso_core_java", | 11 ":espresso_core_java", |
11 "//third_party/guava:guava_java", | 12 "//third_party/guava:guava_java", |
12 "//third_party/hamcrest:hamcrest_core_java", | 13 "//third_party/hamcrest:hamcrest_core_java", |
13 ] | 14 ] |
14 } | 15 } |
15 | 16 |
16 android_java_prebuilt("espresso_core_java") { | 17 android_java_prebuilt("espresso_core_java") { |
| 18 testonly = true |
17 jar_path = "lib/espresso-core-2.2-release-no-dep.jar" | 19 jar_path = "lib/espresso-core-2.2-release-no-dep.jar" |
18 deps = [ | 20 deps = [ |
19 "//third_party/android_tools:android_support_annotations_java", | 21 "//third_party/android_tools:android_support_annotations_java", |
20 "//third_party/guava:guava_java", | 22 "//third_party/guava:guava_java", |
21 "//third_party/hamcrest:hamcrest_core_java", | 23 "//third_party/hamcrest:hamcrest_core_java", |
22 "//third_party/javax_inject:javax_inject_java", | 24 "//third_party/javax_inject:javax_inject_java", |
23 ] | 25 ] |
24 } | 26 } |
25 | 27 |
26 android_java_prebuilt("espresso_idling_java") { | 28 android_java_prebuilt("espresso_idling_java") { |
| 29 testonly = true |
27 jar_path = "lib/espresso-idling-resource-2.2-release-no-dep.jar" | 30 jar_path = "lib/espresso-idling-resource-2.2-release-no-dep.jar" |
28 } | 31 } |
29 | 32 |
30 android_java_prebuilt("espresso_intents_java") { | 33 android_java_prebuilt("espresso_intents_java") { |
| 34 testonly = true |
31 jar_path = "lib/espresso-intents-2.2-release-no-dep.jar" | 35 jar_path = "lib/espresso-intents-2.2-release-no-dep.jar" |
32 deps = [ | 36 deps = [ |
33 "//third_party/android_support_test_runner:runner_java", | 37 "//third_party/android_support_test_runner:runner_java", |
34 "//third_party/guava:guava_java", | 38 "//third_party/guava:guava_java", |
35 "//third_party/hamcrest:hamcrest_core_java", | 39 "//third_party/hamcrest:hamcrest_core_java", |
36 ] | 40 ] |
37 } | 41 } |
38 | 42 |
39 android_java_prebuilt("espresso_web_java") { | 43 android_java_prebuilt("espresso_web_java") { |
| 44 testonly = true |
40 jar_path = "lib/espresso-web-2.2-release-no-dep.jar" | 45 jar_path = "lib/espresso-web-2.2-release-no-dep.jar" |
41 deps = [ | 46 deps = [ |
42 ":espresso_core_java", | 47 ":espresso_core_java", |
43 "//third_party/guava:guava_java", | 48 "//third_party/guava:guava_java", |
44 "//third_party/hamcrest:hamcrest_core_java", | 49 "//third_party/hamcrest:hamcrest_core_java", |
45 ] | 50 ] |
46 } | 51 } |
OLD | NEW |