blob: e813bd132ebeb24b9969c563b2290be01d5f738a [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",
51 "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: {
Priyanka Advani (xWF)85ae6cc2024-10-01 16:53:02 +000063 data: [":libvtswidevine-arm64-prebuilts", ":libvtswidevine-arm-prebuilts"],
Robert Shih5904a722022-01-14 12:43:22 -080064 },
65 x86: {
66 data: [":libvtswidevine-x86-prebuilts"],
67 },
68 x86_64: {
Priyanka Advani (xWF)85ae6cc2024-10-01 16:53:02 +000069 data: [":libvtswidevine-x86_64-prebuilts", ":libvtswidevine-x86-prebuilts"],
Robert Shih5904a722022-01-14 12:43:22 -080070 },
71 },
72 test_suites: [
73 "general-tests",
74 "vts",
75 ],
76}