Add flags for saving system image size
Test: Compiled and flashed it seems to work fine
Change-Id: I998e0a57a3b87bfd5dbd6beabcc098ae7b707c17
diff --git a/products/atv_base.mk b/products/atv_base.mk
index 736a97d..e9fbd01 100644
--- a/products/atv_base.mk
+++ b/products/atv_base.mk
@@ -101,6 +101,16 @@
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.media.avsync=true
+# Strip the local variable table and the local variable type table to reduce
+# the size of the system image. This has no bearing on stack traces, but will
+# leave less information available via JDWP.
+# From //build/make/target/product/go_defaults_common.mk
+PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true
+
+# Do not generate libartd.
+# From //build/make/target/product/go_defaults_common.mk
+PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
+
# Do not include the Live Channels app if USE_OEM_TV_APP flag is set.
# The feature com.google.android.tv.installed is used to tell whether a device
# has the pre-installed Live Channels app. This is necessary for the Play Store