forked from omnirom/android_vendor_omni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.mk
54 lines (43 loc) · 1.72 KB
/
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
PRODUCT_BRAND ?= omni
# bootanimation
PRODUCT_COPY_FILES += \
vendor/omni/bootanimation.zip:system/media/bootanimation.zip
# general properties
PRODUCT_PROPERTIES_OVERRIDE += \
keyguard.no_require_sim=true \
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
ro.com.google.clientidbase=android-google \
ro.com.android.wifi-watchlist=GoogleGuest \
ro.setupwizard.enterprise_mode=1 \
ro.com.android.dateformat=MM-dd-yyyy \
ro.com.android.dataroaming=false \
persist.sys.root_access=1
# enable ADB authentication if not on eng build
ifneq ($(TARGET_BUILD_VARIANT),eng)
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
endif
# Backup Tool
PRODUCT_COPY_FILES += \
vendor/omni/prebuilt/bin/backuptool.sh:system/bin/backuptool.sh \
vendor/omni/prebuilt/bin/backuptool.functions:system/bin/backuptool.functions \
vendor/omni/prebuilt/bin/50-hosts.sh:system/addon.d/50-hosts.sh \
vendor/omni/prebuilt/bin/blacklist:system/addon.d/blacklist
# init.d support
PRODUCT_COPY_FILES += \
vendor/omni/prebuilt/etc/init.d/00banner:system/etc/init.d/00banner \
vendor/omni/prebuilt/bin/sysinit:system/bin/sysinit
# userinit support
PRODUCT_COPY_FILES += \
vendor/omni/prebuilt/etc/init.d/90userinit:system/etc/init.d/90userinit
# Init script file with omni extras
PRODUCT_COPY_FILES += \
vendor/omni/prebuilt/etc/init.local.rc:root/init.omni.rc
# Enable SIP and VoIP on all targets
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
# Additional packages
-include vendor/omni/config/packages.mk
# Versionning
-include vendor/omni/config/version.mk
# Add our overlays
PRODUCT_PACKAGE_OVERLAYS += vendor/omni/overlay/common