Chia-I Wu | 158d530 | 2016-10-04 06:00:12 +0800 | [diff] [blame] | 1 | // |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 2 | // 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 Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame^] | 16 | package { |
| 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 Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 25 | cc_library_shared { |
Chia-I Wu | 158d530 | 2016-10-04 06:00:12 +0800 | [diff] [blame] | 26 | name: "android.hardware.graphics.mapper@2.0-impl", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 27 | defaults: ["hidl_defaults"], |
Steven Moreland | fed1244 | 2017-04-12 09:39:54 -0700 | [diff] [blame] | 28 | vendor: true, |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 29 | relative_install_path: "hw", |
Chia-I Wu | 821c4c4 | 2017-12-12 15:12:02 -0800 | [diff] [blame] | 30 | srcs: ["passthrough.cpp"], |
| 31 | header_libs: [ |
| 32 | "android.hardware.graphics.mapper@2.0-passthrough" |
| 33 | ], |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 34 | shared_libs: [ |
Chia-I Wu | 158d530 | 2016-10-04 06:00:12 +0800 | [diff] [blame] | 35 | "android.hardware.graphics.mapper@2.0", |
| 36 | "libbase", |
| 37 | "libcutils", |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 38 | "libhardware", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 39 | "libhidlbase", |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 40 | "liblog", |
Chia-I Wu | 79d13ff | 2017-03-31 12:48:11 -0700 | [diff] [blame] | 41 | "libsync", |
Chia-I Wu | 158d530 | 2016-10-04 06:00:12 +0800 | [diff] [blame] | 42 | "libutils", |
Chia-I Wu | 0f215c5 | 2016-10-11 11:48:21 +0800 | [diff] [blame] | 43 | ], |
Chia-I Wu | 821c4c4 | 2017-12-12 15:12:02 -0800 | [diff] [blame] | 44 | cflags: ["-DLOG_TAG=\"MapperHal\""], |
Chia-I Wu | 79d13ff | 2017-03-31 12:48:11 -0700 | [diff] [blame] | 45 | } |