blob: edeb0b3ebc92ea07023076eacba9bcf2f5fd24b9 [file] [log] [blame]
Chidera Olibiee3e2e7f2023-02-08 19:12:10 +00001// Copyright (C) 2023 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//
15
16// Tests in this folder are included both in unit tests and CTS.
17// They must be fast and stable, and exercise public or test APIs.
18
19package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000020 default_team: "trendy_team_fwk_core_networking",
Chidera Olibiee3e2e7f2023-02-08 19:12:10 +000021 // See: http://go/android-license-faq
22 default_applicable_licenses: ["Android-Apache-2.0"],
23}
24
25// TODO: Consider merging with ConnectivityCoverageTests which is a collection of all
26// Connectivity tests being used for coverage. This will depend on how far we decide to
27// go with merging NetHttp and Tethering targets.
28android_test {
29 name: "NetHttpCoverageTests",
Chidera Olibied66799a2023-01-24 20:22:56 +000030 enforce_default_target_sdk_version: true,
Chidera Olibied66799a2023-01-24 20:22:56 +000031 min_sdk_version: "30",
Mohannad Farrag2ba5c622024-01-11 14:38:15 +000032 test_suites: [
33 "general-tests",
34 "mts-tethering",
35 ],
Chidera Olibiee3e2e7f2023-02-08 19:12:10 +000036 static_libs: [
37 "modules-utils-native-coverage-listener",
38 "CtsNetHttpTestsLib",
39 "NetHttpTestsLibPreJarJar",
40 ],
Chidera Olibie5b959542023-03-21 15:43:41 +000041 jarjar_rules: ":net-http-test-jarjar-rules",
Chidera Olibieb3cad552023-02-13 13:02:29 +000042 compile_multilib: "both", // Include both the 32 and 64 bit versions
Chidera Olibie4a755a72023-03-20 18:08:14 +000043 jni_libs: [
Mohannad Farrag2ba5c622024-01-11 14:38:15 +000044 "cronet_aml_components_cronet_android_cronet_tests__testing",
45 "cronet_aml_third_party_netty_tcnative_netty_tcnative_so__testing",
Chidera Olibie4a755a72023-03-20 18:08:14 +000046 ],
Mohannad Farrag2ba5c622024-01-11 14:38:15 +000047 data: [":cronet_javatests_resources"],
Chidera Olibiee3e2e7f2023-02-08 19:12:10 +000048}