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 21 PRODUCT_AAPT_CONFIG := normal 22 PRODUCT_AAPT_PREF_CONFIG := xxhdpi 23 PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi 24 25 -include device/google/marlin/device-common.mk 26 27 # Overlay 28 DEVICE_PACKAGE_OVERLAYS += device/google/marlin/sailfish/overlay 29 30 # display 31 PRODUCT_PROPERTY_OVERRIDES += \ 32 ro.sf.lcd_density=420 33 34 # Audio 35 PRODUCT_PROPERTY_OVERRIDES += \ 36 ro.config.vc_call_vol_steps=7 \ 37 fmas.hdph_sgain=0 38 39 # HWUI cache sizes 40 PRODUCT_PROPERTY_OVERRIDES += \ 41 ro.hwui.texture_cache_size=56 \ 42 ro.hwui.layer_cache_size=32 \ 43 ro.hwui.path_cache_size=16 44 45 PRODUCT_COPY_FILES += \ 46 device/google/marlin/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.sailfish \ 47 device/google/marlin/init.recovery.common.rc:root/init.recovery.sailfish.rc 48 49 # Sensor packages 50 PRODUCT_PACKAGES += \ 51 sensors.sailfish \ 52 activity_recognition.sailfish 53 54 # NFC packages 55 PRODUCT_PACKAGES += \ 56 nfc_nci.sailfish 57 58 PRODUCT_COPY_FILES += \ 59 device/google/marlin/nfc/libnfc-nxp.sailfish.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf 60 61 # Led packages 62 PRODUCT_PACKAGES += \ 63 lights.sailfish 64 65 # VR packages 66 PRODUCT_PACKAGES += \ 67 vr.sailfish 68 69 # Fingerprint 70 PRODUCT_PACKAGES += \ 71 fingerprint.sailfish 72