// Copyright (C) 2020 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.

package {
    default_team: "trendy_team_fwk_core_networking",
    default_applicable_licenses: ["Android-Apache-2.0"],
}

android_test {
    // This tests for functionality that is not required for devices that
    // don't use Tethering mainline module.
    name: "MtsTetheringTestLatestSdk",

    min_sdk_version: "30",
    target_sdk_version: "33",

    libs: [
        "android.test.base",
    ],

    srcs: [
        "src/**/*.java",
    ],

    static_libs: [
        "TetheringIntegrationTestsBaseLib",
        "androidx.test.rules",
        // mockito-target-extended-minus-junit4 used in this lib have dependency with
        // jni_libs libdexmakerjvmtiagent and libstaticjvmtiagent.
        "cts-net-utils",
        // This is needed for androidx.test.runner.AndroidJUnitRunner.
        "ctstestrunner-axt",
        "junit",
        "junit-params",
        "connectivity-net-module-utils-bpf",
        "net-utils-device-common-bpf",
    ],

    jni_libs: [
        // For mockito extended which is pulled in from -net-utils -> net-tests-utils
        // (mockito-target-extended-minus-junit4).
        "libdexmakerjvmtiagent",
        "libstaticjvmtiagent",
    ],

    defaults: ["framework-connectivity-test-defaults"],

    platform_apis: true,

    // Tag this module as a mts test artifact
    test_suites: [
        "general-tests",
        "mts-tethering",
    ],

    // Include both the 32 and 64 bit versions
    compile_multilib: "both",
}
