blob: 1fe0972a78b98eca272226e3b9a2909e6055402d [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 {
Yihan Dong11d15482024-10-12 09:02:12 +000017 default_team: "trendy_team_android_media_drm",
Robert Shih5904a722022-01-14 12:43:22 -080018 // 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 "android.hardware.drm@1.0-helper",
Huihong Luoe5e76c72024-08-02 18:01:53 +000051 "android.hardware.drm.common-V1-ndk",
Robert Shih5904a722022-01-14 12:43:22 -080052 "android.hardware.drm-V1-ndk",
53 "android.hardware.common-V2-ndk",
Robert Shih2389ce22022-02-09 14:14:25 -080054 "libaidlcommonsupport",
55 "libgmock_ndk",
Robert Shih5904a722022-01-14 12:43:22 -080056 "libdrmvtshelper",
57 "libvtsclearkey",
58 ],
59 arch: {
60 arm: {
61 data: [":libvtswidevine-arm-prebuilts"],
62 },
63 arm64: {
Huihong Luoe5e76c72024-08-02 18:01:53 +000064 data: [
65 ":libvtswidevine-arm64-prebuilts",
66 ":libvtswidevine-arm-prebuilts",
67 ],
Robert Shih5904a722022-01-14 12:43:22 -080068 },
69 x86: {
70 data: [":libvtswidevine-x86-prebuilts"],
71 },
72 x86_64: {
Huihong Luoe5e76c72024-08-02 18:01:53 +000073 data: [
74 ":libvtswidevine-x86_64-prebuilts",
75 ":libvtswidevine-x86-prebuilts",
76 ],
Robert Shih5904a722022-01-14 12:43:22 -080077 },
78 },
79 test_suites: [
80 "general-tests",
81 "vts",
82 ],
83}