-
Notifications
You must be signed in to change notification settings - Fork 4
/
hero-common.mk
84 lines (67 loc) · 2.55 KB
/
hero-common.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Common Overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/hero-common/overlay
LOCAL_PATH := device/samsung/hero-common
# Ramdisk
PRODUCT_PACKAGES += \
fstab.samsungexynos8890 \
init.samsung.rc \
init.samsungexynos8890.rc \
ueventd.samsungexynos8890.rc \
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.software.freeform_window_management.xml:system/etc/permissions/android.software.freeform_window_management.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
# Graphics
# This device is xhdpi. However the platform doesn't
# currently contain all of the bitmaps at xhdpi density so
# we do this little trick to fall back to the hdpi version
# if the xhdpi doesn't exist.
PRODUCT_AAPT_CONFIG := xlarge
PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
# A list of dpis to select prebuilt apk, in precedence order.
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
# Boot animation
TARGET_SCREEN_HEIGHT := 2560
TARGET_SCREEN_WIDTH := 1440
# Power
PRODUCT_PACKAGES += \
power.universal8890
# Lights
PRODUCT_PACKAGES += \
lights.universal8890
# Charger
# Offmode charger
# Use cm images if available, aosp ones otherwise
PRODUCT_PACKAGES += \
charger_res_images \
cm_charger_res_images
# Mobicore
PRODUCT_PACKAGES += \
keystore.exynos5
# widevine
PRODUCT_PACKAGES += \
libshim_wvm
#Packages
PRODUCT_PACKAGES += \
libsamsung_symbols \
SamsungServiceMode \
Torch \
SamsungDoze
# DTB Tool
PRODUCT_PACKAGES += \
dtbhtoolExynos
# Inherit board specific products
-include $(LOCAL_PATH)/product/*.mk
# System properties
-include $(LOCAL_PATH)/system_prop.mk
# call Samsung LSI board support package
$(call inherit-product, hardware/samsung_slsi-cm/exynos5/exynos5.mk)
$(call inherit-product, hardware/samsung_slsi-cm/exynos8890/exynos8890.mk)
# call the proprietary setup
$(call inherit-product, vendor/samsung/hero-common/hero-common-vendor.mk)