blob: abb7fd79fbe6c87bed79063288a8f1b3736e228b [file] [log] [blame]
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
android_test {
name: "ApiDemosTests",
// We only want this apk build for tests.
libs: [
static_libs: ["junit"],
// Include all test java files.
srcs: ["src/**/*.java"],
// Notice that we don't have to include the src files of ApiDemos because, by
// running the tests using an instrumentation targeting ApiDemos, we
// automatically get all of its classes loaded into our environment.
instrumentation_for: "ApiDemos",
sdk_version: "current",