Nirmal Abraham | 75ffff5 | 2014-08-07 18:43:13 +0530 | [diff] [blame] | 1 | TARGET_USES_QCOM_BSP := true |
Srinivas Ankem | b3b4800 | 2014-09-16 13:44:37 +0530 | [diff] [blame] | 2 | TARGET_USES_QCA_NFC := other |
vivek mehta | 9087c29 | 2013-06-27 14:38:48 -0700 | [diff] [blame] | 3 | |
Nirmal Abraham | 75ffff5 | 2014-08-07 18:43:13 +0530 | [diff] [blame] | 4 | ifeq ($(TARGET_USES_QCOM_BSP), true) |
vivek mehta | 9087c29 | 2013-06-27 14:38:48 -0700 | [diff] [blame] | 5 | # Add QC Video Enhancements flag |
| 6 | TARGET_ENABLE_QC_AV_ENHANCEMENTS := true |
Nirmal Abraham | 75ffff5 | 2014-08-07 18:43:13 +0530 | [diff] [blame] | 7 | endif #TARGET_USES_QCOM_BSP |
vivek mehta | 9087c29 | 2013-06-27 14:38:48 -0700 | [diff] [blame] | 8 | |
Sanjeev Jakkilinki | 940051e | 2013-11-26 06:13:19 +0530 | [diff] [blame] | 9 | DEVICE_PACKAGE_OVERLAYS := device/qcom/msm8226/overlay |
| 10 | |
Praveen Chavan | 80aa258 | 2013-11-14 16:44:29 -0800 | [diff] [blame] | 11 | #TARGET_DISABLE_DASH := true |
| 12 | #TARGET_DISABLE_OMX_SECURE_TEST_APP := true |
Praveen Chavan | 1003ac8 | 2013-10-08 19:48:46 -0700 | [diff] [blame] | 13 | |
Mahesh Lanka | 4f5c91d | 2013-05-30 14:39:30 -0700 | [diff] [blame] | 14 | # media_profiles and media_codecs xmls for 8226 |
Mahesh Lanka | 21cbf29 | 2013-06-12 17:11:17 -0700 | [diff] [blame] | 15 | ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true) |
Mahesh Lanka | 4f5c91d | 2013-05-30 14:39:30 -0700 | [diff] [blame] | 16 | PRODUCT_COPY_FILES += device/qcom/msm8226/media/media_profiles_8226.xml:system/etc/media_profiles.xml \ |
| 17 | device/qcom/msm8226/media/media_codecs_8226.xml:system/etc/media_codecs.xml |
| 18 | endif |
| 19 | |
David Ng | 682ef2d | 2012-11-26 15:07:48 -0800 | [diff] [blame] | 20 | $(call inherit-product, device/qcom/common/common.mk) |
| 21 | |
| 22 | PRODUCT_NAME := msm8226 |
| 23 | PRODUCT_DEVICE := msm8226 |
| 24 | |
Amal Paul | 0cdb3bb | 2013-03-05 14:14:17 -0800 | [diff] [blame] | 25 | # Audio configuration file |
| 26 | PRODUCT_COPY_FILES += \ |
| 27 | device/qcom/msm8226/audio_policy.conf:system/etc/audio_policy.conf \ |
Ravi Kumar Alamanda | 2514f08 | 2013-11-08 00:47:35 -0800 | [diff] [blame] | 28 | device/qcom/msm8226/audio_effects.conf:system/vendor/etc/audio_effects.conf \ |
Mingming Yin | 5be03ff | 2013-10-07 15:41:11 -0700 | [diff] [blame] | 29 | device/qcom/msm8226/mixer_paths.xml:system/etc/mixer_paths.xml |
Amal Paul | 0cdb3bb | 2013-03-05 14:14:17 -0800 | [diff] [blame] | 30 | |
Ravi Kumar Alamanda | 2514f08 | 2013-11-08 00:47:35 -0800 | [diff] [blame] | 31 | PRODUCT_PACKAGES += \ |
| 32 | libqcomvisualizer \ |
Subhash Chandra Bose Naripeddy | d778017 | 2013-11-14 21:22:02 -0800 | [diff] [blame] | 33 | libqcomvoiceprocessing \ |
| 34 | libqcompostprocbundle |
Ravi Kumar Alamanda | 2514f08 | 2013-11-08 00:47:35 -0800 | [diff] [blame] | 35 | |
David Ng | 682ef2d | 2012-11-26 15:07:48 -0800 | [diff] [blame] | 36 | # Bluetooth configuration files |
c_prados | 77c1490 | 2014-07-21 18:26:57 +0530 | [diff] [blame] | 37 | #PRODUCT_COPY_FILES += \ |
Mingming Yin | 5be03ff | 2013-10-07 15:41:11 -0700 | [diff] [blame] | 38 | system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf |
David Ng | 682ef2d | 2012-11-26 15:07:48 -0800 | [diff] [blame] | 39 | |
| 40 | #fstab.qcom |
| 41 | PRODUCT_PACKAGES += fstab.qcom |
Sheng Fang | d1d881e | 2013-03-20 12:04:17 +0800 | [diff] [blame] | 42 | #wlan driver |
| 43 | PRODUCT_COPY_FILES += \ |
Sheng Fang | d1d881e | 2013-03-20 12:04:17 +0800 | [diff] [blame] | 44 | device/qcom/msm8226/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \ |
| 45 | device/qcom/msm8226/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin |
Satish kumar sugasi | 0312c7b | 2013-05-09 17:58:59 -0700 | [diff] [blame] | 46 | |
Leo Chang | f8e4d9a | 2013-09-25 13:34:10 -0700 | [diff] [blame] | 47 | PRODUCT_PACKAGES += \ |
| 48 | wpa_supplicant_overlay.conf \ |
| 49 | p2p_supplicant_overlay.conf |
| 50 | |
fsheng | c4568b2 | 2013-10-12 13:52:07 +0800 | [diff] [blame] | 51 | PRODUCT_PACKAGES += wcnss_service \ |
| 52 | pronto_wlan.ko |
Sameer Thalappil | 8ad3141 | 2013-08-08 14:03:23 -0700 | [diff] [blame] | 53 | |
Satish kumar sugasi | 0312c7b | 2013-05-09 17:58:59 -0700 | [diff] [blame] | 54 | #ANT stack |
| 55 | PRODUCT_PACKAGES += \ |
| 56 | AntHalService \ |
| 57 | libantradio \ |
| 58 | antradio_app |
Madan Mohan Koyyalamudi | 833fc01 | 2013-06-11 19:19:02 +0100 | [diff] [blame] | 59 | |
| 60 | # NFC packages |
Satish Kumar Singh | 8cdbb72 | 2014-02-21 14:14:02 -0800 | [diff] [blame] | 61 | ifeq ($(TARGET_USES_QCA_NFC),true) |
| 62 | NFC_D := true |
| 63 | |
| 64 | ifeq ($(NFC_D), true) |
| 65 | PRODUCT_PACKAGES += \ |
| 66 | libnfcD-nci \ |
| 67 | libnfcD_nci_jni \ |
| 68 | nfc_nci.msm8226 \ |
| 69 | NfcDNci \ |
| 70 | Tag \ |
| 71 | com.android.nfc_extras \ |
Satish Kumar Singh | 39b481f | 2014-04-22 14:54:10 -0700 | [diff] [blame] | 72 | com.android.nfc.helper \ |
| 73 | SmartcardService \ |
| 74 | org.simalliance.openmobileapi \ |
| 75 | org.simalliance.openmobileapi.xml \ |
Houston Hoffman | 0754a28 | 2014-07-07 18:35:29 -0700 | [diff] [blame] | 76 | com.android.qcom.nfc_extras \ |
| 77 | com.gsma.services.nfc \ |
Satish Kumar Singh | 39b481f | 2014-04-22 14:54:10 -0700 | [diff] [blame] | 78 | libassd |
Satish Kumar Singh | 8cdbb72 | 2014-02-21 14:14:02 -0800 | [diff] [blame] | 79 | else |
| 80 | PRODUCT_PACKAGES += \ |
Madan Mohan Koyyalamudi | 833fc01 | 2013-06-11 19:19:02 +0100 | [diff] [blame] | 81 | libnfc-nci \ |
| 82 | libnfc_nci_jni \ |
| 83 | nfc_nci.msm8226 \ |
| 84 | NfcNci \ |
| 85 | Tag \ |
| 86 | com.android.nfc_extras |
Satish Kumar Singh | 8cdbb72 | 2014-02-21 14:14:02 -0800 | [diff] [blame] | 87 | endif |
Madan Mohan Koyyalamudi | 833fc01 | 2013-06-11 19:19:02 +0100 | [diff] [blame] | 88 | |
Madan Mohan Koyyalamudi | 833fc01 | 2013-06-11 19:19:02 +0100 | [diff] [blame] | 89 | # file that declares the MIFARE NFC constant |
| 90 | # Commands to migrate prefs from com.android.nfc3 to com.android.nfc |
| 91 | # NFC access control + feature files + configuration |
| 92 | PRODUCT_COPY_FILES += \ |
Madan Mohan Koyyalamudi | 833fc01 | 2013-06-11 19:19:02 +0100 | [diff] [blame] | 93 | frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \ |
| 94 | frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ |
Satish Kumar Singh | 62d4d8f | 2014-03-12 20:01:51 -0700 | [diff] [blame] | 95 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 96 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml |
Srinivas Ankem | 6d91975 | 2014-06-11 13:25:27 +0530 | [diff] [blame] | 97 | # Enable NFC Forum testing by temporarily changing the PRODUCT_BOOT_JARS |
| 98 | # line has to be in sync with build/target/product/core_base.mk |
c_prados | 77c1490 | 2014-07-21 18:26:57 +0530 | [diff] [blame] | 99 | #PRODUCT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:com.android.nfc.helper:framework:framework2:telephony-common:voip-common:mms-common:android.policy:services:apache-xml:webviewchromium:telephony-msim |
Srinivas Ankem | 6d91975 | 2014-06-11 13:25:27 +0530 | [diff] [blame] | 100 | |
Houston Hoffman | 0754a28 | 2014-07-07 18:35:29 -0700 | [diff] [blame] | 101 | ifeq ($(NFC_D), true) |
c_prados | 77c1490 | 2014-07-21 18:26:57 +0530 | [diff] [blame] | 102 | #PRODUCT_BOOT_JARS += org.simalliance.openmobileapi:com.android.qcom.nfc_extras:com.gsma.services.nfc |
Houston Hoffman | 0754a28 | 2014-07-07 18:35:29 -0700 | [diff] [blame] | 103 | endif |
| 104 | |
Satish Kumar Singh | 8cdbb72 | 2014-02-21 14:14:02 -0800 | [diff] [blame] | 105 | endif # TARGET_USES_QCA_NFC |
| 106 | |
Rajshekar Eashwarappa | 81cd985 | 2014-08-06 13:22:38 +0530 | [diff] [blame] | 107 | PRODUCT_BOOT_JARS += qcmediaplayer \ |
Rajshekar Eashwarappa | 81cd985 | 2014-08-06 13:22:38 +0530 | [diff] [blame] | 108 | org.codeaurora.Performance \ |
Bhavya Sokke Mallikarjunappa | d1227fa | 2014-11-06 18:23:32 -0800 | [diff] [blame] | 109 | vcard \ |
| 110 | tcmiface |
Sreedhar Lakkaraju | bbeba4c | 2015-02-19 02:02:24 +0530 | [diff] [blame] | 111 | ifneq ($(strip $(QCPATH)),) |
| 112 | PRODUCT_BOOT_JARS += WfdCommon |
| 113 | PRODUCT_BOOT_JARS += qcom.fmradio |
| 114 | PRODUCT_BOOT_JARS += oem-services |
| 115 | endif |
| 116 | |
Houston Hoffman | 0754a28 | 2014-07-07 18:35:29 -0700 | [diff] [blame] | 117 | |
Satish Kumar Singh | 8cdbb72 | 2014-02-21 14:14:02 -0800 | [diff] [blame] | 118 | PRODUCT_COPY_FILES += \ |
Oliver Wang | ce04026 | 2014-01-02 11:16:31 +0800 | [diff] [blame] | 119 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 120 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml |
| 121 | |
Shashank Mittal | 6459511 | 2013-09-05 20:07:34 -0700 | [diff] [blame] | 122 | # Enable strict operation |
| 123 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 124 | persist.sys.strict_op_enable=false |
| 125 | |
| 126 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 127 | persist.sys.whitelist=/system/etc/whitelist_appops.xml |
| 128 | |
Suman Mukherjee | a2f7639 | 2014-09-04 16:32:35 +0530 | [diff] [blame] | 129 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 130 | camera2.portability.force_api=1 |
| 131 | |
Shashank Mittal | 6459511 | 2013-09-05 20:07:34 -0700 | [diff] [blame] | 132 | PRODUCT_COPY_FILES += \ |
| 133 | device/qcom/msm8226/whitelist_appops.xml:system/etc/whitelist_appops.xml |