Home | History | Annotate | Download | only in marlin
      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/audio_platform_info_tasha_sailfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \
     48     device/google/marlin/init.recovery.common.rc:recovery/root/init.recovery.sailfish.rc
     49 
     50 # Sensor packages
     51 PRODUCT_PACKAGES += \
     52     sensors.sailfish \
     53     activity_recognition.sailfish
     54 
     55 PRODUCT_COPY_FILES += \
     56     device/google/marlin/nfc/libnfc-nxp.sailfish.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
     57 
     58 # Led packages
     59 PRODUCT_PACKAGES += \
     60     lights.sailfish
     61 
     62 # VR packages
     63 PRODUCT_PACKAGES += \
     64     vr.sailfish
     65 
     66 # Fingerprint
     67 PRODUCT_PACKAGES += \
     68     fingerprint.sailfish
     69 
     70 $(call add-product-sanitizer-module-config,wpa_supplicant,never)
     71 $(call add-product-sanitizer-module-config,toybox_vendor,never)
     72 $(call add-product-sanitizer-module-config,thermal-engine,never)
     73 $(call add-product-sanitizer-module-config,netmgrd,never)
     74 $(call add-product-sanitizer-module-config,mm-camera,never)
     75 $(call add-product-sanitizer-module-config,myftm,never)
     76 $(call add-product-sanitizer-module-config,libqcril,never)
     77 $(call add-product-sanitizer-module-config,hostapd,never)
     78