Revert "emulator: base sdk_phone_armv7/64 on aosp"

This reverts commit b12abf0310.

Reason for revert: broke sdk build

Change-Id: Ib04df196806488245259f797eb9f52e61f337715
This commit is contained in:
Bo Hu 2018-06-19 22:19:47 +00:00
parent b12abf0310
commit c82af2f6a9
2 changed files with 40 additions and 8 deletions

View File

@ -14,11 +14,31 @@
# limitations under the License. # limitations under the License.
# #
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm64.mk) PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/vendor/lib64/libreference-ril.so
# Define the host tools and libs that are parts of the SDK. # This is a build configuration for a full-featured build of the
$(call inherit-product, sdk/build/product_sdk.mk) # Open-Source part of the tree. It's geared toward a US-centric
$(call inherit-product, development/build/product_sdk.mk) # build quite specifically for the emulator, and might not be
# entirely appropriate to inherit from for on-device configurations.
# Note: the following lines need to stay at the beginning so that it can
# take priority and override the rules it inherit from other mk files
# see copy file rules in core/Makefile
PRODUCT_COPY_FILES += \
development/sys-img/advancedFeatures.ini.arm:advancedFeatures.ini \
prebuilts/qemu-kernel/arm64/3.18/kernel-qemu2:kernel-ranchu \
device/generic/goldfish/fstab.ranchu.arm:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
# AOSP emulator images build the AOSP messaging app.
# Google API images override with the Google API app.
# See vendor/google/products/sdk_google_phone_*.mk
PRODUCT_PACKAGES += \
messaging
# Overrides # Overrides
PRODUCT_BRAND := Android PRODUCT_BRAND := Android

View File

@ -14,12 +14,24 @@
# limitations under the License. # limitations under the License.
# #
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm.mk) PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/vendor/lib/libreference-ril.so
# Define the host tools and libs that are parts of the SDK. # Note: the following lines need to stay at the beginning so that it can
$(call inherit-product, sdk/build/product_sdk.mk) # take priority and override the rules it inherit from other mk files
$(call inherit-product, development/build/product_sdk.mk) # see copy file rules in core/Makefile
PRODUCT_COPY_FILES += \
development/sys-img/advancedFeatures.ini.arm:advancedFeatures.ini \
prebuilts/qemu-kernel/arm64/3.18/kernel-qemu2:kernel-ranchu-64 \
device/generic/goldfish/fstab.ranchu.arm:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
# AOSP emulator images build the AOSP messaging app.
# Google API images override with the Google API app.
# See vendor/google/products/sdk_google_phone_*.mk
PRODUCT_PACKAGES += \
messaging
# Overrides # Overrides
PRODUCT_BRAND := Android PRODUCT_BRAND := Android