• 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 := sargo
18
19include device/google/bonito/device-common.mk
20
21DEVICE_PACKAGE_OVERLAYS += device/google/bonito/sargo/overlay
22
23# SKU specific RROs
24PRODUCT_PACKAGES += \
25    SettingsOverlayG020E \
26    SettingsOverlayG020E_VN \
27    SettingsOverlayG020F \
28    SettingsOverlayG020F_VN \
29    SettingsOverlayG020G \
30    SettingsOverlayG020G_VN \
31    SettingsOverlayG020H \
32    SettingsOverlayG020H_VN \
33
34# Setup wizard overlay packages for ActiveEdge
35PRODUCT_PACKAGES += \
36    PixelSetupWizardOverlayActiveEdge \
37
38PRODUCT_COPY_FILES += \
39    device/google/bonito/nfc/libnfc-nxp.sargo.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
40    device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020E.conf \
41    device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020F.conf \
42    device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020G.conf \
43    device/google/bonito/nfc/libnfc-nxp.sargo.ese.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020H.conf
44
45PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.height_ratio=1.2
46
47# Vibrator HAL
48PRODUCT_PRODUCT_PROPERTIES +=\
49    ro.vibrator.hal.config.dynamic=1 \
50    ro.vibrator.hal.click.duration=8 \
51    ro.vibrator.hal.tick.duration=5 \
52    ro.vibrator.hal.heavyclick.duration=12 \
53    ro.vibrator.hal.short.voltage=110 \
54    ro.vibrator.hal.long.voltage=80 \
55    ro.vibrator.hal.long.frequency.shift=10 \
56    ro.vibrator.hal.double_click.duration=182
57
58
59# DRV2624 Haptics Waveform
60PRODUCT_COPY_FILES += \
61    device/google/bonito/vibrator/drv2624/drv2624_S4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin
62
63# camera front flashColor
64PRODUCT_PROPERTY_OVERRIDES += \
65    persist.camera.front.flashColor=0xffe1c1
66
67# Add white point compensated coefficient
68PRODUCT_PROPERTY_OVERRIDES += \
69    vendor.display.adaptive_white_coefficient=0.0031,0.5535,-87.498,0.0031,0.5535,-87.498,0.0031,0.5535,-87.498
70