Skip to content

Commit

Permalink
Turn on _DISABLE_DEBUG_LOGS to avoid Java debug logs (#4818)
Browse files Browse the repository at this point in the history
b/372559266
  • Loading branch information
johnxwork authored Feb 4, 2025
1 parent b3ad193 commit e29db4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/config/android/rules.gni
Original file line number Diff line number Diff line change
Expand Up @@ -2312,6 +2312,11 @@ if (enable_java_templates && is_android) {
if (!is_java_debug && !_test_only) {
defines += [ "_DISABLE_DEBUG_LOGS" ]
}

# TODO(cobalt, b/375655377): Remove once Cobalt build targets remove test_only tag.
if (is_cobalt) {
defines += [ "_DISABLE_DEBUG_LOGS" ]
}
}
}

Expand Down

0 comments on commit e29db4a

Please sign in to comment.