summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildspec.mk.default5
-rw-r--r--core/product_config.mk4
2 files changed, 9 insertions, 0 deletions
diff --git a/buildspec.mk.default b/buildspec.mk.default
index 2f84016..397194c 100644
--- a/buildspec.mk.default
+++ b/buildspec.mk.default
@@ -104,6 +104,11 @@ ifndef ENABLE_SVG
#ENABLE_SVG:=false
endif
+# To enable ART define WITH_ART:=true
+ifndef WITH_ART
+#WITH_ART:=true
+endif
+
# when the build system changes such that this file must be updated, this
# variable will be changed. After you have modified this file with the new
# changes (see buildspec.mk.default), update this to the new value from
diff --git a/core/product_config.mk b/core/product_config.mk
index bfbdf78..c8955f6 100644
--- a/core/product_config.mk
+++ b/core/product_config.mk
@@ -170,6 +170,10 @@ ifeq ($(WITH_HOST_DALVIK),)
endif
endif
+ifeq ($(WITH_ART),)
+ WITH_ART := false
+endif
+
# ---------------------------------------------------------------
# Include the product definitions.
# We need to do this to translate TARGET_PRODUCT into its