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