//
// Copyright (C) 2016 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_android_media_audio_framework",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_interfaces_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["hardware_interfaces_license"],
}

cc_library_shared {
    name: "android.hardware.audio.common-util",
    defaults: ["hidl_defaults"],
    vendor_available: true,
    srcs: [
        "EffectMap.cpp",
    ],

    export_include_dirs: ["include"],

    shared_libs: [
        "liblog",
        "libutils",
        "libhidlbase",
    ],

    header_libs: [
        "android.hardware.audio.common.util@all-versions",
        "libaudio_system_headers",
        "libhardware_headers",
    ],
    export_header_lib_headers: [
        "android.hardware.audio.common.util@all-versions",
    ],
}

filegroup {
    name: "android.hardware.audio.common-util@2-6",
    srcs: [
        "HidlUtils.cpp",
        "HidlUtilsCommon.cpp",
        "UuidUtils.cpp",
    ],
}

cc_defaults {
    name: "android.hardware.audio.common-util_default",
    defaults: ["hidl_defaults"],

    vendor_available: true,

    export_include_dirs: ["."],

    shared_libs: [
        "liblog",
        "libutils",
        "libhidlbase",
        "android.hardware.audio.common-util",
    ],
    export_shared_lib_headers: [
        "android.hardware.audio.common-util",
    ],

    header_libs: [
        "libaudio_system_headers",
        "libhardware_headers",
    ],
}

cc_library_shared {
    name: "android.hardware.audio.common@2.0-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [":android.hardware.audio.common-util@2-6"],
    shared_libs: [
        "android.hardware.audio.common@2.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=2",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

cc_library_shared {
    name: "android.hardware.audio.common@4.0-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [":android.hardware.audio.common-util@2-6"],
    shared_libs: [
        "android.hardware.audio.common@4.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=4",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

cc_library_shared {
    name: "android.hardware.audio.common@5.0-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [":android.hardware.audio.common-util@2-6"],
    shared_libs: [
        "android.hardware.audio.common@5.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=5",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

cc_library {
    name: "android.hardware.audio.common@6.0-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [":android.hardware.audio.common-util@2-6"],
    shared_libs: [
        "android.hardware.audio.common@6.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=6",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

cc_library {
    name: "android.hardware.audio.common@7.0-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [
        "7.0/HidlUtils.cpp",
        "HidlUtilsCommon.cpp",
        "UuidUtils.cpp",
    ],
    shared_libs: [
        "android.hardware.audio.common@7.0",
        "android.hardware.audio.common@7.0-enums",
        "libbase",
    ],
    cflags: [
        "-DMAJOR_VERSION=7",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

cc_library {
    name: "android.hardware.audio.common@7.1-util",
    defaults: ["android.hardware.audio.common-util_default"],
    srcs: [
        "7.0/HidlUtils.cpp",
        "HidlUtilsCommon.cpp",
        "UuidUtils.cpp",
    ],
    shared_libs: [
        "android.hardware.audio.common@7.0",
        "android.hardware.audio.common@7.1-enums",
        "libbase",
    ],
    cflags: [
        "-DMAJOR_VERSION=7",
        "-DMINOR_VERSION=1",
        "-DCOMMON_TYPES_MINOR_VERSION=0",
        "-DCORE_TYPES_MINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],
}

// Note: this isn't a VTS test, but rather a unit test
// to verify correctness of conversion utilities.
cc_test {
    name: "android.hardware.audio.common@6.0-util_tests",
    defaults: ["android.hardware.audio.common-util_default"],

    srcs: ["tests/hidlutils6_tests.cpp"],

    // Use static linking to allow running in presubmit on
    // targets that don't have HAL V6.
    static_libs: [
        "android.hardware.audio.common@6.0",
        "android.hardware.audio.common@6.0-util",
    ],

    cflags: [
        "-Werror",
        "-Wall",
        "-DMAJOR_VERSION=6",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],

    test_suites: ["device-tests"],
}

// Note: this isn't a VTS test, but rather a unit test
// to verify correctness of conversion utilities.
cc_test {
    name: "android.hardware.audio.common@7.0-util_tests",
    defaults: ["android.hardware.audio.common-util_default"],

    tidy_timeout_srcs: ["tests/hidlutils_tests.cpp"],

    srcs: ["tests/hidlutils_tests.cpp"],

    // Use static linking to allow running in presubmit on
    // targets that don't have HAL V7.
    static_libs: [
        "android.hardware.audio.common@7.0-enums",
        "android.hardware.audio.common@7.0-util",
        "android.hardware.audio.common@7.0",
    ],

    shared_libs: [
        "libbase",
        "libxml2",
    ],

    cflags: [
        "-Werror",
        "-Wall",
        "-DMAJOR_VERSION=7",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],

    test_suites: ["device-tests"],
}

cc_test {
    name: "android.hardware.audio.common@7.1-util_tests",
    defaults: ["android.hardware.audio.common-util_default"],

    tidy_timeout_srcs: ["tests/hidlutils_tests.cpp"],

    srcs: ["tests/hidlutils_tests.cpp"],

    // Use static linking to allow running in presubmit on
    // targets that don't have HAL V7.1.
    static_libs: [
        "android.hardware.audio.common@7.1-enums",
        "android.hardware.audio.common@7.1-util",
        "android.hardware.audio.common@7.0",
    ],

    shared_libs: [
        "libbase",
        "libxml2",
    ],

    cflags: [
        "-Werror",
        "-Wall",
        "-DMAJOR_VERSION=7",
        "-DMINOR_VERSION=1",
        "-DCOMMON_TYPES_MINOR_VERSION=0",
        "-DCORE_TYPES_MINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ],

    test_suites: ["device-tests"],
}
