blob: c5f124c45fcf703090a4689adb7ac73a237048f0 [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 {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000018 default_team: "trendy_team_android_core_graphics_stack",
Bob Badourc22b35b2021-02-23 14:26:20 -080019 // 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
Marissa Wall65341642019-06-20 13:21:06 -070027cc_library_static {
28 name: "android.hardware.graphics.mapper@4.0-vts",
Sally Qi784c2532022-08-22 13:50:32 -070029 defaults: [
30 "VtsHalTargetTestDefaults",
Sally Qi0435c6b2022-08-30 15:13:10 -070031 "android.hardware.graphics.allocator-ndk_static",
Sally Qi784c2532022-08-22 13:50:32 -070032 "android.hardware.graphics.common-ndk_static",
33 ],
Marissa Wall65341642019-06-20 13:21:06 -070034 srcs: ["MapperVts.cpp"],
35 cflags: [
36 "-O0",
37 "-g",
38 ],
39 static_libs: [
40 "android.hardware.graphics.allocator@4.0",
41 "android.hardware.graphics.mapper@4.0",
Alec Mouri38ccfd72022-05-16 20:20:28 +000042 "libaidlcommonsupport",
Marissa Wall65341642019-06-20 13:21:06 -070043 ],
Marissa Wall88d87fa2019-11-05 14:57:51 -080044 shared_libs: [
Alec Mouri38ccfd72022-05-16 20:20:28 +000045 "libbinder_ndk",
Marissa Wall88d87fa2019-11-05 14:57:51 -080046 "libgralloctypes",
Alec Mouri38ccfd72022-05-16 20:20:28 +000047 "libvndksupport",
Marissa Wall88d87fa2019-11-05 14:57:51 -080048 ],
Marissa Wall65341642019-06-20 13:21:06 -070049 export_static_lib_headers: [
50 "android.hardware.graphics.allocator@4.0",
sergiuferentz7d7a24d2023-09-27 03:13:04 +000051 "android.hardware.graphics.common-V5-ndk",
Marissa Wall65341642019-06-20 13:21:06 -070052 "android.hardware.graphics.mapper@4.0",
53 ],
54 export_include_dirs: ["include"],
55}