Chidera Olibie | e3e2e7f | 2023-02-08 19:12:10 +0000 | [diff] [blame] | 1 | // 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 | |
| 19 | package { |
| 20 | // See: http://go/android-license-faq |
| 21 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 22 | } |
| 23 | |
| 24 | // TODO: Consider merging with ConnectivityCoverageTests which is a collection of all |
| 25 | // Connectivity tests being used for coverage. This will depend on how far we decide to |
| 26 | // go with merging NetHttp and Tethering targets. |
| 27 | android_test { |
| 28 | name: "NetHttpCoverageTests", |
| 29 | defaults: ["CronetTestJavaDefaults"], |
Chidera Olibie | d66799a | 2023-01-24 20:22:56 +0000 | [diff] [blame] | 30 | enforce_default_target_sdk_version: true, |
Chidera Olibie | d66799a | 2023-01-24 20:22:56 +0000 | [diff] [blame] | 31 | min_sdk_version: "30", |
Chidera Olibie | e3e2e7f | 2023-02-08 19:12:10 +0000 | [diff] [blame] | 32 | test_suites: ["general-tests", "mts-tethering"], |
| 33 | static_libs: [ |
| 34 | "modules-utils-native-coverage-listener", |
| 35 | "CtsNetHttpTestsLib", |
| 36 | "NetHttpTestsLibPreJarJar", |
| 37 | ], |
Chidera Olibie | 5b95954 | 2023-03-21 15:43:41 +0000 | [diff] [blame] | 38 | jarjar_rules: ":net-http-test-jarjar-rules", |
Chidera Olibie | b3cad55 | 2023-02-13 13:02:29 +0000 | [diff] [blame] | 39 | compile_multilib: "both", // Include both the 32 and 64 bit versions |
Chidera Olibie | 4a755a7 | 2023-03-20 18:08:14 +0000 | [diff] [blame] | 40 | jni_libs: [ |
Mohannad Farrag | 8484ec4 | 2023-03-23 12:36:46 +0000 | [diff] [blame^] | 41 | "//external/cronet:cronet_aml_components_cronet_android_cronet_tests__testing" |
Chidera Olibie | 4a755a7 | 2023-03-20 18:08:14 +0000 | [diff] [blame] | 42 | ], |
Chidera Olibie | e3e2e7f | 2023-02-08 19:12:10 +0000 | [diff] [blame] | 43 | } |