From 6901768e3622049047e272f53a55263f238d9063 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 8 May 2013 11:03:26 -0700 Subject: [PATCH] Add WITH_ART (cherry picked from commit 6b7a0d2f1ff90d24e3ade9ccf82a084f5f999c1f) Change-Id: If6e208f9fc859f31da2cd71fdc1ddbe1fc1ed7aa --- buildspec.mk.default | 5 +++++ core/product_config.mk | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/buildspec.mk.default b/buildspec.mk.default index 2f840166f..397194c8b 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 bfbdf7810..c8955f614 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 -- 2.11.0