blob: 677d96611308c3848d02a5c6773472aff97d1a91 [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 Morelandfed12442017-04-12 09:39:54 -070019 vendor: 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
Steven Morelandfed12442017-04-12 09:39:54 -070036cc_library_headers {
Chia-I Wu79d13ff2017-03-31 12:48:11 -070037 name: "libgrallocmapperincludes",
Steven Morelandfed12442017-04-12 09:39:54 -070038 vendor: true,
Chia-I Wu79d13ff2017-03-31 12:48:11 -070039 export_include_dirs: ["."],
40}