naiveproxy/third_party/espresso/BUILD.gn
2018-01-29 00:30:36 +08:00

63 lines
1.7 KiB
Plaintext

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
java_group("espresso_all_java") {
testonly = true
deps = [
":espresso_contrib_java",
":espresso_core_java",
":espresso_idling_java",
":espresso_intents_java",
":espresso_web_java",
]
}
android_java_prebuilt("espresso_contrib_java") {
testonly = true
jar_path = "lib/espresso-contrib-2.2.1-release-no-dep.jar"
deps = [
":espresso_core_java",
"//third_party/guava:guava_java",
"//third_party/hamcrest:hamcrest_core_java",
]
}
android_java_prebuilt("espresso_core_java") {
testonly = true
jar_path = "lib/espresso-core-2.2.1-release-no-dep.jar"
deps = [
"//third_party/android_tools:android_support_annotations_java",
"//third_party/guava:guava_java",
"//third_party/hamcrest:hamcrest_core_java",
"//third_party/javax_inject:javax_inject_java",
]
}
android_java_prebuilt("espresso_idling_java") {
testonly = true
jar_path = "lib/espresso-idling-resource-2.2.1-release-no-dep.jar"
}
android_java_prebuilt("espresso_intents_java") {
testonly = true
jar_path = "lib/espresso-intents-2.2.1-release-no-dep.jar"
deps = [
"//third_party/android_support_test_runner:runner_java",
"//third_party/guava:guava_java",
"//third_party/hamcrest:hamcrest_core_java",
]
}
android_java_prebuilt("espresso_web_java") {
testonly = true
jar_path = "lib/espresso-web-2.2.1-release-no-dep.jar"
deps = [
":espresso_core_java",
"//third_party/guava:guava_java",
"//third_party/hamcrest:hamcrest_core_java",
]
}