blob: 55e721e55e2d0d3c8c8a868a507afda400afb316 [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",
Sally Qi0435c6b2022-08-30 15:13:10 -070030 "android.hardware.graphics.allocator-ndk_static",
Sally Qi784c2532022-08-22 13:50:32 -070031 "android.hardware.graphics.common-ndk_static",
32 ],
Marissa Wall65341642019-06-20 13:21:06 -070033 srcs: ["MapperVts.cpp"],
34 cflags: [
35 "-O0",
36 "-g",
37 ],
38 static_libs: [
39 "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: [
49 "android.hardware.graphics.allocator@4.0",
Alec Mouri38ccfd72022-05-16 20:20:28 +000050 "android.hardware.graphics.common-V3-ndk",
Marissa Wall65341642019-06-20 13:21:06 -070051 "android.hardware.graphics.mapper@4.0",
52 ],
53 export_include_dirs: ["include"],
54}