blob: 3513de64ddfcaeb927dc4502fabf39765db76dcc [file] [log] [blame]
David Ng06081d62014-05-29 12:33:24 -07001$(call inherit-product, device/qcom/common/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.mk)
David Ng74b481c2015-10-13 11:06:57 -07007$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
Vijayakumar Badigere49dc9d2020-12-13 18:37:06 -08008ifeq ($(TARGET_BOARD_AUTO), true)
9 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
10else
11 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
12endif
13
David Ng06081d62014-05-29 12:33:24 -070014
15PRODUCT_BRAND := qcom
Maunik Shah66c788a2014-11-12 19:42:04 +053016PRODUCT_AAPT_CONFIG += hdpi mdpi
David Ng06081d62014-05-29 12:33:24 -070017
Houston Hoffmana42f8be2014-08-25 14:17:32 -070018PRODUCT_MANUFACTURER := QUALCOMM
Houston Hoffmana42f8be2014-08-25 14:17:32 -070019
David Ng06081d62014-05-29 12:33:24 -070020PRODUCT_PROPERTY_OVERRIDES += \
Vince Leungd73695b2014-08-15 16:09:36 -070021 ro.vendor.extension_library=libqti-perfd-client.so \
Vijayakumar Badigere49dc9d2020-12-13 18:37:06 -080022 persist.backup.ntpServer=0.pool.ntp.org \
23 sys.vendor.shutdown.waittime=500
24
25
26ifneq ($(TARGET_BOARD_AUTO), true)
27PRODUCT_PROPERTY_OVERRIDES += \
Jiju Kinattingal23608cd2018-01-11 23:02:33 +053028 persist.vendor.radio.apm_sim_not_pwdn=1 \
Yujing Gu1df23102017-06-19 13:51:17 +080029 persist.vendor.radio.sib16_support=1 \
30 persist.vendor.radio.custom_ecc=1 \
zljing05aa93b2017-08-02 14:44:58 +080031 persist.vendor.radio.rat_on=combine \
Sandeep Gutta75bf37b2019-07-17 18:08:08 +053032 persist.vendor.radio.procedure_bytes=SKIP
Vijayakumar Badigere49dc9d2020-12-13 18:37:06 -080033endif
Uma Maheswari Ramalingam7569a8f2017-04-01 11:15:23 -070034
Nasiffd61fb62019-12-19 20:20:41 +053035ifneq ($(ENABLE_HYP),true)
Ameya Thakure04199f2016-08-05 11:27:37 -070036ifneq ($(BOARD_FRP_PARTITION_NAME),)
37 PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/$(BOARD_FRP_PARTITION_NAME)
38else
39 PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/config
40endif
Nasiffd61fb62019-12-19 20:20:41 +053041endif
David Ng06081d62014-05-29 12:33:24 -070042
Ruthwar Kumar Ambeera6cd79b2017-04-10 15:41:38 +053043# whitelisted app
44PRODUCT_COPY_FILES += \
Benergy Meenan Ravurifdc1bf32020-03-24 15:09:13 +053045 device/qcom/common/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
Ruthwar Kumar Ambeera6cd79b2017-04-10 15:41:38 +053046
Devi Sandeep Endluri V V81c40e92017-10-30 10:24:53 +053047PRODUCT_COPY_FILES += \
Benergy Meenan Ravurifdc1bf32020-03-24 15:09:13 +053048 device/qcom/common/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
Devi Sandeep Endluri V V81c40e92017-10-30 10:24:53 +053049
Vijayakumar Badiger34d2ca72020-02-06 17:16:58 -080050ifneq ($(TARGET_BOARD_AUTO),true)
Srikanth Chintalac786fe12019-06-19 15:00:59 +053051#copy telephony app's permissions
Umashankar Godachi5323ebe2020-04-30 15:24:14 +053052PRODUCT_COPY_FILES += $(QCPATH)/commonsys/telephony-build/build/telephony_product_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/telephony_product_privapp-permissions-qti.xml
53
54PRODUCT_COPY_FILES += $(QCPATH)/commonsys/telephony-build/build/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
Vijayakumar Badiger34d2ca72020-02-06 17:16:58 -080055endif
Srikanth Chintalac786fe12019-06-19 15:00:59 +053056
Mohammad Asaad Akram971e1772019-07-09 18:42:56 +053057# Permission for Wi-Fi passpoint support
58PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml
59
David Ng06081d62014-05-29 12:33:24 -070060PRODUCT_PRIVATE_KEY := device/qcom/common/qcom.key
61
Pullakavi Srinivas75bd3742017-10-27 19:21:16 +053062ifneq ($(TARGET_DEFINES_DALVIK_HEAP), true)
Shibin George91ee9622018-06-08 11:35:23 +053063ifneq ($(TARGET_HAS_LOW_RAM), true)
David Ng06081d62014-05-29 12:33:24 -070064$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
Pullakavi Srinivas75bd3742017-10-27 19:21:16 +053065endif
Shibin George91ee9622018-06-08 11:35:23 +053066endif
Pullakavi Srinivas75bd3742017-10-27 19:21:16 +053067
David Ng06081d62014-05-29 12:33:24 -070068#$(call inherit-product, frameworks/base/data/fonts/fonts.mk)
69#$(call inherit-product, frameworks/base/data/keyboards/keyboards.mk)