blob: 090c61fb392823b8ff6a3569f4f9a96743df04cd [file] [log] [blame]
Chia-I Wu158d5302016-10-04 06:00:12 +08001//
Chia-I Wu0f215c52016-10-11 11:48:21 +08002// Copyright (C) 2016 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
16cc_library_shared {
Chia-I Wu158d5302016-10-04 06:00:12 +080017 name: "android.hardware.graphics.mapper@2.0-impl",
Steven Moreland48c52242017-03-08 16:11:32 -080018 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -080019 proprietary: true,
Chia-I Wu0f215c52016-10-11 11:48:21 +080020 relative_install_path: "hw",
Chia-I Wu79d13ff2017-03-31 12:48:11 -070021 srcs: ["GrallocMapper.cpp", "Gralloc0Mapper.cpp", "Gralloc1Mapper.cpp"],
Chia-I Wu0f215c52016-10-11 11:48:21 +080022 cppflags: ["-Wall", "-Wextra"],
Chia-I Wu0f215c52016-10-11 11:48:21 +080023 shared_libs: [
Chia-I Wu158d5302016-10-04 06:00:12 +080024 "android.hardware.graphics.mapper@2.0",
25 "libbase",
26 "libcutils",
Chia-I Wu0f215c52016-10-11 11:48:21 +080027 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080028 "libhidlbase",
29 "libhidltransport",
Chia-I Wu0f215c52016-10-11 11:48:21 +080030 "liblog",
Chia-I Wu79d13ff2017-03-31 12:48:11 -070031 "libsync",
Chia-I Wu158d5302016-10-04 06:00:12 +080032 "libutils",
Chia-I Wu0f215c52016-10-11 11:48:21 +080033 ],
34}
Chia-I Wu79d13ff2017-03-31 12:48:11 -070035
36cc_library_static {
37 name: "libgrallocmapperincludes",
38 export_include_dirs: ["."],
39}