1// 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 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 include_dirs: [ 31 "hardware/interfaces/drm/1.0/vts/functional", 32 ], 33 local_include_dirs: [ 34 "include", 35 ], 36 tidy_timeout_srcs: [ 37 "drm_hal_clearkey_test.cpp", 38 ], 39 srcs: [ 40 "drm_hal_clearkey_test.cpp", 41 ], 42 shared_libs: [ 43 "[email protected]", 44 "[email protected]", 45 "[email protected]", 46 "[email protected]", 47 "libhidlmemory", 48 "libnativehelper", 49 ], 50 static_libs: [ 51 "libdrmvtshelper", 52 ], 53 export_shared_lib_headers: [ 54 "[email protected]", 55 "[email protected]", 56 "[email protected]", 57 "[email protected]", 58 "libhidlmemory", 59 "libnativehelper", 60 ], 61 export_static_lib_headers: [ 62 "libdrmvtshelper", 63 ], 64 export_include_dirs: [ 65 "include", 66 ], 67} 68 69cc_test { 70 name: "VtsHalDrmV1_1TargetTest", 71 defaults: ["VtsHalTargetTestDefaults"], 72 srcs: [ 73 "drm_hal_test_main.cpp", 74 ], 75 whole_static_libs: [ 76 "[email protected]", 77 ], 78 shared_libs: [ 79 "[email protected]", 80 ], 81 arch: { 82 arm: { 83 data: [":libvtswidevine-arm-prebuilts"], 84 }, 85 arm64: { 86 data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"], 87 }, 88 x86: { 89 data: [":libvtswidevine-x86-prebuilts"], 90 }, 91 x86_64: { 92 data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"], 93 }, 94 }, 95 test_suites: [ 96 "general-tests", 97 "vts", 98 ], 99} 100