blob: bc8ff2364532a5af4020324e578681b13dd0d769 [file] [log] [blame]
Jeff Tinker0ea40692017-01-11 19:42:05 -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
Robert Shihf2fd4ad2020-01-20 19:39:39 -080017cc_library_static {
18 name: "libdrmvtshelper",
19 defaults: ["VtsHalTargetTestDefaults"],
20 local_include_dirs: [
21 "include",
22 ],
23 srcs: [
24 "vendor_modules.cpp",
25 ],
26 static_libs: [
27 "android.hardware.drm@1.0-helper",
28 ],
29 export_include_dirs: ["include"],
30}
31
Robert Shihec5d8ab2020-01-22 15:09:33 -080032cc_library_static {
33 name: "android.hardware.drm@1.0-vts",
Tri Vo78e89022017-08-03 17:29:21 -070034 defaults: ["VtsHalTargetTestDefaults"],
Robert Shihec5d8ab2020-01-22 15:09:33 -080035 local_include_dirs: [
36 "include",
37 ],
Jeff Tinker0ea40692017-01-11 19:42:05 -080038 srcs: [
39 "drm_hal_clearkey_test.cpp",
40 "drm_hal_vendor_test.cpp",
Tri Vo78e89022017-08-03 17:29:21 -070041 ],
Robert Shihec5d8ab2020-01-22 15:09:33 -080042 shared_libs: [
Jeff Tinker0ea40692017-01-11 19:42:05 -080043 "android.hardware.drm@1.0",
44 "android.hidl.allocator@1.0",
45 "android.hidl.memory@1.0",
Robert Shihd85c6492020-02-26 15:25:51 -080046 "libcrypto",
Jeff Tinker0ea40692017-01-11 19:42:05 -080047 "libhidlmemory",
Jeff Tinker0ea40692017-01-11 19:42:05 -080048 "libnativehelper",
Robert Shihec5d8ab2020-01-22 15:09:33 -080049 ],
50 static_libs: [
51 "android.hardware.drm@1.0-helper",
Robert Shihec5d8ab2020-01-22 15:09:33 -080052 "libdrmvtshelper",
53 ],
54 export_shared_lib_headers: [
55 "android.hardware.drm@1.0",
56 "android.hidl.allocator@1.0",
57 "android.hidl.memory@1.0",
58 "libhidlmemory",
59 "libnativehelper",
60 ],
61 export_include_dirs: [
62 "include",
63 ],
64}
65
66cc_test {
67 name: "VtsHalDrmV1_0TargetTest",
68 defaults: ["VtsHalTargetTestDefaults"],
69 srcs: [
70 "drm_hal_test_main.cpp",
71 ],
72 whole_static_libs: [
73 "android.hardware.drm@1.0-vts",
74 ],
75 shared_libs: [
76 "android.hardware.drm@1.0",
77 "android.hidl.allocator@1.0",
78 "android.hidl.memory@1.0",
Robert Shihd85c6492020-02-26 15:25:51 -080079 "libcrypto",
Robert Shihec5d8ab2020-01-22 15:09:33 -080080 "libhidlmemory",
81 "libnativehelper",
82 ],
83 static_libs: [
84 "android.hardware.drm@1.0-helper",
Robert Shihf2fd4ad2020-01-20 19:39:39 -080085 "libdrmvtshelper",
Jeff Tinker0ea40692017-01-11 19:42:05 -080086 ],
Dan Shid5f85882019-10-23 12:45:55 -070087 test_suites: [
88 "general-tests",
89 "vts-core",
90 ],
Jeff Tinker0ea40692017-01-11 19:42:05 -080091}