blob: 9fae52c1bdbb423e38b1a4b732d189b3a26b42e2 [file] [log] [blame]
// Copyright (C) 2016 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// DEPRECATED! Use androidx-test libraries instead
// Lock down visibility to prevent new usages
// This library cannot removed entirely yet because there are
// usages in Android.mk that cannot be eliminated quit yet. See b/172831930
package {
default_visibility: [
"//visibility:private",
],
}
// for Android JUnit runner, monitor and rules
java_library_static {
name: "android-support-test",
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
static_libs: [
"android-support-test-rules-nodep",
"android-support-test-runner-nodep",
"junit",
"hamcrest",
"hamcrest-library",
"android-support-annotations",
"android-support-test-monitor-nodep",
],
}
java_library_static {
name: "android-support-test-nodep",
sdk_version: "23",
licenses: ["Android-Apache-2.0"],
static_libs: [
"android-support-test-rules-nodep",
"android-support-test-runner-nodep",
"android-support-test-monitor-nodep",
],
}
java_import {
name: "android-support-test-rules-nodep",
jars: ["rules/rules_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
java_import {
name: "android-support-test-runner-nodep",
jars: ["runner/runner_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
java_import {
name: "android-support-test-monitor-nodep",
jars: ["monitor/monitor_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
// for espresso-core
java_library_static {
name: "espresso-core",
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
static_libs: [
"espresso-core-nodep",
"espresso-idling-resource-nodep",
"android-support-test-rules-nodep",
"android-support-test-runner-nodep",
"android-support-test-monitor-nodep",
"junit",
"hamcrest",
"hamcrest-library",
"android-support-annotations",
"jsr330",
],
}
java_import {
name: "espresso-core-nodep",
jars: ["espresso/espresso_core_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
// for espresso-contrib
java_library_static {
name: "espresso-contrib",
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
static_libs: [
"espresso-core",
"android-support-design",
"android-support-v7-recyclerview",
"android-support-v4",
],
}
java_import {
name: "espresso-contrib-nodep",
jars: ["espresso/espresso_contrib_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
// for espresso-idling-resource
java_import {
name: "espresso-idling-resource-nodep",
jars: ["espresso/espresso_idling_resource_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
// for espresso-intents
java_library_static {
name: "espresso-intents",
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
static_libs: [
"espresso-intents-nodep",
"espresso-core",
"android-support-test-rules-nodep",
],
}
java_import {
name: "espresso-intents-nodep",
jars: ["espresso/espresso_intents_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}
// for espresso-web
java_library_static {
name: "espresso-web",
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
static_libs: [
"espresso-core",
"android-support-annotations",
"tagsoup",
],
}
java_import {
name: "espresso-web-nodep",
jars: ["espresso/espresso_web_release_no_deps.jar"],
sdk_version: "15",
licenses: ["Android-Apache-2.0"],
}