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