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