blob: fffea3b5f2e14673cf3f7ecf6d7468561d9a5ab3 [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
Bob Badourb224b362021-02-12 20:13:01 -080016package {
17 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "hardware_interfaces_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["hardware_interfaces_license"],
23}
24
Chia-I Wu0f215c52016-10-11 11:48:21 +080025cc_library_shared {
Chia-I Wu158d5302016-10-04 06:00:12 +080026 name: "android.hardware.graphics.mapper@2.0-impl",
Steven Moreland48c52242017-03-08 16:11:32 -080027 defaults: ["hidl_defaults"],
Steven Morelandfed12442017-04-12 09:39:54 -070028 vendor: true,
Chia-I Wu0f215c52016-10-11 11:48:21 +080029 relative_install_path: "hw",
Chia-I Wu821c4c42017-12-12 15:12:02 -080030 srcs: ["passthrough.cpp"],
31 header_libs: [
32 "android.hardware.graphics.mapper@2.0-passthrough"
33 ],
Chia-I Wu0f215c52016-10-11 11:48:21 +080034 shared_libs: [
Chia-I Wu158d5302016-10-04 06:00:12 +080035 "android.hardware.graphics.mapper@2.0",
36 "libbase",
37 "libcutils",
Chia-I Wu0f215c52016-10-11 11:48:21 +080038 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080039 "libhidlbase",
Chia-I Wu0f215c52016-10-11 11:48:21 +080040 "liblog",
Chia-I Wu79d13ff2017-03-31 12:48:11 -070041 "libsync",
Chia-I Wu158d5302016-10-04 06:00:12 +080042 "libutils",
Chia-I Wu0f215c52016-10-11 11:48:21 +080043 ],
Chia-I Wu821c4c42017-12-12 15:12:02 -080044 cflags: ["-DLOG_TAG=\"MapperHal\""],
Chia-I Wu79d13ff2017-03-31 12:48:11 -070045}