blob: 205fdb119a78c7953b222379d742e56162ece5b9 [file] [log] [blame]
Benedict Wong5bf2f802020-10-27 18:30:50 -07001//########################################################################
2// Build FrameworksVcnTests package
3//########################################################################
4
Bob Badour051ef782021-02-12 17:07:05 -08005package {
Yan Yana5579812024-02-15 00:24:55 +00006 default_team: "trendy_team_enigma",
Bob Badour051ef782021-02-12 17:07:05 -08007 // See: http://go/android-license-faq
8 // A large-scale-change added 'default_applicable_licenses' to import
9 // all of the 'license_kinds' from "frameworks_base_license"
10 // to get the below license kinds:
11 // SPDX-license-identifier-Apache-2.0
12 default_applicable_licenses: ["frameworks_base_license"],
13}
14
Benedict Wong5bf2f802020-10-27 18:30:50 -070015android_test {
16 name: "FrameworksVcnTests",
Yan Yan60df9342024-10-01 02:11:28 +000017 // For access hidden connectivity methods in tests
18 defaults: ["framework-connectivity-test-defaults"],
Yan Yanfb83ed42025-02-10 11:27:43 -080019
Yan Yan10ddf6f2025-03-10 18:28:43 -070020 min_sdk_version: "36",
Yan Yanfb83ed42025-02-10 11:27:43 -080021
Benedict Wong5bf2f802020-10-27 18:30:50 -070022 srcs: [
23 "java/**/*.java",
24 "java/**/*.kt",
25 ],
26 platform_apis: true,
Yan Yanfb83ed42025-02-10 11:27:43 -080027 test_suites: [
28 "general-tests",
29 "mts-tethering",
30 ],
Benedict Wong5bf2f802020-10-27 18:30:50 -070031 static_libs: [
Yan Yan60df9342024-10-01 02:11:28 +000032 "android.net.vcn.flags-aconfig-java-export",
Benedict Wong5bf2f802020-10-27 18:30:50 -070033 "androidx.test.rules",
34 "frameworks-base-testutils",
35 "framework-protos",
36 "mockito-target-minus-junit4",
Cody Kesting90f27fc2020-12-15 15:27:49 -080037 "net-tests-utils",
Benedict Wong5bf2f802020-10-27 18:30:50 -070038 "platform-test-annotations",
Yan Yan60df9342024-10-01 02:11:28 +000039 "service-connectivity-b-pre-jarjar",
Benedict Wong5bf2f802020-10-27 18:30:50 -070040 "services.core",
Aaron Huang23e4f462022-01-26 00:37:52 +080041 "service-connectivity-tiramisu-pre-jarjar",
rambowangb51b7272024-03-20 18:41:14 +000042 "flag-junit",
Benedict Wong5bf2f802020-10-27 18:30:50 -070043 ],
44 libs: [
Jihoon Kang1e37ed32024-08-30 00:29:12 +000045 "android.test.runner.stubs",
46 "android.test.base.stubs",
47 "android.test.mock.stubs",
Benedict Wong5bf2f802020-10-27 18:30:50 -070048 ],
49}