xref: /aosp_15_r20/hardware/interfaces/drm/1.4/vts/functional/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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
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        "[email protected]",
44        "libhidlmemory",
45        "libnativehelper",
46    ],
47    static_libs: [
48        "[email protected]",
49        "[email protected]",
50        "libdrmvtshelper",
51    ],
52    export_static_lib_headers: [
53        "[email protected]",
54    ],
55    export_include_dirs: [
56        "include",
57    ],
58}
59
60cc_test {
61    name: "VtsHalDrmV1_4TargetTest",
62    defaults: ["VtsHalTargetTestDefaults"],
63    include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
64    srcs: [
65        "drm_hal_test_main.cpp",
66    ],
67    whole_static_libs: [
68        "[email protected]",
69    ],
70    shared_libs: [
71        "[email protected]",
72        "[email protected]",
73        "[email protected]",
74        "[email protected]",
75        "[email protected]",
76        "[email protected]",
77        "[email protected]",
78        "libcrypto",
79        "libhidlmemory",
80        "libnativehelper",
81    ],
82    static_libs: [
83        "[email protected]",
84        "[email protected]",
85        "libdrmvtshelper",
86    ],
87    arch: {
88        arm: {
89            data: [":libvtswidevine-arm-prebuilts"],
90        },
91        arm64: {
92            data: [":libvtswidevine-arm64-prebuilts",":libvtswidevine-arm-prebuilts"],
93        },
94        x86: {
95            data: [":libvtswidevine-x86-prebuilts"],
96        },
97        x86_64: {
98            data: [":libvtswidevine-x86_64-prebuilts",":libvtswidevine-x86-prebuilts"],
99        },
100    },
101    test_suites: [
102        "general-tests",
103        "vts",
104    ],
105}
106