//
// Copyright (C) 2022 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",
    // See: http://go/android-license-faq
    default_applicable_licenses: ["Android-Apache-2.0"],
}

cc_library_shared {
    name: "libcom.android.tethering.connectivity_native",
    srcs: [
        "src/**/*.cpp",
    ],
    min_sdk_version: "30",
    static_libs: [
        "connectivity_native_aidl_interface-V1-ndk",
        "libmodules-utils-build",
    ],
    export_include_dirs: ["include"],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=deprecated-declarations",
    ],

    shared_libs: [
        "libbinder_ndk",
    ],
    llndk: {
        symbol_file: "libconnectivity_native.map.txt",
    },
    stubs: {
        symbol_file: "libconnectivity_native.map.txt",
        versions: [
            "current",
        ],
    },
    header_abi_checker: {
        enabled: true,
        symbol_file: "libconnectivity_native.map.txt",
    },
    apex_available: [
        "com.android.tethering",
    ],
}
