Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2020 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 | |
| 17 | TARGET_KERNEL_DIR := device/google/raviole-kernel |
| 18 | |
| 19 | $(call inherit-product-if-exists, vendor/google_devices/raviole/prebuilts/device-vendor-whitefin.mk) |
| 20 | $(call inherit-product-if-exists, vendor/google_devices/gs101/prebuilts/device-vendor.mk) |
| 21 | $(call inherit-product-if-exists, vendor/google_devices/gs101/proprietary/device-vendor.mk) |
| 22 | |
| 23 | DEVICE_PACKAGE_OVERLAYS += device/google/raviole/whitefin/overlay |
| 24 | |
| 25 | include device/google/gs101/device-common.mk |
| 26 | include hardware/google/pixel/vibrator/drv2624/device.mk |
| 27 | include device/google/raviole/audio/whitefin/audio-tables.mk |
| 28 | |
| 29 | # Init files |
| 30 | PRODUCT_COPY_FILES += \ |
| 31 | device/google/raviole/conf/init.whitefin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.whitefin.rc |
| 32 | |
| 33 | # Recovery files |
| 34 | PRODUCT_COPY_FILES += \ |
| 35 | device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.whitefin.rc |
| 36 | |
| 37 | # insmod files |
| 38 | PRODUCT_COPY_FILES += \ |
| 39 | device/google/raviole/init.insmod.whitefin.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.whitefin.cfg |
| 40 | |
| 41 | # Thermal Config |
| 42 | PRODUCT_COPY_FILES += \ |
| 43 | device/google/raviole/thermal_info_config_whitefin.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json |
| 44 | |
| 45 | # Camera |
| 46 | PRODUCT_COPY_FILES += \ |
| 47 | device/google/raviole/media_profiles_whitefin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml |
| 48 | |
| 49 | # Bluetooth |
| 50 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 51 | ro.bluetooth.a2dp_offload.supported=false |
| 52 | |
| 53 | # NFC |
| 54 | PRODUCT_COPY_FILES += \ |
| 55 | device/google/gs101/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf |