Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67b1ce89 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Only enable asserts on userdebug/eng builds.

Bug: 27699194
Change-Id: Id20f808448ae94371da62d38387f90ad97e7cbd3
parent e8609136
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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