1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_test { 11 name: "SmokeTest", 12 // Include all test java files. 13 srcs: ["src/**/*.java"], 14 // Notice that we don't have to include the src files of SmokeTestApp because, by 15 // running the tests using an instrumentation targeting SmokeTestApp, we 16 // automatically get all of its classes loaded into our environment. 17 instrumentation_for: "SmokeTestApp", 18 sdk_version: "8", 19} 20