-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmakefile
More file actions
83 lines (67 loc) · 4.03 KB
/
makefile
File metadata and controls
83 lines (67 loc) · 4.03 KB
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
#
# Makefile for lt18i
#
local-out-zip-file := MIUI_lt18i.zip
local-previous-target-dir := ~/workspace/ota_base/lt26i
# The original zip file, MUST be specified by each product
local-zip-file := stockrom.zip
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
#local-out-zip-file := MIUI_lt18i.zip
# All apps from original ZIP, but has smali files chanded
local-modified-apps := SemcCamera3D CustomizedSettings MediaProvider
local-modified-jars := #HTCExtension
local-miui-modified-apps := MiuiHome Mms Settings Phone MiuiGallery ThemeManager #TelephonyProvider MiuiSystemUI
local-miui-removed-apps := MediaProvider
# All apps need to be removed from original ZIP file
local-remove-apps := AdobeFlashPlayer Conversations datatrafficswitch DigitalClockWidget \
EventStream EventStreamPluginCallLog EventStreamPluginFacebook EventStreamPluginTelephony \
EventStreamPluginTwitter FBIAppShare FBMediaDiscovery FBSetupwizard FBCalendarSync \
FBMusicLike FBNotificationPublisher GenieWidget JapaneseIME letsgolf_ay livewaremanager \
MagicSmokeWallpapers MediaWidget MusicWidget officesuite PhotoWidget playnowclientarvato \
POBoxSknPink POBoxSknWood PostViewer retaildemo SemcDeskClock SemcDlna SEMCFacebookProxy \
SemcVideoEdit StatusSwitch storefront SyncWizard Talk TimescapeRssPlugin TimescapeSpline \
TimescapeWidget trackid TtsService usersupport VisualizationWallpapers WallpaperPicker \
WeatherWidget widgetdigitalclock widgetfavouritepeople widgetonoff WikipediaPlugin wisepilot \
YouTube YouTubeKaraokePlugin YouTubePlugin facebook SemcTelephonyProvider SemcContactsProvider \
LocalContacts SimContacts Phonebook SemcMusic SemcCalendar SemcGallery3D UpdateCenter \
SEMCSetupWizard PhaseBeam OmaDatasyncService Home Galaxy4 NoiseField SystemUI InfiniteView \
Gallery2 SemcSettings OemCryptoReceiver Videos textinput-tng chinesetextinput Street Gmail \
antradioservice AppEnabler GoogleFeedback widgettimer widgetanalogclock adobereader \
antstatenotifer PMSserviceTrigger MarketUpdater OneTimeInitializer neoreader SetupWizard \
Phonesky GoogleQuickSearchBox VoiceSearch widgetworldclock widgetcalendar MediaUploader \
SemcPhone enhancedusbux \
AddWidget CdfInfoAccessor DefaultThemes DrmDialogs FastDormancy \
HoloSpiralWallpaper LearningClient Protips \
ReadyToRun SecureClockJava SemcCnapProvider SemcCrashMonitor SemcEmail \
SemcSnpPlatformUtil SemcSnpVideoPlayer ShutDownAnimation SmartSearch SoundPicker \
Sync talkback UnsupportedHeadsetNotifier VerifyCertificatesDummyAppApplication \
VerifyCertificatesDummyAppMedia VerifyCertificatesDummyAppPlatform \
VerifyCertificatesDummyAppShared Superuser DrmProvider com.sonyericsson.androidapp.linkedintsext \
bootinfo usb-mtp-update-wrapper usb-mtp-vendor-extension-service VoipCallLogProvider \
UseragentProvider PMSservice OmaV1AgentDownloadServices OmaDownload \
OMAClientProvisioning CustomizedApplicationInstaller GoogleLyricsPlugin GMS_Maps
# 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-zip-misc
local-after-zip:= local-test
# 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
local-zip-misc:
# cp misc/com.google.android.maps.jar $(ZIP_DIR)/system/framework/
# @echo Add google apks
# cp misc/apk/* $(ZIP_DIR)/system/app/
@echo Replace build.prop
cp other/build.prop $(ZIP_DIR)/system/build.prop
cp other/Lt18iSettings.apk $(ZIP_DIR)/system/app/Lt18iSettings.apk
rm -rf $(ZIP_DIR)/system/bin/su
cp other/handle_device_name.sh $(ZIP_DIR)/system/bin/
@echo update bootanimation
rm -rf $(ZIP_DIR)/system/bin/bootanimation
cp other/bootanimation $(ZIP_DIR)/system/bin/bootanimation
cp other/boot.img $(ZIP_DIR)/boot.img
local-test:
echo "an example action"