1// 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 "libcrypto", 34 "libhidlmemory", 35 "libnativehelper", 36 ], 37 static_libs: [ 38 "android.hardware.drm@1.0-helper", 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 "libcrypto", 67 "libhidlmemory", 68 "libnativehelper", 69 ], 70 static_libs: [ 71 "android.hardware.drm@1.0-helper", 72 "libdrmvtshelper", 73 ], 74 arch: { 75 arm: { 76 data: [":libvtswidevine-arm-prebuilts"], 77 }, 78 arm64: { 79 data: [":libvtswidevine-arm64-prebuilts"], 80 }, 81 x86: { 82 data: [":libvtswidevine-x86-prebuilts"], 83 }, 84 x86_64: { 85 data: [":libvtswidevine-x86_64-prebuilts"], 86 }, 87 }, 88 test_suites: [ 89 "general-tests", 90 "vts", 91 ], 92} 93