blob: 0568892c36840321f0e53914dda83d72b70fd0c6 [file] [log] [blame]
//########################################################################
// Build FrameworksVpnTests package
//########################################################################
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "Android-Apache-2.0"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "FrameworksVpnTests",
srcs: [
"java/**/*.java",
"java/**/*.kt",
],
sdk_version: "core_platform", // tests can use @CorePlatformApi's
test_suites: ["device-tests"],
static_libs: [
"androidx.test.rules",
"frameworks-base-testutils",
"framework-protos",
"mockito-target-minus-junit4",
"net-tests-utils",
"platform-test-annotations",
"services.core",
"cts-net-utils",
"service-connectivity-tiramisu-pre-jarjar",
],
libs: [
// order matters: classes in framework-connectivity are resolved before framework,
// meaning @hide APIs in framework-connectivity are resolved before @SystemApi
// stubs in framework
"framework-connectivity.impl",
"framework-connectivity-t.impl",
"framework",
"framework-res",
"android.test.runner.stubs",
"android.test.base.stubs",
"android.test.mock.stubs",
],
}
test_module_config {
name: "FrameworksVpnTests_android_server_connectivity",
base: "FrameworksVpnTests",
test_suites: ["device-tests"],
exclude_annotations: ["com.android.testutils.SkipPresubmit"],
}