-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
55 lines (38 loc) · 1.72 KB
/
makefile
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
#
# Makefile for OPPO N1
#
# The original zip file, MUST be specified by each product
local-zip-file := stockrom.zip
# The output zip file of LEWA rom, the default is porting_lewa.zip if not specified
local-out-zip-file := lewa_oppo_n1.zip
# the location for local-ota to save target-file
local-previous-target-dir := ~/workspace/ota_base/oppo_n1
# All apps from original ZIP, but has smali files chanded
local-modified-apps :=
local-modified-jars :=
# All apks from LEWA
local-lewa-removed-apps := Bluetooth LewaPond LewaGallery2 LewaCamera
local-lewa-modified-apps :=
# Set ro.sys.partner in build.prop for lewa partner
local-lewa-partner := Lewa
local-lewa-device := OPPO_N1_JB2
# The ota assert devices for lewa
local-ota-assert-device :=
# Config density for co-developers to use the aaps with HDPI or XHDPI resource,
# Default configrations are HDPI for ics branch and XHDPI for jellybean branch
local-density := XXHDPI
include phoneapps.mk
# To include the local targets before and after zip the final ZIP file,
# and the local-targets should:
# (1) be defined after including porting.mk if using any global variable(see porting.mk)
# (2) the name should be leaded with local- to prevent any conflict with global targets
local-pre-zip := local-pre-zip-misc
local-after-zip:= local-put-to-phone
# The local targets after the zip file is generated, could include 'zip2sd' to
# deliver the zip file to phone, or to customize other actions
include $(PORT_BUILD)/porting.mk
# To define any local-target
updater := $(ZIP_DIR)/META-INF/com/google/android/updater-script
pre_install_data_packages := $(TMP_DIR)/pre_install_apk_pkgname.txt
local-pre-zip-misc: add-prebuilt-lewa-sqlite-library
cp others/apns-conf.xml $(ZIP_DIR)/system/etc/