Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 1 | //######################################################################## |
| 2 | // Build FrameworksVcnTests package |
| 3 | //######################################################################## |
| 4 | |
Bob Badour | 051ef78 | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 5 | package { |
Yan Yan | a557981 | 2024-02-15 00:24:55 +0000 | [diff] [blame] | 6 | default_team: "trendy_team_enigma", |
Bob Badour | 051ef78 | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 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 | |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 15 | android_test { |
| 16 | name: "FrameworksVcnTests", |
Yan Yan | 60df934 | 2024-10-01 02:11:28 +0000 | [diff] [blame] | 17 | // For access hidden connectivity methods in tests |
| 18 | defaults: ["framework-connectivity-test-defaults"], |
Yan Yan | fb83ed4 | 2025-02-10 11:27:43 -0800 | [diff] [blame] | 19 | |
Yan Yan | 10ddf6f | 2025-03-10 18:28:43 -0700 | [diff] [blame] | 20 | min_sdk_version: "36", |
Yan Yan | fb83ed4 | 2025-02-10 11:27:43 -0800 | [diff] [blame] | 21 | |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 22 | srcs: [ |
| 23 | "java/**/*.java", |
| 24 | "java/**/*.kt", |
| 25 | ], |
| 26 | platform_apis: true, |
Yan Yan | fb83ed4 | 2025-02-10 11:27:43 -0800 | [diff] [blame] | 27 | test_suites: [ |
| 28 | "general-tests", |
| 29 | "mts-tethering", |
| 30 | ], |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 31 | static_libs: [ |
Yan Yan | 60df934 | 2024-10-01 02:11:28 +0000 | [diff] [blame] | 32 | "android.net.vcn.flags-aconfig-java-export", |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 33 | "androidx.test.rules", |
| 34 | "frameworks-base-testutils", |
| 35 | "framework-protos", |
| 36 | "mockito-target-minus-junit4", |
Cody Kesting | 90f27fc | 2020-12-15 15:27:49 -0800 | [diff] [blame] | 37 | "net-tests-utils", |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 38 | "platform-test-annotations", |
Yan Yan | 60df934 | 2024-10-01 02:11:28 +0000 | [diff] [blame] | 39 | "service-connectivity-b-pre-jarjar", |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 40 | "services.core", |
Aaron Huang | 23e4f46 | 2022-01-26 00:37:52 +0800 | [diff] [blame] | 41 | "service-connectivity-tiramisu-pre-jarjar", |
rambowang | b51b727 | 2024-03-20 18:41:14 +0000 | [diff] [blame] | 42 | "flag-junit", |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 43 | ], |
| 44 | libs: [ |
Jihoon Kang | 1e37ed3 | 2024-08-30 00:29:12 +0000 | [diff] [blame] | 45 | "android.test.runner.stubs", |
| 46 | "android.test.base.stubs", |
| 47 | "android.test.mock.stubs", |
Benedict Wong | 5bf2f80 | 2020-10-27 18:30:50 -0700 | [diff] [blame] | 48 | ], |
| 49 | } |