Commit 643f9d94 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch 'jklee-disable-debug-r' into 'v1-r'

Allow disabling debugging  for production devices

See merge request !87
parents a5c204ed db2e6125
......@@ -34,3 +34,13 @@ ADDITIONAL_BUILD_PROPERTIES += \
# LineageOS Platform Internal Version
ADDITIONAL_BUILD_PROPERTIES += \
ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)
# Allow disabling debugging flags set by the build system
# for 3rd party apps support.
ifeq ($(TARGET_BUILD_VARIANT),userdebug)
ifeq ($(DISABLE_TARGET_DEBUGGING),true)
ADDITIONAL_BUILD_PROPERTIES += ro.debuggable=0
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=0
endif
endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment