From bda69f59919952d28c34deba2519248d41fa73b4 Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Mon, 17 Jul 2023 04:15:27 +0000 Subject: [PATCH] Revert "Minify the sdk targets" This reverts commit 7a114c5313393401475861a109908e12ad559032. Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/291353860 verified with go/abtd https://android-build.googleplex.com/builds/abtd/run/L17500000961999253 by menghanli@ Change-Id: Iaaf37f780e71ef6f0eb745b3c06c1c5f47a8e03b Bug: 291353860 --- target/product/sdk.mk | 7 +++++-- target/product/sdk_arm64.mk | 7 ++----- target/product/sdk_x86.mk | 9 +++------ target/product/sdk_x86_64.mk | 10 ++-------- 4 files changed, 12 insertions(+), 21 deletions(-) diff --git a/target/product/sdk.mk b/target/product/sdk.mk index e4cb7ff4fb..fa7e1ad381 100644 --- a/target/product/sdk.mk +++ b/target/product/sdk.mk @@ -14,8 +14,11 @@ # limitations under the License. # -# Don't modify this file - It's just an alias! +# This is a simple product that uses configures the minimum amount +# needed to build the SDK (without the emulator). -$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_x86.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) PRODUCT_NAME := sdk +PRODUCT_BRAND := Android +PRODUCT_DEVICE := mainline_x86 diff --git a/target/product/sdk_arm64.mk b/target/product/sdk_arm64.mk index 497f673282..8bb38f41a1 100644 --- a/target/product/sdk_arm64.mk +++ b/target/product/sdk_arm64.mk @@ -14,11 +14,8 @@ # limitations under the License. # -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) +# Don't modify this file - It's just an alias! -TARGET_SUPPORTS_32_BIT_APPS := true -TARGET_SUPPORTS_64_BIT_APPS := true +$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_arm64.mk) PRODUCT_NAME := sdk_arm64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_arm64 diff --git a/target/product/sdk_x86.mk b/target/product/sdk_x86.mk index 843321f73b..13ee57d805 100644 --- a/target/product/sdk_x86.mk +++ b/target/product/sdk_x86.mk @@ -14,11 +14,8 @@ # limitations under the License. # -# This is a simple product that uses configures the minimum amount -# needed to build the SDK (without the emulator). +# Don't modify this file - It's just an alias! -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_x86.mk) -PRODUCT_NAME := sdk_x86_64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_x86 +PRODUCT_NAME := sdk_x86 diff --git a/target/product/sdk_x86_64.mk b/target/product/sdk_x86_64.mk index c1caf7e5aa..5f6553e000 100644 --- a/target/product/sdk_x86_64.mk +++ b/target/product/sdk_x86_64.mk @@ -14,14 +14,8 @@ # limitations under the License. # -# This is a simple product that uses configures the minimum amount -# needed to build the SDK (without the emulator). +# Don't modify this file - It's just an alias! -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) - -TARGET_SUPPORTS_32_BIT_APPS := true -TARGET_SUPPORTS_64_BIT_APPS := true +$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_x86_64.mk) PRODUCT_NAME := sdk_x86_64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_x86_64