From edaa4a45ef6cb516c3c205cc001650408542e367 Mon Sep 17 00:00:00 2001 From: ehmaldonado Date: Tue, 6 Sep 2016 02:27:47 -0700 Subject: [PATCH] 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} --- webrtc/build/webrtc.gni | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni index e4dacf333c..eabdeb20e6 100644 --- a/webrtc/build/webrtc.gni +++ b/webrtc/build/webrtc.gni @@ -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