blob: ac1f912c08bbc4ba959e768a94b9bdda7fc53859 [file] [log] [blame]
Robert Shih3559eb02020-01-20 12:27:27 -08001//
2// Copyright (C) 2020 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.3-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.hidl.allocator@1.0",
32 "android.hidl.memory@1.0",
Robert Shih65f6b952020-02-26 15:25:51 -080033 "libcrypto",
Robert Shih3559eb02020-01-20 12:27:27 -080034 "libhidlmemory",
35 "libnativehelper",
36 ],
37 static_libs: [
38 "android.hardware.drm@1.0-helper",
Robert Shih3559eb02020-01-20 12:27:27 -080039 "libdrmvtshelper",
40 ],
41 export_include_dirs: [
42 "include",
43 ],
44}
45
46cc_test {
47 name: "VtsHalDrmV1_3TargetTest",
48 defaults: ["VtsHalTargetTestDefaults"],
49 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
50 srcs: [
51 "drm_hal_test_main.cpp",
52 ],
53 whole_static_libs: [
54 "android.hardware.drm@1.0-vts",
55 "android.hardware.drm@1.1-vts",
56 "android.hardware.drm@1.2-vts",
57 "android.hardware.drm@1.3-vts",
58 ],
59 shared_libs: [
60 "android.hardware.drm@1.0",
61 "android.hardware.drm@1.1",
62 "android.hardware.drm@1.2",
63 "android.hardware.drm@1.3",
64 "android.hidl.allocator@1.0",
65 "android.hidl.memory@1.0",
Robert Shih65f6b952020-02-26 15:25:51 -080066 "libcrypto",
Robert Shih3559eb02020-01-20 12:27:27 -080067 "libhidlmemory",
68 "libnativehelper",
69 ],
70 static_libs: [
71 "android.hardware.drm@1.0-helper",
Robert Shih3559eb02020-01-20 12:27:27 -080072 "libdrmvtshelper",
73 ],
74 test_suites: [
75 "general-tests",
76 "vts-core",
77 ],
78}