padarshr | ee36994 | 2019-04-09 15:32:45 +0530 | [diff] [blame] | 1 | #For QSSI, we build only the system image. Here we explicitly set the images |
| 2 | #we build so there is no confusion. |
Mulugeta Engdaw | fd11c89 | 2020-02-05 17:32:22 -0800 | [diff] [blame] | 3 | |
Mohamed Moussa | 2c8c5df | 2020-05-29 17:15:55 -0700 | [diff] [blame] | 4 | #Enable product partition Native I/F. It is automatically set to current if |
| 5 | #the shipping API level for the target is greater than 29 |
| 6 | PRODUCT_PRODUCT_VNDK_VERSION := current |
| 7 | |
| 8 | #Enable product partition Java I/F. It is automatically set to true if |
| 9 | #the shipping API level for the target is greater than 29 |
| 10 | PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true |
| 11 | |
padarshr | ee36994 | 2019-04-09 15:32:45 +0530 | [diff] [blame] | 12 | PRODUCT_BUILD_SYSTEM_IMAGE := true |
| 13 | PRODUCT_BUILD_SYSTEM_OTHER_IMAGE := false |
| 14 | PRODUCT_BUILD_VENDOR_IMAGE := false |
Divya Sharma | 10f07a4 | 2019-09-16 15:59:50 -0700 | [diff] [blame] | 15 | PRODUCT_BUILD_SYSTEM_EXT_IMAGE := false |
padarshr | ee36994 | 2019-04-09 15:32:45 +0530 | [diff] [blame] | 16 | PRODUCT_BUILD_ODM_IMAGE := false |
| 17 | PRODUCT_BUILD_CACHE_IMAGE := false |
Vinayak Soni | 48a17b2 | 2019-04-23 21:10:25 -0700 | [diff] [blame] | 18 | PRODUCT_BUILD_USERDATA_IMAGE := false |
padarshr | ee36994 | 2019-04-09 15:32:45 +0530 | [diff] [blame] | 19 | |
| 20 | #Also, there is no need to build an OTA package as this will be done later |
| 21 | #when we combine this system build with the non-system images. |
| 22 | TARGET_SKIP_OTA_PACKAGE := true |
| 23 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 24 | # Enable AVB 2.0 |
| 25 | BOARD_AVB_ENABLE := true |
| 26 | |
Vinay Verma | ca210fb | 2019-04-11 20:59:07 +0530 | [diff] [blame] | 27 | #### Dynamic Partition Handling |
| 28 | |
| 29 | #### |
padarshr | 2cea79e | 2019-06-11 19:05:48 +0530 | [diff] [blame] | 30 | |
| 31 | # Retain the earlier default behavior i.e. ota config (dynamic partition was disabled if not set explicitly), so set |
| 32 | # SHIPPING_API_LEVEL to 28 if it was not set earlier (this is generally set earlier via build.sh per-target) |
P.Adarsh Reddy | be6c09d | 2020-06-26 18:28:45 +0530 | [diff] [blame] | 33 | SHIPPING_API_LEVEL := 30 |
padarshr | 2cea79e | 2019-06-11 19:05:48 +0530 | [diff] [blame] | 34 | |
Tyler Wear | 0088d11 | 2020-06-11 14:57:34 -0700 | [diff] [blame] | 35 | $(call inherit-product-if-exists, vendor/qcom/defs/product-defs/system/cne_url*.mk) |
| 36 | |
padarshr | 2cea79e | 2019-06-11 19:05:48 +0530 | [diff] [blame] | 37 | #### Turning BOARD_DYNAMIC_PARTITION_ENABLE flag to TRUE will enable dynamic partition/super image creation. |
P.Adarsh Reddy | be6c09d | 2020-06-26 18:28:45 +0530 | [diff] [blame] | 38 | # Enable Dynamic partitions only for Q new launch devices and beyond. |
| 39 | ifeq (true,$(call math_gt_or_eq,$(SHIPPING_API_LEVEL),29)) |
Vinay Verma | 55d0bf6 | 2019-07-04 20:11:08 +0530 | [diff] [blame] | 40 | BOARD_DYNAMIC_PARTITION_ENABLE ?= true |
P.Adarsh Reddy | be6c09d | 2020-06-26 18:28:45 +0530 | [diff] [blame] | 41 | PRODUCT_SHIPPING_API_LEVEL := $(SHIPPING_API_LEVEL) |
padarshr | 2cea79e | 2019-06-11 19:05:48 +0530 | [diff] [blame] | 42 | else ifeq ($(SHIPPING_API_LEVEL),28) |
Vinay Verma | 55d0bf6 | 2019-07-04 20:11:08 +0530 | [diff] [blame] | 43 | BOARD_DYNAMIC_PARTITION_ENABLE ?= false |
| 44 | $(call inherit-product, build/make/target/product/product_launched_with_p.mk) |
padarshr | 2cea79e | 2019-06-11 19:05:48 +0530 | [diff] [blame] | 45 | endif |
Vinay Verma | ca210fb | 2019-04-11 20:59:07 +0530 | [diff] [blame] | 46 | |
| 47 | ifneq ($(strip $(BOARD_DYNAMIC_PARTITION_ENABLE)),true) |
| 48 | # Enable chain partition for system, to facilitate system-only OTA in Treble. |
| 49 | BOARD_AVB_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem |
| 50 | BOARD_AVB_SYSTEM_ALGORITHM := SHA256_RSA2048 |
| 51 | BOARD_AVB_SYSTEM_ROLLBACK_INDEX := 0 |
| 52 | BOARD_AVB_SYSTEM_ROLLBACK_INDEX_LOCATION := 2 |
Vinayak Soni | a1de01e | 2020-07-08 15:25:28 +0530 | [diff] [blame] | 53 | PRODUCT_BUILD_RAMDISK_IMAGE := false |
Mulugeta Engdaw | 0a6d920 | 2019-05-29 12:11:40 -0700 | [diff] [blame] | 54 | PRODUCT_BUILD_PRODUCT_IMAGE := false |
Vinay Verma | ca210fb | 2019-04-11 20:59:07 +0530 | [diff] [blame] | 55 | else |
| 56 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 57 | # Disable building the SUPER partition in this build. SUPER should be built |
| 58 | # after QSSI has been merged with the SoC build. |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 59 | PRODUCT_BUILD_SYSTEM_EXT_IMAGE := true |
Mulugeta Engdaw | 0a6d920 | 2019-05-29 12:11:40 -0700 | [diff] [blame] | 60 | PRODUCT_BUILD_PRODUCT_IMAGE := true |
Vinay Verma | ca210fb | 2019-04-11 20:59:07 +0530 | [diff] [blame] | 61 | PRODUCT_BUILD_SUPER_PARTITION := false |
Vinayak Soni | a1de01e | 2020-07-08 15:25:28 +0530 | [diff] [blame] | 62 | PRODUCT_BUILD_RAMDISK_IMAGE := true |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 63 | BOARD_AVB_VBMETA_SYSTEM := system system_ext product |
Vinay Verma | ca210fb | 2019-04-11 20:59:07 +0530 | [diff] [blame] | 64 | BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem |
| 65 | BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048 |
| 66 | BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP) |
| 67 | BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2 |
| 68 | endif |
| 69 | #### Dynamic Partition Handling |
| 70 | |
Vinayak Soni | b0b9f0a | 2019-02-26 14:55:51 -0800 | [diff] [blame] | 71 | PRODUCT_SOONG_NAMESPACES += \ |
| 72 | hardware/google/av \ |
| 73 | hardware/google/interfaces |
| 74 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 75 | VENDOR_QTI_PLATFORM := msmnile |
| 76 | VENDOR_QTI_DEVICE := qssi |
| 77 | |
| 78 | #QSSI configuration |
| 79 | #Single system image project structure |
| 80 | TARGET_USES_QSSI := true |
| 81 | |
Mulugeta Engdaw | fd11c89 | 2020-02-05 17:32:22 -0800 | [diff] [blame] | 82 | TARGET_USES_NEW_ION := true |
| 83 | |
padarshr | 0f476a1 | 2019-01-14 19:44:35 +0530 | [diff] [blame] | 84 | ENABLE_AB ?= true |
| 85 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 86 | TARGET_DEFINES_DALVIK_HEAP := true |
padarshr | 1ebabf0 | 2018-12-14 19:20:10 +0530 | [diff] [blame] | 87 | $(call inherit-product, device/qcom/qssi/common64.mk) |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 88 | |
| 89 | #Inherit all except heap growth limit from phone-xhdpi-2048-dalvik-heap.mk |
| 90 | PRODUCT_PROPERTY_OVERRIDES += \ |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 91 | dalvik.vm.heapstartsize=8m \ |
| 92 | dalvik.vm.heapsize=512m \ |
| 93 | dalvik.vm.heaptargetutilization=0.75 \ |
| 94 | dalvik.vm.heapminfree=512k \ |
| 95 | dalvik.vm.heapmaxfree=8m |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 96 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 97 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 98 | PRODUCT_NAME := $(VENDOR_QTI_DEVICE) |
| 99 | PRODUCT_DEVICE := $(VENDOR_QTI_DEVICE) |
| 100 | PRODUCT_BRAND := qti |
| 101 | PRODUCT_MODEL := qssi system image for arm64 |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 102 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 103 | #Initial bringup flags |
| 104 | TARGET_USES_AOSP := false |
| 105 | TARGET_USES_AOSP_FOR_AUDIO := false |
| 106 | TARGET_USES_QCOM_BSP := false |
| 107 | |
| 108 | # RRO configuration |
| 109 | TARGET_USES_RRO := true |
| 110 | |
Vinayak Soni | 7a7faff | 2019-01-15 22:27:27 -0800 | [diff] [blame] | 111 | TARGET_USES_NQ_NFC := true |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 112 | |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 113 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 114 | # default is nosdcard, S/W button enabled in resource |
| 115 | PRODUCT_CHARACTERISTICS := nosdcard |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 116 | BOARD_FRP_PARTITION_NAME := frp |
| 117 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 118 | #Android EGL implementation |
| 119 | PRODUCT_PACKAGES += libGLES_android |
| 120 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 121 | PRODUCT_BOOT_JARS += tcmiface |
| 122 | PRODUCT_BOOT_JARS += telephony-ext |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 123 | PRODUCT_PACKAGES += telephony-ext |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 124 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 125 | TARGET_ENABLE_QC_AV_ENHANCEMENTS := false |
| 126 | |
Paresh Purabhiya | ea59eb1 | 2019-11-28 12:43:00 +0530 | [diff] [blame] | 127 | TARGET_SYSTEM_PROP += device/qcom/qssi/system.prop |
| 128 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 129 | TARGET_DISABLE_DASH := true |
Anurudh Kumar Tiwari | ef2e1dc | 2019-03-14 23:52:14 +0530 | [diff] [blame] | 130 | TARGET_DISABLE_QTI_VPP := true |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 131 | |
| 132 | ifneq ($(TARGET_DISABLE_DASH), true) |
| 133 | PRODUCT_BOOT_JARS += qcmediaplayer |
| 134 | endif |
| 135 | |
Vinayak Soni | 3e453c7 | 2018-12-10 00:35:58 -0800 | [diff] [blame] | 136 | #Project is missing on sdm845, comment it for now |
| 137 | #ifneq ($(strip $(QCPATH)),) |
| 138 | # PRODUCT_BOOT_JARS += libprotobuf-java_mls |
| 139 | #endif |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 140 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 141 | PRODUCT_PACKAGES += android.hardware.media.omx@1.0-impl |
| 142 | |
| 143 | # Audio configuration file |
Naresh Tanniru | 4ea70d9 | 2019-01-30 21:36:44 +0530 | [diff] [blame] | 144 | -include $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/qssi/qssi.mk |
Ajit Pandey | 2a75283 | 2020-01-13 13:28:45 +0530 | [diff] [blame] | 145 | -include $(TOPDIR)vendor/qcom/opensource/commonsys/audio/configs/qssi/qssi.mk |
Pawan Chilka | b5c0a62 | 2019-02-18 21:23:01 +0530 | [diff] [blame] | 146 | AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true |
Pawan Chilka | b5c0a62 | 2019-02-18 21:23:01 +0530 | [diff] [blame] | 147 | USE_LIB_PROCESS_GROUP := true |
| 148 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 149 | PRODUCT_PACKAGES += fs_config_files |
| 150 | |
padarshr | 0f476a1 | 2019-01-14 19:44:35 +0530 | [diff] [blame] | 151 | ifeq ($(ENABLE_AB), true) |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 152 | #A/B related packages |
| 153 | PRODUCT_PACKAGES += update_engine \ |
| 154 | update_engine_client \ |
| 155 | update_verifier \ |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 156 | bootctrl.msmnile \ |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 157 | android.hardware.boot@1.0-impl \ |
| 158 | android.hardware.boot@1.0-service |
| 159 | |
Divya Sharma | 4e022e6 | 2019-03-21 17:45:23 -0700 | [diff] [blame] | 160 | PRODUCT_HOST_PACKAGES += \ |
Ravi Kiran Kasula | 6f09cd1 | 2019-03-31 20:40:25 -0700 | [diff] [blame] | 161 | brillo_update_payload |
Divya Sharma | 4e022e6 | 2019-03-21 17:45:23 -0700 | [diff] [blame] | 162 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 163 | #Boot control HAL test app |
| 164 | PRODUCT_PACKAGES_DEBUG += bootctl |
padarshr | 0f476a1 | 2019-01-14 19:44:35 +0530 | [diff] [blame] | 165 | endif |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 166 | |
| 167 | #Healthd packages |
| 168 | PRODUCT_PACKAGES += \ |
| 169 | android.hardware.health@1.0-impl \ |
| 170 | android.hardware.health@1.0-convert \ |
| 171 | android.hardware.health@1.0-service \ |
| 172 | libhealthd.msm |
| 173 | |
padarshr | 563490e | 2019-01-14 19:51:22 +0530 | [diff] [blame] | 174 | DEVICE_FRAMEWORK_MANIFEST_FILE := device/qcom/qssi/framework_manifest.xml |
Deepthi Gunturi | 2f662b6 | 2019-01-21 11:51:14 +0530 | [diff] [blame] | 175 | DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := vendor/qcom/opensource/core-utils/vendor_framework_compatibility_matrix.xml |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 176 | |
Nitin Shivpure | d00592e | 2019-02-03 00:59:01 +0530 | [diff] [blame] | 177 | #audio related module |
| 178 | PRODUCT_PACKAGES += libvolumelistener |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 179 | |
| 180 | # Display/Graphics |
| 181 | PRODUCT_PACKAGES += \ |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 182 | android.hardware.configstore@1.0-service \ |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 183 | android.hardware.broadcastradio@1.0-impl |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 184 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 185 | # Camera configuration file. Shared by passthrough/binderized camera HAL |
| 186 | PRODUCT_PACKAGES += camera.device@3.2-impl |
| 187 | PRODUCT_PACKAGES += camera.device@1.0-impl |
| 188 | PRODUCT_PACKAGES += android.hardware.camera.provider@2.4-impl |
| 189 | # Enable binderized camera HAL |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 190 | PRODUCT_PACKAGES += android.hardware.camera.provider@2.4-service_64 |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 191 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 192 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 193 | # Context hub HAL |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 194 | PRODUCT_PACKAGES += \ |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 195 | android.hardware.contexthub@1.0-impl.generic \ |
| 196 | android.hardware.contexthub@1.0-service |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 197 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 198 | # system prop for enabling QFS (QTI Fingerprint Solution) |
| 199 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 200 | persist.vendor.qfp=true |
| 201 | |
| 202 | |
| 203 | # USB default HAL |
| 204 | PRODUCT_PACKAGES += \ |
| 205 | android.hardware.usb@1.0-service |
| 206 | |
| 207 | #PASR HAL and APP |
| 208 | PRODUCT_PACKAGES += \ |
| 209 | vendor.qti.power.pasrmanager@1.0-service \ |
| 210 | vendor.qti.power.pasrmanager@1.0-impl \ |
| 211 | pasrservice |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 212 | |
| 213 | # Kernel modules install path |
| 214 | KERNEL_MODULES_INSTALL := dlkm |
| 215 | KERNEL_MODULES_OUT := out/target/product/$(PRODUCT_NAME)/$(KERNEL_MODULES_INSTALL)/lib/modules |
| 216 | |
David Ng | 4e8e9e2 | 2020-02-28 17:24:25 -0800 | [diff] [blame] | 217 | ifneq ($(strip $(TARGET_BUILD_VARIANT)),user) |
Mulugeta Engdaw | 0a351ff | 2020-02-04 15:33:20 -0800 | [diff] [blame] | 218 | PRODUCT_COPY_FILES += \ |
| 219 | device/qcom/qssi/init.qcom.testscripts.sh:$(TARGET_COPY_OUT_PRODUCT)/etc/init.qcom.testscripts.sh |
David Ng | 4e8e9e2 | 2020-02-28 17:24:25 -0800 | [diff] [blame] | 220 | endif |
Mulugeta Engdaw | 0a351ff | 2020-02-04 15:33:20 -0800 | [diff] [blame] | 221 | |
Mulugeta Engdaw | 450ab0b | 2020-03-30 15:11:21 -0700 | [diff] [blame] | 222 | PRODUCT_COPY_FILES += \ |
| 223 | device/qcom/qssi/public.libraries.product-qti.txt:$(TARGET_COPY_OUT_PRODUCT)/etc/public.libraries-qti.txt |
| 224 | |
shoudil | a024839 | 2020-05-28 18:07:35 +0800 | [diff] [blame] | 225 | # copy system_ext specific whitelisted libraries to system_ext/etc |
| 226 | PRODUCT_COPY_FILES += \ |
| 227 | device/qcom/qssi/public.libraries.system_ext-qti.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-qti.txt |
| 228 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 229 | #Enable full treble flag |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 230 | PRODUCT_FULL_TREBLE_OVERRIDE := true |
| 231 | PRODUCT_VENDOR_MOVE_ENABLED := true |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 232 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 233 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 234 | ifneq ($(strip $(TARGET_USES_RRO)),true) |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 235 | DEVICE_PACKAGE_OVERLAYS += device/qcom/qssi/overlay |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 236 | endif |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 237 | |
David Ng | 716698c | 2018-03-23 12:30:23 -0700 | [diff] [blame] | 238 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 239 | #Enable vndk-sp Libraries |
| 240 | PRODUCT_PACKAGES += vndk_package |
| 241 | |
| 242 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE:=true |
| 243 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 244 | |
| 245 | TARGET_MOUNT_POINTS_SYMLINKS := false |
| 246 | |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 247 | TARGET_USES_MKE2FS := true |
| 248 | |
| 249 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 250 | ro.crypto.volume.filenames_mode = "aes-256-cts" \ |
| 251 | ro.crypto.allow_encrypt_override = true |
| 252 | |
Vinayak Soni | 3e453c7 | 2018-12-10 00:35:58 -0800 | [diff] [blame] | 253 | TARGET_USES_QCOM_DISPLAY_BSP := true |
| 254 | |
| 255 | ifeq ($(TARGET_USES_NEW_ION),true) |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 256 | AUDIO_FEATURE_ENABLED_DLKM := true |
Vinayak Soni | 3e453c7 | 2018-12-10 00:35:58 -0800 | [diff] [blame] | 257 | else |
| 258 | AUDIO_FEATURE_ENABLED_DLKM := false |
| 259 | endif |
Smita Ghosh | aaafcc7 | 2018-11-30 16:12:53 -0800 | [diff] [blame] | 260 | |
P.Adarsh Reddy | 7597c5a | 2020-01-22 14:53:26 +0530 | [diff] [blame] | 261 | ifeq ($(ENABLE_VIRTUAL_AB), true) |
| 262 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) |
| 263 | endif |
| 264 | |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 265 | # Include mainline components and QSSI whitelist |
Mohamed Moussa | 2c8c5df | 2020-05-29 17:15:55 -0700 | [diff] [blame] | 266 | ifeq (true,$(call math_gt_or_eq,$(SHIPPING_API_LEVEL),29)) |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 267 | $(call inherit-product, device/qcom/qssi/qssi_whitelist.mk) |
Mohamed Moussa | 14db93a | 2020-06-09 10:24:14 -0700 | [diff] [blame] | 268 | PRODUCT_ARTIFACT_PATH_REQUIREMENT_IGNORE_PATHS := /system/system_ext/ |
Mohamed Moussa | 4811703 | 2020-04-15 03:00:38 -0700 | [diff] [blame] | 269 | PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true |
| 270 | endif |
| 271 | |
padarshr | 1ebabf0 | 2018-12-14 19:20:10 +0530 | [diff] [blame] | 272 | ################################################################################### |
| 273 | # This is the End of target.mk file. |
| 274 | # Now, Pickup other split product.mk files: |
| 275 | ################################################################################### |
| 276 | $(call inherit-product-if-exists, vendor/qcom/defs/product-defs/system/*.mk) |
| 277 | ################################################################################### |