Robert Shih | 5904a72 | 2022-01-14 12:43:22 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2021 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 | package { |
| 17 | // See: http://go/android-license-faq |
| 18 | // A large-scale-change added 'default_applicable_licenses' to import |
| 19 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 20 | // to get the below license kinds: |
| 21 | // SPDX-license-identifier-Apache-2.0 |
| 22 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 23 | } |
| 24 | |
| 25 | cc_test { |
| 26 | name: "VtsAidlHalDrmTargetTest", |
| 27 | defaults: [ |
| 28 | "VtsHalTargetTestDefaults", |
| 29 | "use_libaidlvintf_gtest_helper_static", |
| 30 | ], |
| 31 | srcs: [ |
| 32 | "drm_hal_common.cpp", |
| 33 | "drm_hal_test.cpp", |
| 34 | "drm_hal_test_main.cpp", |
| 35 | ], |
| 36 | local_include_dirs: [ |
| 37 | "include", |
| 38 | ], |
| 39 | header_libs: [ |
| 40 | "drm_hal_vendor_module_headers", |
| 41 | ], |
| 42 | shared_libs: [ |
| 43 | "libandroid", |
| 44 | "libbinder_ndk", |
| 45 | "libcrypto", |
| 46 | "libnativehelper", |
| 47 | ], |
| 48 | static_libs: [ |
| 49 | "android.hardware.drm@1.0-helper", |
| 50 | "android.hardware.drm-V1-ndk", |
| 51 | "android.hardware.common-V2-ndk", |
| 52 | "libdrmvtshelper", |
| 53 | "libvtsclearkey", |
| 54 | ], |
| 55 | arch: { |
| 56 | arm: { |
| 57 | data: [":libvtswidevine-arm-prebuilts"], |
| 58 | }, |
| 59 | arm64: { |
| 60 | data: [":libvtswidevine-arm64-prebuilts"], |
| 61 | }, |
| 62 | x86: { |
| 63 | data: [":libvtswidevine-x86-prebuilts"], |
| 64 | }, |
| 65 | x86_64: { |
| 66 | data: [":libvtswidevine-x86_64-prebuilts"], |
| 67 | }, |
| 68 | }, |
| 69 | test_suites: [ |
| 70 | "general-tests", |
| 71 | "vts", |
| 72 | ], |
| 73 | } |