// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Tests in this folder are included both in unit tests and CTS.
// They must be fast and stable, and exercise public or test APIs.

package {
    default_team: "trendy_team_fwk_core_networking",
    // See: http://go/android-license-faq
    default_applicable_licenses: ["Android-Apache-2.0"],
}

// TODO: Consider merging with ConnectivityCoverageTests which is a collection of all
// Connectivity tests being used for coverage. This will depend on how far we decide to
// go with merging NetHttp and Tethering targets.
android_test {
    name: "NetHttpCoverageTests",
    enforce_default_target_sdk_version: true,
    min_sdk_version: "30",
    test_suites: [
        "general-tests",
        "mts-tethering",
    ],
    static_libs: [
        "modules-utils-native-coverage-listener",
        "CtsNetHttpTestsLib",
        "NetHttpTestsLibPreJarJar",
    ],
    jarjar_rules: ":net-http-test-jarjar-rules",
    compile_multilib: "both", // Include both the 32 and 64 bit versions
    jni_libs: [
        "cronet_aml_components_cronet_android_cronet_tests__testing",
        "cronet_aml_third_party_netty_tcnative_netty_tcnative_so__testing",
    ],
    data: [":cronet_javatests_resources"],
}
