forked from TeamCanjica/android_device_samsung_janice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
janice.mk
46 lines (35 loc) · 1.62 KB
/
janice.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
# Include common makefile
$(call inherit-product, device/samsung/u8500-common/common.mk)
LOCAL_PATH := device/samsung/janice
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# STE
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/ste_modem.sh:system/etc/ste_modem.sh
# Enable AAC 5.1 output
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true
# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/configs/sirfgps.conf:system/etc/sirfgps.conf
# Compass workaround
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/compass:system/etc/init.d/compass
$(call inherit-product, device/common/gps/gps_eu_supl.mk)
# Init files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/device_tunables.rc:root/device_tunables.rc \
$(LOCAL_PATH)/rootdir/fstab.samsungjanice:root/fstab.samsungjanice \
$(LOCAL_PATH)/rootdir/init.samsungjanice.rc:root/init.samsungjanice.rc \
$(LOCAL_PATH)/rootdir/init.recovery.samsungjanice.rc:root/init.recovery.samsungjanice.rc \
$(LOCAL_PATH)/rootdir/ueventd.samsungjanice.rc:root/ueventd.samsungjanice.rc
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/adm.sqlite-u8500:system/etc/adm.sqlite-u8500
# Use non-open-source parts if present
$(call inherit-product-if-exists, vendor/samsung/u8500-common/janice/janice-vendor-blobs.mk)