blob: 7656deaa5548d23369e3c40c2bc23e53d921afa2 [file] [log] [blame]
padarshr1ebabf02018-12-14 19:20:10 +05301$(call inherit-product, device/qcom/qssi/base.mk)
2
3# For PRODUCT_COPY_FILES, the first instance takes precedence.
4# Since we want use QC specific files, we should inherit
5# device-vendor.mk first to make sure QC specific files gets installed.
6$(call inherit-product-if-exists, $(QCPATH)/common/config/device-vendor-qssi.mk)
7$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
8$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
9
10PRODUCT_BRAND := qcom
11PRODUCT_AAPT_CONFIG += hdpi mdpi
12
13PRODUCT_MANUFACTURER := QUALCOMM
14
15PRODUCT_PROPERTY_OVERRIDES += \
padarshr1ebabf02018-12-14 19:20:10 +053016 persist.backup.ntpServer=0.pool.ntp.org \
17 sys.vendor.shutdown.waittime=500
18
19ifneq ($(BOARD_FRP_PARTITION_NAME),)
20 PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/$(BOARD_FRP_PARTITION_NAME)
21else
22 PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/config
23endif
24
25# whitelisted app
26PRODUCT_COPY_FILES += \
Benergy Meenan Ravuri3de3a052020-03-19 15:19:09 +053027 device/qcom/qssi/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml \
28 device/qcom/qssi/qti_whitelist_system_ext.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist_system_ext.xml
padarshr1ebabf02018-12-14 19:20:10 +053029
30PRODUCT_COPY_FILES += \
Benergy Meenan Ravuri3de3a052020-03-19 15:19:09 +053031 device/qcom/qssi/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml \
32 device/qcom/qssi/privapp-permissions-qti-system-ext.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti-system-ext.xml
padarshr1ebabf02018-12-14 19:20:10 +053033
Mulugeta Engdawfd11c892020-02-05 17:32:22 -080034PRODUCT_PRIVATE_KEY := vendor/qcom/opensource/core-utils/build/qcom.key
padarshr1ebabf02018-12-14 19:20:10 +053035
36ifneq ($(TARGET_DEFINES_DALVIK_HEAP), true)
37ifneq ($(TARGET_HAS_LOW_RAM), true)
38$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
39endif
40endif
41
42#$(call inherit-product, frameworks/base/data/fonts/fonts.mk)
43#$(call inherit-product, frameworks/base/data/keyboards/keyboards.mk)