Merge "Only enable asserts on userdebug/eng builds." into nyc-dev

This commit is contained in:
Jeff Sharkey
2016-03-22 15:13:12 +00:00
committed by Android (Google) Code Review

View File

@@ -31,9 +31,13 @@ LOCAL_AAPT_FLAGS := \
--extra-packages android.support.v7.recyclerview
LOCAL_JACK_FLAGS := \
-D jack.assert.policy=enable \
-D jack.optimization.inner-class.accessors=true
# Only enable asserts on userdebug/eng builds
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
LOCAL_JACK_FLAGS += -D jack.assert.policy=enable
endif
LOCAL_PACKAGE_NAME := DocumentsUI
LOCAL_CERTIFICATE := platform