1// 2// Copyright (C) 2021 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16package { 17 // See: http://go/android-license-faq 18 // A large-scale-change added 'default_applicable_licenses' to import 19 // all of the 'license_kinds' from "hardware_interfaces_license" 20 // to get the below license kinds: 21 // SPDX-license-identifier-Apache-2.0 22 default_applicable_licenses: ["hardware_interfaces_license"], 23} 24 25cc_test { 26 name: "VtsAidlHalDrmTargetTest", 27 defaults: [ 28 "VtsHalTargetTestDefaults", 29 "use_libaidlvintf_gtest_helper_static", 30 ], 31 srcs: [ 32 "drm_hal_common.cpp", 33 "drm_hal_test.cpp", 34 "drm_hal_test_main.cpp", 35 ], 36 local_include_dirs: [ 37 "include", 38 ], 39 header_libs: [ 40 "drm_hal_vendor_module_headers", 41 ], 42 shared_libs: [ 43 "libandroid", 44 "libbinder_ndk", 45 "libcrypto", 46 "libnativehelper", 47 ], 48 static_libs: [ 49 "android.hardware.drm@1.0-helper", 50 "android.hardware.drm-V1-ndk", 51 "android.hardware.common-V2-ndk", 52 "libaidlcommonsupport", 53 "libgmock_ndk", 54 "libdrmvtshelper", 55 "libvtsclearkey", 56 ], 57 arch: { 58 arm: { 59 data: [":libvtswidevine-arm-prebuilts"], 60 }, 61 arm64: { 62 data: [":libvtswidevine-arm64-prebuilts", ":libvtswidevine-arm-prebuilts"], 63 }, 64 x86: { 65 data: [":libvtswidevine-x86-prebuilts"], 66 }, 67 x86_64: { 68 data: [":libvtswidevine-x86_64-prebuilts", ":libvtswidevine-x86-prebuilts"], 69 }, 70 }, 71 test_suites: [ 72 "general-tests", 73 "vts", 74 ], 75} 76