• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
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#
16
17# This file includes all definitions that apply to ALL marlin devices
18#
19# Everything in this directory will become public
20
21PRODUCT_AAPT_CONFIG := normal
22PRODUCT_AAPT_PREF_CONFIG := xxhdpi
23PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
24
25-include device/google/marlin/device-common.mk
26
27# Overlay
28DEVICE_PACKAGE_OVERLAYS += device/google/marlin/sailfish/overlay
29
30# display
31PRODUCT_PROPERTY_OVERRIDES += \
32    ro.sf.lcd_density=420
33
34# Audio
35PRODUCT_PROPERTY_OVERRIDES += \
36    ro.config.vc_call_vol_steps=7
37
38# HWUI cache sizes
39PRODUCT_PROPERTY_OVERRIDES += \
40    ro.hwui.texture_cache_size=56 \
41    ro.hwui.layer_cache_size=32 \
42    ro.hwui.path_cache_size=16
43
44PRODUCT_COPY_FILES += \
45    device/google/marlin/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.sailfish \
46    device/google/marlin/init.recovery.common.rc:root/init.recovery.sailfish.rc
47
48# Sensor packages
49PRODUCT_PACKAGES += \
50    sensors.sailfish \
51    activity_recognition.sailfish
52
53# NFC packages
54PRODUCT_PACKAGES += \
55    nfc_nci.sailfish
56
57PRODUCT_COPY_FILES += \
58    device/google/marlin/nfc/libnfc-nxp.sailfish.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
59
60# Led packages
61PRODUCT_PACKAGES += \
62    lights.sailfish
63
64# Thermal packages
65PRODUCT_PACKAGES += \
66    thermal.sailfish
67
68# VR packages
69PRODUCT_PACKAGES += \
70    vr.sailfish
71
72# Fingerprint
73PRODUCT_PACKAGES += \
74    fingerprint.sailfish
75