aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2022-05-12 18:41:40 +0000
committerAnton Hansson <hansson@google.com>2022-05-25 13:16:15 +0000
commit28f089d9b0c8f61e865a9e0e6131b7a42db43ab1 (patch)
tree0155a0b6223b0f9a71305b9c46aa9a7d4d8b2460
parent09fc47b6ce39c0913a8df8cfe009314b766e4274 (diff)
downloadbuild-28f089d9b0c8f61e865a9e0e6131b7a42db43ab1.tar.gz
Slim down the sdk product
The sdk_phone_armv7 product is designed to build system images, which adds unnecessary dependencies and enables unnecessary checks (such as verifying dexpreopt artifacts). Bug: 205008975 Test: m sdk sdk_repo dist && diff android-sdk.zip (only build.prop diffs) Merged-In: I940655c39a3ae58839521416abafaf461df44921 Change-Id: I940655c39a3ae58839521416abafaf461df44921
-rw-r--r--target/product/sdk.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/product/sdk.mk b/target/product/sdk.mk
index 96d8cc94e1..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_phone_armv7.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
PRODUCT_NAME := sdk
+PRODUCT_BRAND := Android
+PRODUCT_DEVICE := mainline_x86