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 17package { 18 default_team: "trendy_team_android_media_drm", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "hardware_interfaces_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["hardware_interfaces_license"], 25} 26 27cc_library_static { 28 name: "[email protected]", 29 defaults: ["VtsHalTargetTestDefaults"], 30 local_include_dirs: [ 31 "include", 32 ], 33 srcs: [ 34 "drm_hal_test.cpp", 35 ], 36 shared_libs: [ 37 "[email protected]", 38 "[email protected]", 39 "[email protected]", 40 "[email protected]", 41 "[email protected]", 42 "[email protected]", 43 "libcrypto", 44 "libhidlmemory", 45 "libnativehelper", 46 ], 47 static_libs: [ 48 "[email protected]", 49 "libdrmvtshelper", 50 ], 51 export_include_dirs: [ 52 "include", 53 ], 54} 55 56cc_test { 57 name: "VtsHalDrmV1_3TargetTest", 58 defaults: ["VtsHalTargetTestDefaults"], 59 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"], 60 srcs: [ 61 "drm_hal_test_main.cpp", 62 ], 63 whole_static_libs: [ 64 "[email protected]", 65 "[email protected]", 66 "[email protected]", 67 "[email protected]", 68 ], 69 shared_libs: [ 70 "[email protected]", 71 "[email protected]", 72 "[email protected]", 73 "[email protected]", 74 "[email protected]", 75 "[email protected]", 76 "libcrypto", 77 "libhidlmemory", 78 "libnativehelper", 79 ], 80 static_libs: [ 81 "[email protected]", 82 "libdrmvtshelper", 83 ], 84 arch: { 85 arm: { 86 data: [":libvtswidevine-arm-prebuilts"], 87 }, 88 arm64: { 89 data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"], 90 }, 91 x86: { 92 data: [":libvtswidevine-x86-prebuilts"], 93 }, 94 x86_64: { 95 data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"], 96 }, 97 }, 98 test_suites: [ 99 "general-tests", 100 "vts", 101 ], 102} 103