blob: 51390364939e294e7376e9871e4e4acb036381cc [file] [log] [blame]
Robert Shih5904a722022-01-14 12:43:22 -08001//
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",
Robert Shih2389ce22022-02-09 14:14:25 -080052 "libaidlcommonsupport",
53 "libgmock_ndk",
Robert Shih5904a722022-01-14 12:43:22 -080054 "libdrmvtshelper",
55 "libvtsclearkey",
56 ],
57 arch: {
58 arm: {
59 data: [":libvtswidevine-arm-prebuilts"],
60 },
61 arm64: {
Priyanka Advani (xWF)85ae6cc2024-10-01 16:53:02 +000062 data: [":libvtswidevine-arm64-prebuilts", ":libvtswidevine-arm-prebuilts"],
Robert Shih5904a722022-01-14 12:43:22 -080063 },
64 x86: {
65 data: [":libvtswidevine-x86-prebuilts"],
66 },
67 x86_64: {
Priyanka Advani (xWF)85ae6cc2024-10-01 16:53:02 +000068 data: [":libvtswidevine-x86_64-prebuilts", ":libvtswidevine-x86-prebuilts"],
Robert Shih5904a722022-01-14 12:43:22 -080069 },
70 },
71 test_suites: [
72 "general-tests",
73 "vts",
74 ],
75}