blob: fd538ae55ce4ea18c013a664bab0125859ad4868 [file] [log] [blame]
Marissa Wall65341642019-06-20 13:21:06 -07001//
2// Copyright (C) 2019 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
Bob Badourc22b35b2021-02-23 14:26:20 -080017package {
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
Marissa Wall65341642019-06-20 13:21:06 -070026cc_library_static {
27 name: "android.hardware.graphics.mapper@4.0-vts",
Sally Qi784c2532022-08-22 13:50:32 -070028 defaults: [
29 "VtsHalTargetTestDefaults",
30 "android.hardware.graphics.common-ndk_static",
31 ],
Marissa Wall65341642019-06-20 13:21:06 -070032 srcs: ["MapperVts.cpp"],
33 cflags: [
34 "-O0",
35 "-g",
36 ],
37 static_libs: [
Alec Mouri38ccfd72022-05-16 20:20:28 +000038 "android.hardware.graphics.allocator-V1-ndk",
Marissa Wall65341642019-06-20 13:21:06 -070039 "android.hardware.graphics.allocator@4.0",
40 "android.hardware.graphics.mapper@4.0",
Alec Mouri38ccfd72022-05-16 20:20:28 +000041 "libaidlcommonsupport",
Marissa Wall65341642019-06-20 13:21:06 -070042 ],
Marissa Wall88d87fa2019-11-05 14:57:51 -080043 shared_libs: [
Alec Mouri38ccfd72022-05-16 20:20:28 +000044 "libbinder_ndk",
Marissa Wall88d87fa2019-11-05 14:57:51 -080045 "libgralloctypes",
Alec Mouri38ccfd72022-05-16 20:20:28 +000046 "libvndksupport",
Marissa Wall88d87fa2019-11-05 14:57:51 -080047 ],
Marissa Wall65341642019-06-20 13:21:06 -070048 export_static_lib_headers: [
Alec Mouri38ccfd72022-05-16 20:20:28 +000049 "android.hardware.graphics.allocator-V1-ndk",
Marissa Wall65341642019-06-20 13:21:06 -070050 "android.hardware.graphics.allocator@4.0",
Alec Mouri38ccfd72022-05-16 20:20:28 +000051 "android.hardware.graphics.common-V3-ndk",
Marissa Wall65341642019-06-20 13:21:06 -070052 "android.hardware.graphics.mapper@4.0",
53 ],
54 export_include_dirs: ["include"],
55}