Add more product defaults to mainline.mk

Replicate aosp_blueline's configuration, which is shared with other
pixels, and explicitly repurpose this to be a generic AOSP mainline
device.

Clean up associated whitelist entries in gsi for the apps I'm
moving to /product in the same topic.

Bug: 129077057
Test: boot aosp_blueline
Test: browse ringtones
Change-Id: I8424cb23923987d2176369f93b479fc827fbabef
This commit is contained in:
Anton Hansson 2019-03-29 13:55:12 +00:00
parent 8adf501905
commit 5aa8db53a2
2 changed files with 16 additions and 3 deletions

View File

@ -31,7 +31,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
# The mainline checking whitelist, should be clean up
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
system/app/messaging/messaging.apk \
system/app/PhotoTable/PhotoTable.apk \
system/app/WAPPushManager/WAPPushManager.apk \
system/bin/healthd \
system/etc/init/healthd.rc \

View File

@ -14,10 +14,24 @@
# limitations under the License.
#
# Makefile including the mainline system image, and the relevant AOSP portions
# for the other partitions.
# This makefile is intended to serve as a base for completely AOSP based
# mainline devices, It contain the mainline system partition and sensible
# defaults for the product and vendor partition.
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_product.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_product.mk)
$(call inherit-product, frameworks/base/data/sounds/AllAudio.mk)
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=Ring_Synth_04.ogg \
ro.com.android.dataroaming=true \
PRODUCT_PACKAGES += \
PhotoTable \
WallpaperPicker \
PRODUCT_COPY_FILES += device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml