blob: aeb0443496d10a7ececcf1f084b02cc9dbcbf465 [file] [log] [blame]
Jeff Tinker203c8512018-02-01 02:19:10 -08001//
2// Copyright (C) 2017 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 Badourb224b362021-02-12 20:13:01 -080017package {
Yihan Dong11d15482024-10-12 09:02:12 +000018 default_team: "trendy_team_android_media_drm",
Bob Badourb224b362021-02-12 20:13:01 -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 Shiha78064a2020-01-22 15:09:33 -080027cc_library_static {
28 name: "android.hardware.drm@1.1-vts",
Jeff Tinker203c8512018-02-01 02:19:10 -080029 defaults: ["VtsHalTargetTestDefaults"],
Robert Shiha78064a2020-01-22 15:09:33 -080030 include_dirs: [
31 "hardware/interfaces/drm/1.0/vts/functional",
32 ],
33 local_include_dirs: [
34 "include",
35 ],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080036 tidy_timeout_srcs: [
37 "drm_hal_clearkey_test.cpp",
38 ],
Jeff Tinker203c8512018-02-01 02:19:10 -080039 srcs: [
Dan Shid5f85882019-10-23 12:45:55 -070040 "drm_hal_clearkey_test.cpp",
Jeff Tinker203c8512018-02-01 02:19:10 -080041 ],
Robert Shiha78064a2020-01-22 15:09:33 -080042 shared_libs: [
Jeff Tinker203c8512018-02-01 02:19:10 -080043 "android.hardware.drm@1.0",
44 "android.hardware.drm@1.1",
Jeff Tinker203c8512018-02-01 02:19:10 -080045 "android.hidl.allocator@1.0",
46 "android.hidl.memory@1.0",
47 "libhidlmemory",
48 "libnativehelper",
Robert Shiha78064a2020-01-22 15:09:33 -080049 ],
50 static_libs: [
51 "libdrmvtshelper",
52 ],
53 export_shared_lib_headers: [
54 "android.hardware.drm@1.0",
55 "android.hardware.drm@1.1",
56 "android.hidl.allocator@1.0",
57 "android.hidl.memory@1.0",
58 "libhidlmemory",
59 "libnativehelper",
60 ],
61 export_static_lib_headers: [
62 "libdrmvtshelper",
63 ],
64 export_include_dirs: [
65 "include",
66 ],
67}
68
69cc_test {
70 name: "VtsHalDrmV1_1TargetTest",
71 defaults: ["VtsHalTargetTestDefaults"],
72 srcs: [
73 "drm_hal_test_main.cpp",
74 ],
75 whole_static_libs: [
Dan Shi3d0285b2020-02-25 15:42:48 -080076 "android.hardware.drm@1.1-vts",
Robert Shiha78064a2020-01-22 15:09:33 -080077 ],
78 shared_libs: [
79 "android.hardware.drm@1.1",
Jeff Tinker203c8512018-02-01 02:19:10 -080080 ],
Dan Shi3d0285b2020-02-25 15:42:48 -080081 arch: {
82 arm: {
83 data: [":libvtswidevine-arm-prebuilts"],
84 },
85 arm64: {
chayemme79819a02023-09-28 11:06:16 +053086 data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"],
Dan Shi3d0285b2020-02-25 15:42:48 -080087 },
88 x86: {
89 data: [":libvtswidevine-x86-prebuilts"],
90 },
91 x86_64: {
chayemme79819a02023-09-28 11:06:16 +053092 data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"],
Dan Shi3d0285b2020-02-25 15:42:48 -080093 },
94 },
Dan Shid5f85882019-10-23 12:45:55 -070095 test_suites: [
96 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070097 "vts",
Dan Shid5f85882019-10-23 12:45:55 -070098 ],
Jeff Tinker203c8512018-02-01 02:19:10 -080099}