Merge "Enforce no nonexistent modules in PRODUCT_PACKAGES for sdk builds"
This commit is contained in:
@@ -664,6 +664,11 @@ ifdef is_sdk_build
|
||||
$(info Removing from sdk:)$(foreach d,$(target_gnu_MODULES),$(info : $(d)))
|
||||
modules_to_install := \
|
||||
$(filter-out $(target_gnu_MODULES),$(modules_to_install))
|
||||
|
||||
# Ensure every module listed in PRODUCT_PACKAGES gets something installed
|
||||
$(foreach m, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGES), \
|
||||
$(if $(strip $(ALL_MODULES.$(m).INSTALLED)),,\
|
||||
$(error Module '$(m)' in PRODUCT_PACKAGES has nothing to install!)))
|
||||
endif
|
||||
|
||||
|
||||
|
@@ -26,7 +26,6 @@ PRODUCT_PACKAGES := \
|
||||
ApplicationsProvider \
|
||||
BackupRestoreConfirmation \
|
||||
Browser \
|
||||
Bugreport \
|
||||
Contacts \
|
||||
ContactsProvider \
|
||||
DefaultContainerService \
|
||||
@@ -41,11 +40,8 @@ PRODUCT_PACKAGES := \
|
||||
SettingsProvider \
|
||||
SharedStorageBackup \
|
||||
TelephonyProvider \
|
||||
TtsService \
|
||||
UserDictionaryProvider \
|
||||
VpnServices \
|
||||
apache-xml \
|
||||
bluetooth-health \
|
||||
bouncycastle \
|
||||
bu \
|
||||
cacerts \
|
||||
@@ -63,7 +59,6 @@ PRODUCT_PACKAGES := \
|
||||
ext \
|
||||
filterfw \
|
||||
framework-res \
|
||||
hostapd \
|
||||
hprof-conv \
|
||||
icu.dat \
|
||||
installd \
|
||||
@@ -75,7 +70,6 @@ PRODUCT_PACKAGES := \
|
||||
libOpenSLES \
|
||||
libaudiopreprocessing \
|
||||
libcrypto \
|
||||
libdex \
|
||||
libdvm \
|
||||
libexpat \
|
||||
libfilterfw \
|
||||
@@ -83,7 +77,6 @@ PRODUCT_PACKAGES := \
|
||||
libgabi++ \
|
||||
libicui18n \
|
||||
libicuuc \
|
||||
libjavacore \
|
||||
libnativehelper \
|
||||
libnfc_ndef \
|
||||
libpowermanager \
|
||||
@@ -92,7 +85,6 @@ PRODUCT_PACKAGES := \
|
||||
libssl \
|
||||
libstagefright_soft_aacdec \
|
||||
libstagefright_soft_amrdec \
|
||||
libstagefright_soft_avcdec \
|
||||
libstagefright_soft_g711dec \
|
||||
libstagefright_soft_mp3dec \
|
||||
libstagefright_soft_mpeg4dec \
|
||||
@@ -103,8 +95,7 @@ PRODUCT_PACKAGES := \
|
||||
libwilhelm \
|
||||
libz \
|
||||
screencap \
|
||||
sensorservice \
|
||||
wpa_supplicant.conf
|
||||
sensorservice
|
||||
|
||||
# host-only dependencies
|
||||
ifeq ($(WITH_HOST_DALVIK),true)
|
||||
@@ -112,6 +103,5 @@ ifeq ($(WITH_HOST_DALVIK),true)
|
||||
apache-xml-hostdex \
|
||||
bouncycastle-hostdex \
|
||||
core-hostdex \
|
||||
libjavacore-host \
|
||||
dalvik
|
||||
endif
|
||||
|
@@ -18,7 +18,6 @@
|
||||
# It includes the base Android platform.
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_BRAND := generic_armv5
|
||||
|
@@ -20,7 +20,6 @@
|
||||
PRODUCT_POLICY := android.policy_phone
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
AccountAndSyncSettings \
|
||||
DeskClock \
|
||||
AlarmProvider \
|
||||
Bluetooth \
|
||||
@@ -44,7 +43,10 @@ PRODUCT_PACKAGES := \
|
||||
Updater \
|
||||
CalendarProvider \
|
||||
SyncProvider \
|
||||
VpnDialogs
|
||||
VpnDialogs \
|
||||
bluetooth-health \
|
||||
hostapd \
|
||||
wpa_supplicant.conf
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
icu.dat
|
||||
|
@@ -18,7 +18,6 @@
|
||||
# It includes the base Android platform.
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_BRAND := generic_x86
|
||||
|
@@ -20,7 +20,6 @@
|
||||
PRODUCT_POLICY := android.policy_mid
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
AccountAndSyncSettings \
|
||||
CarHome \
|
||||
DeskClock \
|
||||
AlarmProvider \
|
||||
@@ -42,7 +41,11 @@ PRODUCT_PACKAGES := \
|
||||
Sync \
|
||||
Updater \
|
||||
CalendarProvider \
|
||||
SyncProvider
|
||||
SyncProvider \
|
||||
bluetooth-health \
|
||||
hostapd \
|
||||
wpa_supplicant.conf
|
||||
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
|
||||
|
@@ -30,21 +30,18 @@ PRODUCT_PACKAGES := \
|
||||
libWnnEngDic \
|
||||
libWnnJpnDic \
|
||||
libwnndict \
|
||||
Phone \
|
||||
Phone \
|
||||
PinyinIME \
|
||||
Protips \
|
||||
SoftKeyboard \
|
||||
SystemUI \
|
||||
Launcher2 \
|
||||
AccountAndSyncSettings \
|
||||
Development \
|
||||
DrmProvider \
|
||||
Fallback \
|
||||
GPSEnable \
|
||||
Settings \
|
||||
SdkSetup \
|
||||
CustomLocale \
|
||||
gpstest \
|
||||
sqlite3 \
|
||||
LatinIME \
|
||||
CertInstaller \
|
||||
|
Reference in New Issue
Block a user