Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 1 | LOCAL_PATH := device/samsung/gprimeltecan |
| 2 | $(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-vendor.mk) |
| 3 | $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) |
| 4 | |
| 5 | # Inherit from common |
| 6 | $(call inherit-product, device/samsung/qcom-common/qcom-common.mk) |
| 7 | |
| 8 | # Also get non-open-source specific aspects if available |
| 9 | $(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-common-vendor.mk) |
| 10 | |
| 11 | # Common overlay |
| 12 | DEVICE_PACKAGE_OVERLAYS += device/samsung/gprimeltecan/overlay |
| 13 | |
| 14 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 15 | LOCAL_KERNEL := device/samsung/gprimeltecan/kernel |
| 16 | else |
| 17 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 18 | endif |
| 19 | |
| 20 | PRODUCT_COPY_FILES += \ |
| 21 | $(LOCAL_KERNEL):kernel |
| 22 | |
| 23 | #Android EGL implementation |
| 24 | PRODUCT_PACKAGES += libGLES_android |
| 25 | |
| 26 | PRODUCT_PACKAGES += libtime_genoff |
| 27 | |
| 28 | # ANT+ |
| 29 | PRODUCT_PACKAGES += \ |
| 30 | AntHalService \ |
| 31 | antradio_app \ |
| 32 | com.dsi.ant.antradio_library \ |
| 33 | libantradio |
| 34 | |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 35 | #NFC |
| 36 | PRODUCT_PACKAGES += \ |
| 37 | libnfc-nci \ |
| 38 | libnfc_nci_jni \ |
| 39 | nfc_nci.msm8916 \ |
| 40 | NfcNci \ |
| 41 | Tag \ |
Zvikomborero VIncent Zvikaramba | 02e3333 | 2016-07-22 00:44:22 -0400 | [diff] [blame] | 42 | com.android.nfc_extras \ |
| 43 | com.android.nfc.helper |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 44 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 45 | # Audio |
| 46 | PRODUCT_PACKAGES += \ |
| 47 | audio.a2dp.default \ |
| 48 | audio.primary.msm8916 \ |
| 49 | audio.r_submix.default \ |
| 50 | audio.usb.default \ |
| 51 | audiod \ |
| 52 | libaudio-resampler \ |
| 53 | libqcompostprocbundle \ |
| 54 | libqcomvisualizer \ |
| 55 | libqcomvoiceprocessing \ |
| 56 | tinymix |
| 57 | |
| 58 | # Audio configuration |
| 59 | PRODUCT_COPY_FILES += \ |
| 60 | $(LOCAL_PATH)/audio/Bluetooth_cal.acdb:system/etc/Bluetooth_cal.acdb \ |
| 61 | $(LOCAL_PATH)/audio/General_cal.acdb:system/etc/General_cal.acdb \ |
| 62 | $(LOCAL_PATH)/audio/Global_cal.acdb:system/etc/Global_cal.acdb \ |
| 63 | $(LOCAL_PATH)/audio/Handset_cal.acdb:system/etc/Handset_cal.acdb \ |
| 64 | $(LOCAL_PATH)/audio/Hdmi_cal.acdb:system/etc/Hdmi_cal.acdb \ |
| 65 | $(LOCAL_PATH)/audio/Headset_cal.acdb:system/etc/Headset_cal.acdb \ |
| 66 | $(LOCAL_PATH)/audio/Speaker_cal.acdb:system/etc/Speaker_cal.acdb \ |
| 67 | $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ |
| 68 | $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ |
| 69 | $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml |
| 70 | |
| 71 | # Boot jars |
| 72 | PRODUCT_BOOT_JARS += \ |
| 73 | qcom.fmradio \ |
| 74 | # oem-services \ |
| 75 | tcmiface \ |
| 76 | qcmediaplayer |
| 77 | |
| 78 | # Connectivity Engine support |
| 79 | PRODUCT_PACKAGES += \ |
| 80 | libcnefeatureconfig |
| 81 | |
| 82 | # Display |
| 83 | PRODUCT_PACKAGES += \ |
| 84 | copybit.msm8916 \ |
| 85 | gralloc.msm8916 \ |
| 86 | hwcomposer.msm8916 \ |
| 87 | libtinyxml \ |
| 88 | memtrack.msm8916 |
| 89 | |
| 90 | # Ebtables |
| 91 | PRODUCT_PACKAGES += \ |
| 92 | ebtables \ |
| 93 | ethertypes \ |
| 94 | libebtc |
| 95 | |
| 96 | # FM |
| 97 | PRODUCT_PACKAGES += \ |
| 98 | # FM2 \ |
| 99 | # FMRecord \ |
| 100 | libqcomfm_jni \ |
| 101 | qcom.fmradio |
| 102 | |
| 103 | # INIT |
| 104 | PRODUCT_PACKAGES += \ |
| 105 | fstab.qcom \ |
| 106 | init.carrier.rc \ |
| 107 | init.class_main.sh \ |
| 108 | init.mdm.sh \ |
| 109 | init.qcom.bms.sh \ |
| 110 | init.qcom.class_core.sh \ |
| 111 | init.qcom.early_boot.sh \ |
| 112 | init.qcom.factory.sh \ |
| 113 | init.qcom.syspart_fixup.sh \ |
| 114 | init.qcom.usb.rc \ |
| 115 | init.qcom.usb.sh \ |
| 116 | init.qcom.rc \ |
| 117 | init.qcom.sh \ |
| 118 | init.target.rc \ |
| 119 | ueventd.qcom.rc \ |
| 120 | twrp.fstab |
| 121 | |
| 122 | # Keylayout |
| 123 | PRODUCT_COPY_FILES += \ |
| 124 | $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \ |
| 125 | $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ |
| 126 | $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \ |
| 127 | $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl |
| 128 | |
| 129 | # Keystore |
| 130 | PRODUCT_PACKAGES += \ |
| 131 | keystore.msm8916 |
| 132 | |
| 133 | # libhealthd.qcom |
| 134 | PRODUCT_PACKAGES += \ |
| 135 | libhealthd |
| 136 | |
| 137 | # Lights |
| 138 | PRODUCT_PACKAGES += \ |
| 139 | lights.msm8916 |
| 140 | |
| 141 | # Live Wallpapers |
| 142 | PRODUCT_PACKAGES += \ |
| 143 | librs_jni |
| 144 | |
| 145 | # GPS |
| 146 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 147 | gps.msm8916 \ |
| 148 | gps.default |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 149 | |
| 150 | PRODUCT_COPY_FILES += \ |
| 151 | $(LOCAL_PATH)/gps/flp.conf:system/etc/flp.conf \ |
| 152 | $(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf \ |
| 153 | $(LOCAL_PATH)/gps/izat.conf:system/etc/izat.conf \ |
| 154 | $(LOCAL_PATH)/gps/sap.conf:system/etc/sap.conf |
| 155 | |
| 156 | # macloader |
| 157 | PRODUCT_PACKAGES += macloader |
| 158 | |
| 159 | # Media |
| 160 | PRODUCT_COPY_FILES += \ |
| 161 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 162 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 163 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
| 164 | # frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \ |
| 165 | $(LOCAL_PATH)/media/media_codecs.xml:system/etc/media_codecs.xml \ |
| 166 | $(LOCAL_PATH)/media/media_profiles.xml:system/etc/media_profiles.xml |
| 167 | |
| 168 | # MSM IRQ Balancer configuration file |
| 169 | PRODUCT_COPY_FILES += \ |
| 170 | $(LOCAL_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf |
| 171 | |
| 172 | # Misc |
| 173 | PRODUCT_PACKAGES += \ |
| 174 | curl \ |
| 175 | libbson \ |
| 176 | libcurl \ |
| 177 | tcpdump |
| 178 | |
| 179 | # OMX |
| 180 | PRODUCT_PACKAGES += \ |
| 181 | libdashplayer \ |
| 182 | libdivxdrmdecrypt \ |
| 183 | libmm-omxcore \ |
| 184 | libOmxAacEnc \ |
| 185 | libOmxAmrEnc \ |
| 186 | libOmxCore \ |
| 187 | libOmxEvrcEnc \ |
| 188 | libOmxQcelp13Enc \ |
| 189 | libOmxSwVencMpeg4 \ |
| 190 | libOmxVdec \ |
| 191 | libOmxVdecHevc \ |
| 192 | libOmxVenc \ |
| 193 | libOmxVidEnc \ |
| 194 | libOmxVdpp \ |
| 195 | libstagefrighthw \ |
| 196 | qcmediaplayer |
| 197 | |
| 198 | # Overlay |
| 199 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay |
| 200 | |
| 201 | # Permissions |
| 202 | PRODUCT_COPY_FILES += \ |
| 203 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 204 | frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ |
| 205 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 206 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 207 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 208 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 209 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
| 210 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 211 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 212 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ |
| 213 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 214 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 215 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 216 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 217 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 218 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 219 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 220 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 221 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 222 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 223 | frameworks/native/data/etc/android.software.print.xml:system/etc/permissions/android.software.print.xml \ |
| 224 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 225 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml |
| 226 | |
| 227 | # Power HAL |
| 228 | PRODUCT_PACKAGES += \ |
| 229 | power.msm8916 |
| 230 | |
| 231 | # Prebuilt |
| 232 | PRODUCT_COPY_FILES += \ |
| 233 | $(LOCAL_PATH)/prebuilt/dsi_config.xml:system/etc/data/dsi_config.xml \ |
| 234 | $(LOCAL_PATH)/prebuilt/netmgr_config.xml:system/etc/data/netmgr_config.xml \ |
| 235 | $(LOCAL_PATH)/prebuilt/qmi_config.xml:system/etc/data/qmi_config.xml |
| 236 | |
| 237 | # Properties |
| 238 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 239 | ro.use_data_netmgrd=false \ |
| 240 | dalvik.vm.heapgrowthlimit=128m \ |
| 241 | ro.security.icd.flagmode=single \ |
| 242 | ro.vendor.extension_library=libqti-perfd-client.so \ |
| 243 | persist.radio.apm_sim_not_pwdn=1 \ |
| 244 | persist.gps.qc_nlp_in_use=1 \ |
| 245 | persist.loc.nlp_name=com.qualcomm.location \ |
| 246 | ro.gps.agps_provider=1 \ |
| 247 | ro.pip.gated=0 |
| 248 | |
| 249 | # Ril |
| 250 | PRODUCT_PACKAGES += \ |
| 251 | libxml2 |
| 252 | |
| 253 | # Screen density |
| 254 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 255 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
| 256 | |
| 257 | # security config |
| 258 | PRODUCT_COPY_FILES += \ |
| 259 | $(LOCAL_PATH)/configs/sec_config:system/etc/sec_config |
| 260 | |
| 261 | # Terminal |
| 262 | PRODUCT_PACKAGES += Terminal |
| 263 | |
| 264 | # USB |
| 265 | PRODUCT_PACKAGES += \ |
| 266 | com.android.future.usb.accessory |
| 267 | |
| 268 | # Wifi |
| 269 | PRODUCT_COPY_FILES += \ |
| 270 | $(LOCAL_PATH)/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ |
| 271 | $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ |
| 272 | $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ |
| 273 | $(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 274 | $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ |
| 275 | $(LOCAL_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin |
| 276 | |
| 277 | PRODUCT_PACKAGES += \ |
| 278 | hostapd \ |
| 279 | hostapd_cli \ |
| 280 | libQWiFiSoftApCfg \ |
| 281 | libqsap_sdk \ |
| 282 | libwpa_client \ |
| 283 | wcnss_service \ |
| 284 | wpa_supplicant |
| 285 | |
| 286 | # Inhert dalvik heap values from aosp |
| 287 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |