blob: a9ebd8082d611a4c63268cb3e925f7e2f722a5d8 [file] [log] [blame]
Robert Shih3559eb02020-01-20 12:27:27 -08001//
2// Copyright (C) 2020 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//
16
Bob Badourc22b35b2021-02-23 14:26:20 -080017package {
Yihan Dong11d15482024-10-12 09:02:12 +000018 default_team: "trendy_team_android_media_drm",
Bob Badourc22b35b2021-02-23 14:26:20 -080019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
Robert Shih3559eb02020-01-20 12:27:27 -080027cc_library_static {
28 name: "android.hardware.drm@1.3-vts",
29 defaults: ["VtsHalTargetTestDefaults"],
30 local_include_dirs: [
31 "include",
32 ],
33 srcs: [
34 "drm_hal_test.cpp",
35 ],
36 shared_libs: [
37 "android.hardware.drm@1.0",
38 "android.hardware.drm@1.1",
39 "android.hardware.drm@1.2",
40 "android.hardware.drm@1.3",
41 "android.hidl.allocator@1.0",
42 "android.hidl.memory@1.0",
Robert Shih65f6b952020-02-26 15:25:51 -080043 "libcrypto",
Robert Shih3559eb02020-01-20 12:27:27 -080044 "libhidlmemory",
45 "libnativehelper",
46 ],
47 static_libs: [
48 "android.hardware.drm@1.0-helper",
Robert Shih3559eb02020-01-20 12:27:27 -080049 "libdrmvtshelper",
50 ],
51 export_include_dirs: [
52 "include",
53 ],
54}
55
56cc_test {
57 name: "VtsHalDrmV1_3TargetTest",
58 defaults: ["VtsHalTargetTestDefaults"],
59 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
60 srcs: [
61 "drm_hal_test_main.cpp",
62 ],
63 whole_static_libs: [
64 "android.hardware.drm@1.0-vts",
65 "android.hardware.drm@1.1-vts",
66 "android.hardware.drm@1.2-vts",
67 "android.hardware.drm@1.3-vts",
68 ],
69 shared_libs: [
70 "android.hardware.drm@1.0",
71 "android.hardware.drm@1.1",
72 "android.hardware.drm@1.2",
73 "android.hardware.drm@1.3",
74 "android.hidl.allocator@1.0",
75 "android.hidl.memory@1.0",
Robert Shih65f6b952020-02-26 15:25:51 -080076 "libcrypto",
Robert Shih3559eb02020-01-20 12:27:27 -080077 "libhidlmemory",
78 "libnativehelper",
79 ],
80 static_libs: [
81 "android.hardware.drm@1.0-helper",
Robert Shih3559eb02020-01-20 12:27:27 -080082 "libdrmvtshelper",
83 ],
Dan Shifbf9d922020-04-06 23:00:50 -070084 arch: {
85 arm: {
86 data: [":libvtswidevine-arm-prebuilts"],
87 },
88 arm64: {
chayemme79819a02023-09-28 11:06:16 +053089 data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"],
Dan Shifbf9d922020-04-06 23:00:50 -070090 },
91 x86: {
92 data: [":libvtswidevine-x86-prebuilts"],
93 },
94 x86_64: {
chayemme79819a02023-09-28 11:06:16 +053095 data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"],
Dan Shifbf9d922020-04-06 23:00:50 -070096 },
97 },
Robert Shih3559eb02020-01-20 12:27:27 -080098 test_suites: [
99 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -0700100 "vts",
Robert Shih3559eb02020-01-20 12:27:27 -0800101 ],
102}