Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { |
| 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 | |
Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 10 | android_test { |
| 11 | name: "InternalTests", |
| 12 | proto: { |
| 13 | type: "nano", |
| 14 | }, |
| 15 | // Include some source files directly to be able to access package members |
| 16 | srcs: ["src/**/*.java"], |
| 17 | libs: ["android.test.runner"], |
| 18 | static_libs: [ |
| 19 | "junit", |
| 20 | "androidx.test.rules", |
| 21 | "mockito-target-minus-junit4", |
Robert Snoeberger | a6684f6 | 2019-04-02 13:21:42 -0400 | [diff] [blame] | 22 | "truth-prebuilt", |
Hongwei Wang | 6014caf | 2020-07-20 18:04:35 -0700 | [diff] [blame] | 23 | "platform-test-annotations", |
Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 24 | ], |
| 25 | java_resource_dirs: ["res"], |
| 26 | certificate: "platform", |
| 27 | platform_apis: true, |
| 28 | test_suites: ["device-tests"], |
| 29 | } |