blob: 3c356ed5a13c055bb3abae4403697966e1e1dc83 [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",
Robert Shihd85c6492020-02-26 15:25:51 -080034 "libcrypto",
Robert Shih456f3a642019-02-28 13:42:28 -080035 "libhidlmemory",
36 "libnativehelper",
Robert Shihddf6b962020-01-18 03:01:57 -080037 ],
38 static_libs: [
39 "android.hardware.drm@1.0-helper",
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",
Robert Shihd85c6492020-02-26 15:25:51 -080066 "libcrypto",
Robert Shihddf6b962020-01-18 03:01:57 -080067 "libhidlmemory",
68 ],
69 static_libs: [
70 "android.hardware.drm@1.0-helper",
Robert Shihddf6b962020-01-18 03:01:57 -080071 "libdrmvtshelper",
Robert Shih456f3a642019-02-28 13:42:28 -080072 ],
Dan Shid5f85882019-10-23 12:45:55 -070073 test_suites: [
74 "general-tests",
75 "vts-core",
76 ],
Robert Shih456f3a642019-02-28 13:42:28 -080077}