blob: 27ce0d7816c9840caf077301da3769343ec29d7e [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",
Huihong Luo2ae7fb62024-09-27 18:15:51 +000050 "android.hardware.drm.common-V1-ndk",
Robert Shih5904a722022-01-14 12:43:22 -080051 "android.hardware.drm-V1-ndk",
52 "android.hardware.common-V2-ndk",
Robert Shih2389ce22022-02-09 14:14:25 -080053 "libaidlcommonsupport",
54 "libgmock_ndk",
Robert Shih5904a722022-01-14 12:43:22 -080055 "libdrmvtshelper",
56 "libvtsclearkey",
57 ],
58 arch: {
59 arm: {
60 data: [":libvtswidevine-arm-prebuilts"],
61 },
62 arm64: {
Huihong Luo2ae7fb62024-09-27 18:15:51 +000063 data: [
64 ":libvtswidevine-arm64-prebuilts",
65 ":libvtswidevine-arm-prebuilts",
66 ],
Robert Shih5904a722022-01-14 12:43:22 -080067 },
68 x86: {
69 data: [":libvtswidevine-x86-prebuilts"],
70 },
71 x86_64: {
Huihong Luo2ae7fb62024-09-27 18:15:51 +000072 data: [
73 ":libvtswidevine-x86_64-prebuilts",
74 ":libvtswidevine-x86-prebuilts",
75 ],
Robert Shih5904a722022-01-14 12:43:22 -080076 },
77 },
78 test_suites: [
79 "general-tests",
80 "vts",
81 ],
82}