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

// DO NOT ADD NEW USAGES OF THIS
// See comments in header file.
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_native_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_native_license"],
}

cc_library_static {
    name: "libbinderthreadstateutils",
    double_loadable: true,
    vendor_available: true,
    host_supported: true,
    target: {
        darwin: {
            enabled: false,
        },
    },

    shared_libs: [
        "libbinder",
        "libhidlbase", // libhwbinder is in here
    ],

    export_include_dirs: ["include"],

    cflags: [
        "-Wall",
        "-Werror",
    ],
    min_sdk_version: "29",
    // static link, so it won't straddle a module boundary at runtime.
    apex_available: [
        "//apex_available:platform",
        "com.android.media.swcodec",
    ],
}

hidl_package_root {
    name: "binderthreadstateutilstest",
}

aidl_interface {
    name: "binderthreadstateutilstest.aidl",
    unstable: true,
    srcs: ["IAidlStuff.aidl"],
}

cc_test {
    name: "libbinderthreadstateutils_test",
    srcs: ["test.cpp"],
    static_libs: [
        "binderthreadstateutilstest@1.0",
        "binderthreadstateutilstest.aidl-cpp",
        "libbinderthreadstateutils",
    ],
    shared_libs: [
        "libbase",
        "libbinder",
        "libcutils",
        "libhidlbase",
        "libutils",
        "liblog",
    ],
    test_suites: [
        "general-tests",
    ],
    require_root: true,
}
