Merge "Move overridden AOSP modules out of *_system mks"

This commit is contained in:
Anton Hansson
2019-01-08 16:20:47 +00:00
committed by Gerrit Code Review
8 changed files with 76 additions and 22 deletions

View File

@@ -82,7 +82,6 @@ PRODUCT_PACKAGES += \
heapprofd_client \ heapprofd_client \
gatekeeperd \ gatekeeperd \
gpuservice \ gpuservice \
healthd \
hid \ hid \
hwservicemanager \ hwservicemanager \
idmap \ idmap \

View File

@@ -53,6 +53,10 @@ PRODUCT_PACKAGES += \
vndservice \ vndservice \
vndservicemanager \ vndservicemanager \
# Base modules and settings for the product partition.
PRODUCT_PACKAGES += \
healthd \
# VINTF data for vendor image # VINTF data for vendor image
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
device_manifest.xml \ device_manifest.xml \

View File

@@ -36,52 +36,34 @@ PRODUCT_PACKAGES += \
Bluetooth \ Bluetooth \
BluetoothMidiService \ BluetoothMidiService \
BookmarkProvider \ BookmarkProvider \
Browser2 \
BuiltInPrintService \ BuiltInPrintService \
Calendar \
CalendarProvider \ CalendarProvider \
Camera2 \
cameraserver \ cameraserver \
CaptivePortalLogin \ CaptivePortalLogin \
CertInstaller \ CertInstaller \
clatd \ clatd \
clatd.conf \ clatd.conf \
Contacts \
DeskClock \
DocumentsUI \ DocumentsUI \
DownloadProviderUi \ DownloadProviderUi \
EasterEgg \ EasterEgg \
Email \
ExactCalculator \ ExactCalculator \
ExternalStorageProvider \ ExternalStorageProvider \
FusedLocation \ FusedLocation \
Gallery2 \
InputDevices \ InputDevices \
KeyChain \ KeyChain \
LatinIME \
Launcher3QuickStep \
librs_jni \ librs_jni \
ManagedProvisioning \ ManagedProvisioning \
MmsService \ MmsService \
MtpDocumentsProvider \ MtpDocumentsProvider \
Music \
MusicFX \ MusicFX \
NfcNci \ NfcNci \
OneTimeInitializer \
PacProcessor \ PacProcessor \
PrintRecommendationService \
PrintSpooler \ PrintSpooler \
Provision \
ProxyHandler \ ProxyHandler \
QuickSearchBox \
screenrecord \ screenrecord \
SecureElement \ SecureElement \
Settings \
SettingsIntelligence \
SharedStorageBackup \ SharedStorageBackup \
SimAppDialog \ SimAppDialog \
StorageManager \
SystemUI \
Telecom \ Telecom \
TelephonyProvider \ TelephonyProvider \
TeleService \ TeleService \
@@ -89,7 +71,6 @@ PRODUCT_PACKAGES += \
UserDictionaryProvider \ UserDictionaryProvider \
VpnDialogs \ VpnDialogs \
vr \ vr \
WallpaperCropper \
PRODUCT_SYSTEM_SERVER_APPS += \ PRODUCT_SYSTEM_SERVER_APPS += \

View File

@@ -19,6 +19,8 @@
# it definitely doesn't belong on other types of devices (if it # it definitely doesn't belong on other types of devices (if it
# does, use base_vendor.mk). # does, use base_vendor.mk).
$(call inherit-product, $(SRC_TARGET_DIR)/product/media_vendor.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/media_vendor.mk)
# /vendor packages
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
audio.primary.default \ audio.primary.default \
DisplayCutoutEmulationCornerOverlay \ DisplayCutoutEmulationCornerOverlay \
@@ -28,3 +30,25 @@ PRODUCT_PACKAGES += \
power.default \ power.default \
SysuiDarkThemeOverlay \ SysuiDarkThemeOverlay \
vibrator.default \ vibrator.default \
# /product packages
PRODUCT_PACKAGES += \
Browser2 \
Calendar \
Camera2 \
Contacts \
DeskClock \
Email \
Gallery2 \
LatinIME \
Launcher3QuickStep \
Music \
OneTimeInitializer \
PrintRecommendationService \
Provision \
QuickSearchBox \
Settings \
SettingsIntelligence \
StorageManager \
SystemUI \
WallpaperCropper \

View File

@@ -30,3 +30,40 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
root/init.zygote64_32.rc \ root/init.zygote64_32.rc \
system/etc/seccomp_policy/crash_dump.arm.policy \ system/etc/seccomp_policy/crash_dump.arm.policy \
system/etc/seccomp_policy/mediacodec.policy \ system/etc/seccomp_policy/mediacodec.policy \
# Modules that are to be moved to /product
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
system/app/Browser2/Browser2.apk \
system/app/Calendar/Calendar.apk \
system/app/Camera2/Camera2.apk \
system/app/DeskClock/DeskClock.apk \
system/app/Email/Email.apk \
system/app/Gallery2/Gallery2.apk \
system/app/LatinIME/LatinIME.apk \
system/app/LatinIME/oat/arm64/LatinIME.odex \
system/app/LatinIME/oat/arm64/LatinIME.vdex \
system/app/Music/Music.apk \
system/app/PrintRecommendationService/PrintRecommendationService.apk \
system/app/QuickSearchBox/QuickSearchBox.apk \
system/bin/healthd \
system/etc/init/healthd.rc \
system/etc/vintf/manifest/manifest_healthd.xml \
system/lib64/libjni_eglfence.so \
system/lib64/libjni_filtershow_filters.so \
system/lib64/libjni_jpegstream.so \
system/lib64/libjni_jpegutil.so \
system/lib64/libjni_latinime.so \
system/lib64/libjni_tinyplanet.so \
system/priv-app/CarrierConfig/CarrierConfig.apk \
system/priv-app/Contacts/Contacts.apk \
system/priv-app/Dialer/Dialer.apk \
system/priv-app/Launcher3QuickStep/Launcher3QuickStep.apk \
system/priv-app/OneTimeInitializer/OneTimeInitializer.apk \
system/priv-app/Provision/Provision.apk \
system/priv-app/Settings/Settings.apk \
system/priv-app/SettingsIntelligence/SettingsIntelligence.apk \
system/priv-app/StorageManager/StorageManager.apk \
system/priv-app/SystemUI/SystemUI.apk \
system/priv-app/SystemUI/oat/arm64/SystemUI.odex \
system/priv-app/SystemUI/oat/arm64/SystemUI.vdex \
system/priv-app/WallpaperCropper/WallpaperCropper.apk \

View File

@@ -20,6 +20,11 @@
# base_vendor.mk. # base_vendor.mk.
$(call inherit-product, $(SRC_TARGET_DIR)/product/base_vendor.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/base_vendor.mk)
# /vendor packages
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libaudiopreprocessing \ libaudiopreprocessing \
libwebrtc_audio_preprocessing \ libwebrtc_audio_preprocessing \
# /product packages
PRODUCT_PACKAGES += \
webview \

View File

@@ -19,9 +19,7 @@
PRODUCT_PACKAGES := \ PRODUCT_PACKAGES := \
ANS \ ANS \
CarrierConfig \
CarrierDefaultApp \ CarrierDefaultApp \
Dialer \
CallLogBackup \ CallLogBackup \
CellBroadcastReceiver \ CellBroadcastReceiver \
EmergencyInfo \ EmergencyInfo \

View File

@@ -17,7 +17,13 @@
# This is the list of modules that are specific to products that have telephony # This is the list of modules that are specific to products that have telephony
# hardware, and install outside the system partition. # hardware, and install outside the system partition.
# /vendor packages
PRODUCT_PACKAGES := \ PRODUCT_PACKAGES := \
rild \ rild \
# /product packages
PRODUCT_PACKAGES += \
CarrierConfig \
Dialer \
PRODUCT_COPY_FILES := \ PRODUCT_COPY_FILES := \