liblog: Always report as debuggable when building userdebug/eng

This doesn't affect the normal behavior of our builds, because
ro.debuggable is set to 1 on userdebug/eng anyway.

However, it's helpful because making __android_log_is_debuggable
return a compile time value rather than the value of runtime prop
lets us pass checks that'd otherwise prevent us from using adb root
when Magisk is installed.

Change-Id: I36f53976162e652a38008ced459ca02fd6c0af51
Reviewed-on: https://review.blissroms.org/c/platform_system_logging/+/19508
Reviewed-by: Jack <jackeagle102@gmail.com>
Tested-by: Jack <jackeagle102@gmail.com>
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
1 file changed
tree: 117d0ccfe9b002a0e424a576525a7ebb06f21891
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING