| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_base_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_base_license"], |
| } |
| |
| android_test { |
| name: "FrameworksCoreFeatureFlagTests", |
| // We only want this apk build for tests. |
| // Include all test java files. |
| srcs: ["src/**/*.java"], |
| dxflags: ["--core-library"], |
| static_libs: [ |
| "android-common", |
| "frameworks-core-util-lib", |
| "androidx.test.rules", |
| ], |
| libs: [ |
| "android.test.runner.stubs.system", |
| "android.test.base.stubs.system", |
| ], |
| platform_apis: true, |
| certificate: "platform", |
| test_suites: ["device-tests"], |
| } |