From 07fa9b13b44178f926d86668e89a25a52be25a99 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 22 Mar 2019 14:07:49 +0000 Subject: [PATCH] Make mainline_system_arm64 build only /system Configure this product not to build any of the other partitions. Note that the only partition that currently has artifacts produced is system_other, and this change doesn't appear to prevent odex/vdex files from being created there anyway. However, it does allow configuring the target device (mainline_arm64) to have more partitions in a followup change. Bug: 111533333 Test: make Change-Id: Ib115cb03bc99b9b61e0d6f1b622784e7ad5fcea0 --- target/product/mainline_system_arm64.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/product/mainline_system_arm64.mk b/target/product/mainline_system_arm64.mk index 0b0929ee46..f01cc5471a 100644 --- a/target/product/mainline_system_arm64.mk +++ b/target/product/mainline_system_arm64.mk @@ -18,6 +18,16 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk) $(call enforce-product-packages-exist,) +PRODUCT_BUILD_CACHE_IMAGE := false +PRODUCT_BUILD_ODM_IMAGE := false +PRODUCT_BUILD_PRODUCT_IMAGE := false +PRODUCT_BUILD_PRODUCT_SERVICES_IMAGE := false +PRODUCT_BUILD_RAMDISK_IMAGE := false +PRODUCT_BUILD_SYSTEM_IMAGE := true +PRODUCT_BUILD_SYSTEM_OTHER_IMAGE := false +PRODUCT_BUILD_USERDATA_IMAGE := false +PRODUCT_BUILD_VENDOR_IMAGE := false + PRODUCT_NAME := mainline_system_arm64 PRODUCT_DEVICE := mainline_arm64 PRODUCT_BRAND := generic