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 default_team: "trendy_team_android_media_drm", 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "hardware_interfaces_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 default_applicable_licenses: ["hardware_interfaces_license"], 24} 25 26cc_test { 27 name: "VtsAidlHalDrmTargetTest", 28 defaults: [ 29 "VtsHalTargetTestDefaults", 30 "use_libaidlvintf_gtest_helper_static", 31 ], 32 srcs: [ 33 "drm_hal_common.cpp", 34 "drm_hal_test.cpp", 35 "drm_hal_test_main.cpp", 36 ], 37 local_include_dirs: [ 38 "include", 39 ], 40 header_libs: [ 41 "drm_hal_vendor_module_headers", 42 ], 43 shared_libs: [ 44 "libandroid", 45 "libbinder_ndk", 46 "libcrypto", 47 "libnativehelper", 48 ], 49 static_libs: [ 50 "[email protected]", 51 "android.hardware.drm.common-V1-ndk", 52 "android.hardware.drm-V1-ndk", 53 "android.hardware.common-V2-ndk", 54 "libaidlcommonsupport", 55 "libgmock_ndk", 56 "libdrmvtshelper", 57 "libvtsclearkey", 58 ], 59 arch: { 60 arm: { 61 data: [":libvtswidevine-arm-prebuilts"], 62 }, 63 arm64: { 64 data: [ 65 ":libvtswidevine-arm64-prebuilts", 66 ":libvtswidevine-arm-prebuilts", 67 ], 68 }, 69 x86: { 70 data: [":libvtswidevine-x86-prebuilts"], 71 }, 72 x86_64: { 73 data: [ 74 ":libvtswidevine-x86_64-prebuilts", 75 ":libvtswidevine-x86-prebuilts", 76 ], 77 }, 78 }, 79 test_suites: [ 80 "general-tests", 81 "vts", 82 ], 83} 84