blob: 053a564023cb7ab9012b5428e6b9268be98a68df [file] [log] [blame]
Jeff Tinker203c8512018-02-01 02:19:10 -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 Shiha78064a2020-01-22 15:09:33 -080017cc_library_static {
18 name: "android.hardware.drm@1.1-vts",
Jeff Tinker203c8512018-02-01 02:19:10 -080019 defaults: ["VtsHalTargetTestDefaults"],
Robert Shiha78064a2020-01-22 15:09:33 -080020 include_dirs: [
21 "hardware/interfaces/drm/1.0/vts/functional",
22 ],
23 local_include_dirs: [
24 "include",
25 ],
Jeff Tinker203c8512018-02-01 02:19:10 -080026 srcs: [
Dan Shid5f85882019-10-23 12:45:55 -070027 "drm_hal_clearkey_test.cpp",
Jeff Tinker203c8512018-02-01 02:19:10 -080028 ],
Robert Shiha78064a2020-01-22 15:09:33 -080029 shared_libs: [
Jeff Tinker203c8512018-02-01 02:19:10 -080030 "android.hardware.drm@1.0",
31 "android.hardware.drm@1.1",
Jeff Tinker203c8512018-02-01 02:19:10 -080032 "android.hidl.allocator@1.0",
33 "android.hidl.memory@1.0",
34 "libhidlmemory",
35 "libnativehelper",
Robert Shiha78064a2020-01-22 15:09:33 -080036 ],
37 static_libs: [
38 "libdrmvtshelper",
39 ],
40 export_shared_lib_headers: [
41 "android.hardware.drm@1.0",
42 "android.hardware.drm@1.1",
43 "android.hidl.allocator@1.0",
44 "android.hidl.memory@1.0",
45 "libhidlmemory",
46 "libnativehelper",
47 ],
48 export_static_lib_headers: [
49 "libdrmvtshelper",
50 ],
51 export_include_dirs: [
52 "include",
53 ],
54}
55
56cc_test {
57 name: "VtsHalDrmV1_1TargetTest",
58 defaults: ["VtsHalTargetTestDefaults"],
59 srcs: [
60 "drm_hal_test_main.cpp",
61 ],
62 whole_static_libs: [
Dan Shi3d0285b2020-02-25 15:42:48 -080063 "android.hardware.drm@1.1-vts",
Robert Shiha78064a2020-01-22 15:09:33 -080064 ],
65 shared_libs: [
66 "android.hardware.drm@1.1",
Jeff Tinker203c8512018-02-01 02:19:10 -080067 ],
Dan Shi3d0285b2020-02-25 15:42:48 -080068 arch: {
69 arm: {
70 data: [":libvtswidevine-arm-prebuilts"],
71 },
72 arm64: {
73 data: [":libvtswidevine-arm64-prebuilts"],
74 },
75 x86: {
76 data: [":libvtswidevine-x86-prebuilts"],
77 },
78 x86_64: {
79 data: [":libvtswidevine-x86_64-prebuilts"],
80 },
81 },
Dan Shid5f85882019-10-23 12:45:55 -070082 test_suites: [
83 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070084 "vts",
Dan Shid5f85882019-10-23 12:45:55 -070085 ],
Jeff Tinker203c8512018-02-01 02:19:10 -080086}