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 := 560dpi 23 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi 24 25 -include device/google/marlin/device-common.mk 26 27 # Overlay 28 DEVICE_PACKAGE_OVERLAYS += device/google/marlin/marlin/overlay 29 30 # display 31 PRODUCT_PROPERTY_OVERRIDES += \ 32 ro.sf.lcd_density=560 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=72 \ 42 ro.hwui.layer_cache_size=48 \ 43 ro.hwui.path_cache_size=32 44 45 PRODUCT_COPY_FILES += \ 46 device/google/marlin/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.marlin \ 47 device/google/marlin/audio_platform_info_tasha_marlin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \ 48 device/google/marlin/init.recovery.common.rc:recovery/root/init.recovery.marlin.rc 49 50 # Sensor packages 51 PRODUCT_PACKAGES += \ 52 sensors.marlin \ 53 activity_recognition.marlin 54 55 PRODUCT_COPY_FILES += \ 56 device/google/marlin/nfc/libnfc-nxp.marlin.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf 57 58 # Led packages 59 PRODUCT_PACKAGES += \ 60 lights.marlin 61 62 # VR packages 63 PRODUCT_PACKAGES += \ 64 vr.marlin 65 66 # Fingerprint 67 PRODUCT_PACKAGES += \ 68 fingerprint.marlin 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