blob: 09727842d0796ccabfe78801e2aaeaf0764de446 [file] [log] [blame]
Robert Shih456f3a642019-02-28 13:42:28 -08001//
2// Copyright (C) 2019 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 Shihddf6b962020-01-18 03:01:57 -080017cc_library_static {
18 name: "android.hardware.drm@1.2-vts",
Robert Shih456f3a642019-02-28 13:42:28 -080019 defaults: ["VtsHalTargetTestDefaults"],
Robert Shihddf6b962020-01-18 03:01:57 -080020 local_include_dirs: [
21 "include",
22 ],
Robert Shih456f3a642019-02-28 13:42:28 -080023 srcs: [
24 "drm_hal_clearkey_module.cpp",
25 "drm_hal_common.cpp",
26 "drm_hal_test.cpp",
Robert Shih456f3a642019-02-28 13:42:28 -080027 ],
Robert Shihddf6b962020-01-18 03:01:57 -080028 shared_libs: [
Robert Shih456f3a642019-02-28 13:42:28 -080029 "android.hardware.drm@1.0",
30 "android.hardware.drm@1.1",
31 "android.hardware.drm@1.2",
Robert Shih456f3a642019-02-28 13:42:28 -080032 "android.hidl.allocator@1.0",
33 "android.hidl.memory@1.0",
34 "libhidlmemory",
35 "libnativehelper",
Robert Shihddf6b962020-01-18 03:01:57 -080036 ],
37 static_libs: [
38 "android.hardware.drm@1.0-helper",
Colin Cross263d2df2019-09-18 11:07:09 -070039 "libcrypto_static",
Robert Shihddf6b962020-01-18 03:01:57 -080040 "libdrmvtshelper",
41 ],
42 export_shared_lib_headers: [
43 "android.hardware.drm@1.2",
44 ],
45 export_static_lib_headers: [
46 "android.hardware.drm@1.0-helper",
47 ],
48 export_include_dirs: [
49 "include",
50 ],
51}
52
53cc_test {
54 name: "VtsHalDrmV1_2TargetTest",
55 defaults: ["VtsHalTargetTestDefaults"],
56 srcs: [
57 "drm_hal_test_main.cpp",
58 ],
59 whole_static_libs: [
60 "android.hardware.drm@1.2-vts",
61 ],
62 shared_libs: [
63 "android.hardware.drm@1.0",
64 "android.hardware.drm@1.2",
65 "android.hidl.allocator@1.0",
66 "libhidlmemory",
67 ],
68 static_libs: [
69 "android.hardware.drm@1.0-helper",
70 "libcrypto_static",
71 "libdrmvtshelper",
Robert Shih456f3a642019-02-28 13:42:28 -080072 ],
Dan Shi3d0285b2020-02-25 15:42:48 -080073 arch: {
74 arm: {
75 data: [":libvtswidevine-arm-prebuilts"],
76 },
77 arm64: {
78 data: [":libvtswidevine-arm64-prebuilts"],
79 },
80 x86: {
81 data: [":libvtswidevine-x86-prebuilts"],
82 },
83 x86_64: {
84 data: [":libvtswidevine-x86_64-prebuilts"],
85 },
86 },
Dan Shid5f85882019-10-23 12:45:55 -070087 test_suites: [
88 "general-tests",
89 "vts-core",
90 ],
Robert Shih456f3a642019-02-28 13:42:28 -080091}