//
// 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_applicable_licenses: ["Android-Apache-2.0"],
}

cc_library {
    name: "libnetd_updatable",
    version_script: "libnetd_updatable.map.txt",
    stubs: {
        versions: [
            "1",
        ],
        symbol_file: "libnetd_updatable.map.txt",
    },
    defaults: ["netd_defaults"],
    header_libs: [
        "bpf_connectivity_headers",
        "libcutils_headers",
    ],
    srcs: [
        "BpfHandler.cpp",
        "NetdUpdatable.cpp",
    ],
    static_libs: [
        "libmodules-utils-build",
    ],
    shared_libs: [
        "libbase",
        "liblog",
        "libnetdutils",
    ],
    export_include_dirs: ["include"],
    header_abi_checker: {
        enabled: true,
        symbol_file: "libnetd_updatable.map.txt",
    },
    sanitize: {
        cfi: true,
    },
    apex_available: ["com.android.tethering"],
    min_sdk_version: "30",
}

cc_test {
    name: "netd_updatable_unit_test",
    defaults: ["netd_defaults"],
    test_suites: ["general-tests", "mts-tethering"],
    test_config_template: ":net_native_test_config_template",
    require_root: true,  // required by setrlimitForTest()
    header_libs: [
        "bpf_connectivity_headers",
    ],
    srcs: [
        "BpfHandlerTest.cpp",
        "BpfBaseTest.cpp"
    ],
    static_libs: [
        "libbase",
        "libnetd_updatable",
    ],
    shared_libs: [
        "libcutils",
        "liblog",
        "libnetdutils",
        "libprocessgroup",
    ],
    compile_multilib: "both",
    multilib: {
        lib32: {
            suffix: "32",
        },
        lib64: {
            suffix: "64",
        },
    },
}
