blob: 80b1dd1825011f39fca7c8ae16bae6aba974a661 [file] [log] [blame]
Robert Shih4f7e5652021-01-21 02:49: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//
16
17cc_library_static {
18 name: "android.hardware.drm@1.4-vts",
19 defaults: ["VtsHalTargetTestDefaults"],
20 local_include_dirs: [
21 "include",
22 ],
23 srcs: [
24 "drm_hal_test.cpp",
25 ],
26 shared_libs: [
27 "android.hardware.drm@1.0",
28 "android.hardware.drm@1.1",
29 "android.hardware.drm@1.2",
30 "android.hardware.drm@1.3",
31 "android.hardware.drm@1.4",
32 "android.hidl.allocator@1.0",
33 "android.hidl.memory@1.0",
34 "libhidlmemory",
35 "libnativehelper",
36 ],
37 static_libs: [
38 "android.hardware.drm@1.0-helper",
39 "android.hardware.drm@1.2-vts",
40 "libdrmvtshelper",
41 ],
42 export_static_lib_headers: [
43 "android.hardware.drm@1.2-vts",
44 ],
45 export_include_dirs: [
46 "include",
47 ],
48}
49
50cc_test {
51 name: "VtsHalDrmV1_4TargetTest",
52 defaults: ["VtsHalTargetTestDefaults"],
53 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
54 srcs: [
55 "drm_hal_test_main.cpp",
56 ],
57 whole_static_libs: [
58 "android.hardware.drm@1.4-vts",
59 ],
60 shared_libs: [
61 "android.hardware.drm@1.0",
62 "android.hardware.drm@1.1",
63 "android.hardware.drm@1.2",
64 "android.hardware.drm@1.3",
65 "android.hardware.drm@1.4",
66 "android.hidl.allocator@1.0",
67 "android.hidl.memory@1.0",
68 "libcrypto",
69 "libhidlmemory",
70 "libnativehelper",
71 ],
72 static_libs: [
73 "android.hardware.drm@1.0-helper",
74 "android.hardware.drm@1.2-vts",
75 "libdrmvtshelper",
76 ],
77 arch: {
78 arm: {
79 data: [":libvtswidevine-arm-prebuilts"],
80 },
81 arm64: {
82 data: [":libvtswidevine-arm64-prebuilts"],
83 },
84 x86: {
85 data: [":libvtswidevine-x86-prebuilts"],
86 },
87 x86_64: {
88 data: [":libvtswidevine-x86_64-prebuilts"],
89 },
90 },
91 test_suites: [
92 "general-tests",
93 "vts",
94 ],
95}