blob: 4be157584b0955833c29d697da59d4d6ef93318f [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",
33 "libhidlmemory",
34 "libnativehelper",
35 ],
36 static_libs: [
37 "android.hardware.drm@1.0-helper",
38 "libcrypto_static",
39 "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",
66 "libhidlmemory",
67 "libnativehelper",
68 ],
69 static_libs: [
70 "android.hardware.drm@1.0-helper",
71 "libcrypto_static",
72 "libdrmvtshelper",
73 ],
74 test_suites: [
75 "general-tests",
76 "vts-core",
77 ],
78}