• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 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#
16
17PRODUCT_HARDWARE := bonito
18
19include device/google/bonito/device-common.mk
20
21DEVICE_PACKAGE_OVERLAYS += device/google/bonito/bonito/overlay
22
23# SKU specific RROs
24PRODUCT_PACKAGES += \
25    SettingsOverlayG020A \
26    SettingsOverlayG020B \
27    SettingsOverlayG020C \
28    SettingsOverlayG020D \
29
30# Setup wizard overlay packages for ActiveEdge
31PRODUCT_PACKAGES += \
32    PixelSetupWizardOverlayActiveEdge \
33
34PRODUCT_COPY_FILES += \
35    device/google/bonito/nfc/libnfc-nxp.bonito.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
36    device/google/bonito/nfc/libnfc-nxp.bonito.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020A.conf \
37    device/google/bonito/nfc/libnfc-nxp.bonito.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020B.conf \
38    device/google/bonito/nfc/libnfc-nxp.bonito.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020C.conf \
39    device/google/bonito/nfc/libnfc-nxp.bonito.ese.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020D.conf
40
41# Vibrator HAL
42PRODUCT_PRODUCT_PROPERTIES +=\
43    ro.vibrator.hal.config.dynamic=1 \
44    ro.vibrator.hal.click.duration=8 \
45    ro.vibrator.hal.tick.duration=5 \
46    ro.vibrator.hal.heavyclick.duration=12 \
47    ro.vibrator.hal.short.voltage=120 \
48    ro.vibrator.hal.long.voltage=90 \
49    ro.vibrator.hal.long.frequency.shift=10 \
50    ro.vibrator.hal.double_click.duration=182
51
52# DRV2624 Haptics Waveform
53PRODUCT_COPY_FILES += \
54    device/google/bonito/vibrator/drv2624/drv2624_B4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin
55
56# camera front flashColor
57PRODUCT_PROPERTY_OVERRIDES += \
58    persist.camera.front.flashColor=0xffebcc
59
60# Add white point compensated coefficient
61PRODUCT_PROPERTY_OVERRIDES += \
62    vendor.display.adaptive_white_coefficient=0.0051,-0.3462,18.964,0.0047,-0.1155,-10.312,0.005,-0.2931,12.301
63