Self-Contained Component Module-Related Defs And QSSI mk Separation
- Create copies of common mks within QSSI, to be used by Qssi lunch
and all QSSI targets.
- Add framework to dynamically pickup product & board definitions
contributing to system image.
Change-Id: I60cf8a412d22efe50bafb5547b67bc795d0f8c43
diff --git a/common64.mk b/common64.mk
new file mode 100755
index 0000000..4352855
--- /dev/null
+++ b/common64.mk
@@ -0,0 +1,46 @@
+$(call inherit-product, device/qcom/qssi/base.mk)
+
+# For PRODUCT_COPY_FILES, the first instance takes precedence.
+# Since we want use QC specific files, we should inherit
+# device-vendor.mk first to make sure QC specific files gets installed.
+$(call inherit-product-if-exists, $(QCPATH)/common/config/device-vendor-qssi.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
+
+PRODUCT_BRAND := qcom
+PRODUCT_AAPT_CONFIG += hdpi mdpi
+
+PRODUCT_MANUFACTURER := QUALCOMM
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.vendor.extension_library=libqti-perfd-client.so \
+ persist.vendor.radio.apm_sim_not_pwdn=1 \
+ persist.vendor.radio.sib16_support=1 \
+ persist.vendor.radio.custom_ecc=1 \
+ persist.vendor.radio.rat_on=combine \
+ persist.backup.ntpServer=0.pool.ntp.org \
+ sys.vendor.shutdown.waittime=500
+
+ifneq ($(BOARD_FRP_PARTITION_NAME),)
+ PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/$(BOARD_FRP_PARTITION_NAME)
+else
+ PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/config
+endif
+
+# whitelisted app
+PRODUCT_COPY_FILES += \
+ device/qcom/common/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
+
+PRODUCT_COPY_FILES += \
+ device/qcom/common/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
+
+PRODUCT_PRIVATE_KEY := device/qcom/common/qcom.key
+
+ifneq ($(TARGET_DEFINES_DALVIK_HEAP), true)
+ifneq ($(TARGET_HAS_LOW_RAM), true)
+$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
+endif
+endif
+
+#$(call inherit-product, frameworks/base/data/fonts/fonts.mk)
+#$(call inherit-product, frameworks/base/data/keyboards/keyboards.mk)