来自:http://blog.csdn.net/u011479494/article/details/51611178
xia@dyna-PowerEdge-R720:~/TTDisk/mt6735_dyna/device$ git diff
diff --git a/mediatek/common/device.mk b/mediatek/common/device.mk
index bc4d401..4e8029c 100644
--- a/mediatek/common/device.mk
+++ b/mediatek/common/device.mk
@@ -778,7 +778,7 @@ endif
ifeq ($(strip $(MTK_BT_BLE_MANAGER_SUPPORT)), yes)
PRODUCT_PACKAGES += BluetoothLe \
- BLEManager
+
endif
ifeq ($(strip $(MTK_AAL_SUPPORT)), yes)
@@ -1369,7 +1369,7 @@ ifeq ($(strip $(MTK_LIVE_PHOTO_SUPPORT)), yes)
PRODUCT_PACKAGES += com.mediatek.effect.xml
endif
-ifeq ($(strip $(MTK_MULTICORE_OBSERVER_APP)), yes)
+ifeq ($(strip $(MTK_MULTICORE_OBSERVER_APP)), no)
PRODUCT_PACKAGES += MultiCoreObserver
endif
@@ -1414,7 +1414,6 @@ PRODUCT_PACKAGES += libvie
PRODUCT_PACKAGES += libvie_jni
-PRODUCT_PACKAGES += downloader
ifeq ($(strip $(MTK_DT_SUPPORT)), yes)
$(call inherit-product-if-exists, vendor/mediatek/proprietary/external/downloader/downloader.mk)
endif
diff --git a/mediatek/mt6735/device.mk b/mediatek/mt6735/device.mk
index 45ec3e4..b9bf4f1 100755
--- a/mediatek/mt6735/device.mk
+++ b/mediatek/mt6735/device.mk
@@ -83,27 +83,18 @@ PRODUCT_PACKAGES += drvbd
PRODUCT_PACKAGES += libaudio.usb.default
PRODUCT_PACKAGES += audio.usb.default
PRODUCT_PACKAGES += AccountAndSyncSettings
-PRODUCT_PACKAGES += DeskClock
PRODUCT_PACKAGES += AlarmProvider
PRODUCT_PACKAGES += Bluetooth
-PRODUCT_PACKAGES += Calculator
-PRODUCT_PACKAGES += Calendar
PRODUCT_PACKAGES += CertInstaller
PRODUCT_PACKAGES += DrmProvider
-PRODUCT_PACKAGES += Email
PRODUCT_PACKAGES += FusedLocation
-PRODUCT_PACKAGES += TelephonyProvider
PRODUCT_PACKAGES += Exchange2
PRODUCT_PACKAGES += LatinIME
-PRODUCT_PACKAGES += Music
-PRODUCT_PACKAGES += MusicFX
PRODUCT_PACKAGES += Protips
-PRODUCT_PACKAGES += QuickSearchBox
PRODUCT_PACKAGES += Settings
PRODUCT_PACKAGES += Sync
PRODUCT_PACKAGES += SystemUI
PRODUCT_PACKAGES += Updater
-PRODUCT_PACKAGES += CalendarProvider
PRODUCT_PACKAGES += ccci_mdinit
PRODUCT_PACKAGES += ccci_fsd
PRODUCT_PACKAGES += ccci_rpcd
@@ -459,10 +450,10 @@ PRODUCT_PACKAGES += memtrack.mt6753
PRODUCT_PACKAGES += mtkvfc
ifndef MTK_TB_WIFI_3G_MODE
- PRODUCT_PACKAGES += Mms
+ PRODUCT_PACKAGES +=
else
ifeq ($(strip $(MTK_TB_WIFI_3G_MODE)), 3GDATA_SMS)
- PRODUCT_PACKAGES += Mms
+ PRODUCT_PACKAGES +=
endif
endif
@@ -479,7 +470,6 @@ PRODUCT_PACKAGES += p2p_supplicant_overlay.conf
PRODUCT_PACKAGES += hostapd
PRODUCT_PACKAGES += hostapd_cli
PRODUCT_PACKAGES += lib_driver_cmd_mt66xx.a
-PRODUCT_PACKAGES += Dialer
PRODUCT_PACKAGES += libacdk
PRODUCT_PACKAGES += hwcomposer.mt6735
@@ -537,7 +527,7 @@ ifeq ($(strip $(MTK_CMAS_SUPPORT)), yes)
PRODUCT_PACKAGES += CmasEM
endif
-ifeq ($(strip $(MTK_CDS_EM_SUPPORT)), yes)
+ifeq ($(strip $(MTK_CDS_EM_SUPPORT)), no)
PRODUCT_PACKAGES += CDS_INFO
endif
@@ -755,11 +745,6 @@ ifeq ($(strip $(MTK_VIDEOWIDGET_APP)),yes)
PRODUCT_PACKAGES += MtkVideoWidget
endif
-ifeq ($(strip $(MTK_BSP_PACKAGE)),yes)
- PRODUCT_PACKAGES += Stk
-else
- PRODUCT_PACKAGES += Stk1
-endif
ifeq ($(strip $(MTK_ENGINEERMODE_APP)), yes)
PRODUCT_PACKAGES += EngineerMode
@@ -878,7 +863,7 @@ ifeq ($(strip $(MTK_DATA_TRANSFER_APP)), yes)
PRODUCT_PACKAGES += DataTransfer
endif
-ifeq ($(strip $(MTK_FM_SUPPORT)), yes)
+ifeq ($(strip $(MTK_FM_SUPPORT)), no)
PRODUCT_PACKAGES += FmRadio
endif
@@ -994,7 +979,7 @@ ifeq ($(strip $(MTK_FM_TX_SUPPORT)), yes)
PRODUCT_PACKAGES += FMTransmitter
endif
-ifeq ($(strip $(MTK_SOUNDRECORDER_APP)),yes)
+ifeq ($(strip $(MTK_SOUNDRECORDER_APP)),no)
PRODUCT_PACKAGES += SoundRecorder
endif
@@ -1006,7 +991,7 @@ ifneq ($(strip $(MTK_LOCKSCREEN_TYPE)),)
PRODUCT_PROPERTY_OVERRIDES += curlockscreen=$(MTK_LOCKSCREEN_TYPE)
endif
-ifeq ($(strip $(MTK_OMA_DOWNLOAD_SUPPORT)),yes)
+ifeq ($(strip $(MTK_OMA_DOWNLOAD_SUPPORT)),no)
PRODUCT_PACKAGES += Browser
PRODUCT_PACKAGES += DownloadProvider
endif
@@ -1033,7 +1018,7 @@ ifeq ($(strip $(CUSTOM_KERNEL_TOUCHPANEL)),generic)
PRODUCT_PACKAGES += Calibrator
endif
-ifeq ($(strip $(MTK_FILEMANAGER_APP)), yes)
+ifeq ($(strip $(MTK_FILEMANAGER_APP)), no)
PRODUCT_PACKAGES += FileManager
endif
(END)
- 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
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 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
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
xia@dyna-PowerEdge-R720:~/TTDisk/mt6735_dyna/build$ git diff
diff --git a/target/product/core.mk b/target/product/core.mk
index 442a531..e00fc2a 100644
@@ -27,17 +27,9 @@
PRODUCT_PACKAGES += \
BasicDreams \
- Browser \
- Calculator \
- Calendar \
- CalendarProvider \
CaptivePortalLogin \
CertInstaller \
- Contacts \
- DeskClock \
DocumentsUI \
- DownloadProviderUi \
- Email \
Exchange2 \
ExternalStorageProvider \
FusedLocation \
@@ -52,12 +44,9 @@ PRODUCT_PACKAGES += \
libpac \
PrintSpooler \
ProxyHandler \
- QuickSearchBox \
Settings \
SharedStorageBackup \
Telecom \
- TeleService \
VpnDialogs \
- MmsService
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_base.mk)
diff --git a/target/product/core_base.mk b/target/product/core_base.mk
index 6c29482..2449ad1 100644
@@ -21,10 +21,8 @@ PRODUCT_PROPERTY_OVERRIDES := \
ro.config.alarm_alert=Alarm_Classic.ogg
PRODUCT_PACKAGES += \
- ContactsProvider \
DefaultContainerService \
Home \
- TelephonyProvider \
UserDictionaryProvider \
atrace \
libandroidfw \
diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk
index 4c08cb0..9dda460 100644
@@ -24,7 +24,6 @@ PRODUCT_NAME := core
PRODUCT_PACKAGES += \
BackupRestoreConfirmation \
- DownloadProvider \
HTMLViewer \
MediaProvider \
PackageInstaller \
diff --git a/target/product/core_tiny.mk b/target/product/core_tiny.mk
index 9637e34..544dee8 100644
@@ -18,8 +18,6 @@
PRODUCT_PACKAGES := \
Bluetooth \
- CalendarProvider \
- ContactsProvider \
CertInstaller \
FusedLocation \
InputDevices
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk
index 7af62ce..dc990c6 100644
@@ -21,7 +21,6 @@ PRODUCT_PACKAGES := \
Bluetooth \
Camera2 \
Gallery2 \
- Music \
- MusicFX \
OneTimeInitializer \
Provision \
diff --git a/target/product/telephony.mk b/target/product/telephony.mk
index c2aa6f1..91c8ef4 100644
@@ -24,16 +24,15 @@
ifndef MTK_TB_WIFI_3G_MODE
PRODUCT_PACKAGES := \
- Mms
+
else
ifeq ($(strip $(MTK_TB_WIFI_3G_MODE)), 3GDATA_SMS)
PRODUCT_PACKAGES := \
- Mms
+
endif
endif
PRODUCT_PACKAGES += \
- Dialer \
rild
PRODUCT_COPY_FILES := \
(END)