Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 1 | // Copyright (C) 2014 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Yuyang Huang | 626b350 | 2023-02-20 18:40:36 +0900 | [diff] [blame] | 15 | next_app_data = [ ":CtsHostsideNetworkTestsAppNext" ] |
| 16 | |
| 17 | // The above line is put in place to prevent any future automerger merge conflict between aosp, |
| 18 | // downstream branches. The CtsHostsideNetworkTestsAppNext target will not exist in |
| 19 | // some downstream branches, but it should exist in aosp and some downstream branches. |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
Bob Badour | 97e6be2 | 2021-02-12 14:45:04 -0800 | [diff] [blame] | 25 | package { |
| 26 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 27 | } |
| 28 | |
Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 29 | java_test_host { |
| 30 | name: "CtsHostsideNetworkTests", |
| 31 | defaults: ["cts_defaults"], |
| 32 | // Only compile source java files in this apk. |
| 33 | srcs: ["src/**/*.java"], |
| 34 | libs: [ |
Junyu Lai | 7eb00f7 | 2023-07-26 13:58:06 +0800 | [diff] [blame^] | 35 | "net-tests-utils-host-device-common", |
Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 36 | "cts-tradefed", |
| 37 | "tradefed", |
| 38 | ], |
Taras Antoshchuk | d9ba749 | 2022-01-07 18:48:25 +0000 | [diff] [blame] | 39 | static_libs: [ |
| 40 | "modules-utils-build-testing", |
| 41 | ], |
Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 42 | // Tag this module as a cts test artifact |
| 43 | test_suites: [ |
| 44 | "cts", |
| 45 | "general-tests", |
Sudheer Shanka | 7bbbdbd | 2021-06-03 10:38:38 -0700 | [diff] [blame] | 46 | "sts" |
Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 47 | ], |
yangbill | c1b8af2 | 2022-04-06 17:29:37 +0800 | [diff] [blame] | 48 | data: [ |
| 49 | ":CtsHostsideNetworkTestsApp", |
| 50 | ":CtsHostsideNetworkTestsApp2", |
Yuyang Huang | 96e8bfe | 2023-01-27 17:05:07 +0900 | [diff] [blame] | 51 | ":CtsHostsideNetworkCapTestsAppWithoutProperty", |
| 52 | ":CtsHostsideNetworkCapTestsAppWithProperty", |
| 53 | ":CtsHostsideNetworkCapTestsAppSdk33", |
Yuyang Huang | 626b350 | 2023-02-20 18:40:36 +0900 | [diff] [blame] | 54 | ] + next_app_data, |
yangbill | c1b8af2 | 2022-04-06 17:29:37 +0800 | [diff] [blame] | 55 | per_testcase_directory: true, |
Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 56 | } |