| 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"], | |
| } | |
| // TODO(b/397646538): Remove this test once the Mainline migration is successful. | |
| android_test { | |
| name: "NetworkSecurityConfigTests", | |
| test_suites: ["general-tests"], | |
| srcs: select(release_flag("RELEASE_CONSCRYPT_NSC"), { | |
| true: [], | |
| default: ["src/**/*.java"], | |
| }), | |
| certificate: "platform", | |
| platform_apis: true, | |
| libs: [ | |
| "android.test.base.stubs.system", | |
| ], | |
| static_libs: [ | |
| "androidx.test.ext.junit", | |
| "androidx.test.runner", | |
| "flag-junit", | |
| "junit", | |
| "platform-compat-test-rules", | |
| ], | |
| } |