xref: /aosp_15_r20/frameworks/base/tests/vcn/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//########################################################################
2// Build FrameworksVcnTests package
3//########################################################################
4
5package {
6    default_team: "trendy_team_enigma",
7    // 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
15android_test {
16    name: "FrameworksVcnTests",
17    // For access hidden connectivity methods in tests
18    defaults: ["framework-connectivity-test-defaults"],
19    srcs: [
20        "java/**/*.java",
21        "java/**/*.kt",
22    ],
23    platform_apis: true,
24    test_suites: ["device-tests"],
25    certificate: "platform",
26    static_libs: [
27        "android.net.vcn.flags-aconfig-java-export",
28        "androidx.test.rules",
29        "frameworks-base-testutils",
30        "framework-protos",
31        "mockito-target-minus-junit4",
32        "net-tests-utils",
33        "platform-test-annotations",
34        "service-connectivity-b-pre-jarjar",
35        "services.core",
36        "service-connectivity-tiramisu-pre-jarjar",
37        "flag-junit",
38    ],
39    libs: [
40        "android.test.runner.stubs",
41        "android.test.base.stubs",
42        "android.test.mock.stubs",
43    ],
44}
45