//
// Copyright (C) 2017 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 {
    // 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_headers {
    name: "drm_hal_vendor_module_headers",
    vendor_available: true,
    export_include_dirs: [
        "include",
    ],
}

cc_library_static {
    name: "libdrmvtshelper",
    defaults: ["VtsHalTargetTestDefaults"],
    local_include_dirs: [
        "include",
    ],
    srcs: [
        "vendor_modules.cpp",
    ],
    static_libs: [
        "android.hardware.drm@1.0-helper",
    ],
    export_include_dirs: ["include"],
    export_static_lib_headers: ["android.hardware.drm@1.0-helper"],
}

cc_library_static {
    name: "android.hardware.drm@1.0-vts",
    defaults: ["VtsHalTargetTestDefaults"],
    local_include_dirs: [
        "include",
    ],
    tidy_timeout_srcs: [
        "drm_hal_clearkey_test.cpp",
        "drm_hal_vendor_test.cpp",
    ],
    srcs: [
        "drm_hal_clearkey_test.cpp",
        "drm_hal_vendor_test.cpp",
    ],
    shared_libs: [
        "android.hardware.drm@1.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "libcrypto",
        "libhidlmemory",
        "libnativehelper",
    ],
    static_libs: [
        "android.hardware.drm@1.0-helper",
        "libdrmvtshelper",
    ],
    export_shared_lib_headers: [
        "android.hardware.drm@1.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "libhidlmemory",
        "libnativehelper",
    ],
    export_include_dirs: [
        "include",
    ],
}

cc_test {
    name: "VtsHalDrmV1_0TargetTest",
    defaults: ["VtsHalTargetTestDefaults"],
    srcs: [
        "drm_hal_test_main.cpp",
    ],
    whole_static_libs: [
        "android.hardware.drm@1.0-vts",
    ],
    shared_libs: [
        "android.hardware.drm@1.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "libcrypto",
        "libhidlmemory",
        "libnativehelper",
    ],
    static_libs: [
        "android.hardware.drm@1.0-helper",
        "libdrmvtshelper",
    ],
    arch: {
        arm: {
            data: [":libvtswidevine-arm-prebuilts"],
        },
        arm64: {
            data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"],
        },
        x86: {
            data: [":libvtswidevine-x86-prebuilts"],
        },
        x86_64: {
            data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"],
        },
    },
    test_suites: [
        "general-tests",
        "vts",
    ],
}
