GN: Set WEBRTC_RESTRICT_LOGGING as is set in GYP.

In GYP the define is set when we build with chrome, but it's always set
in GN.

NOTRY=True
BUG=webrtc:6312

Review-Url: https://codereview.webrtc.org/2313913002
Cr-Commit-Position: refs/heads/master@{#14086}
This commit is contained in:
ehmaldonado 2016-09-06 02:27:47 -07:00 committed by Commit bot
parent 859e86107d
commit edaa4a45ef

View File

@ -71,8 +71,6 @@ declare_args() {
# https://gcc.gnu.org/wiki/LinkTimeOptimization
rtc_use_lto = false
rtc_restrict_logging = true
# Set to "func", "block", "edge" for coverage generation.
# At unit test runtime set UBSAN_OPTIONS="coverage=1".
# It is recommend to set include_examples=0.
@ -143,6 +141,8 @@ declare_args() {
declare_args() {
# Include the iLBC audio codec?
rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
rtc_restrict_logging = build_with_chromium
}
# Make it possible to provide custom locations for some libraries (move these