Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Side by Side Diff: webrtc/build/webrtc.gni

Issue 2313913002: GN: Set WEBRTC_RESTRICT_LOGGING as is set in GYP. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 # Enable to use the Mozilla internal settings. 64 # Enable to use the Mozilla internal settings.
65 build_with_mozilla = false 65 build_with_mozilla = false
66 66
67 rtc_enable_android_opensl = false 67 rtc_enable_android_opensl = false
68 68
69 # Link-Time Optimizations. 69 # Link-Time Optimizations.
70 # Executes code generation at link-time instead of compile-time. 70 # Executes code generation at link-time instead of compile-time.
71 # https://gcc.gnu.org/wiki/LinkTimeOptimization 71 # https://gcc.gnu.org/wiki/LinkTimeOptimization
72 rtc_use_lto = false 72 rtc_use_lto = false
73 73
74 rtc_restrict_logging = true
75
76 # Set to "func", "block", "edge" for coverage generation. 74 # Set to "func", "block", "edge" for coverage generation.
77 # At unit test runtime set UBSAN_OPTIONS="coverage=1". 75 # At unit test runtime set UBSAN_OPTIONS="coverage=1".
78 # It is recommend to set include_examples=0. 76 # It is recommend to set include_examples=0.
79 # Use llvm's sancov -html-report for human readable reports. 77 # Use llvm's sancov -html-report for human readable reports.
80 # See http://clang.llvm.org/docs/SanitizerCoverage.html . 78 # See http://clang.llvm.org/docs/SanitizerCoverage.html .
81 rtc_sanitize_coverage = "" 79 rtc_sanitize_coverage = ""
82 80
83 # Enable libevent task queues on platforms that support it. 81 # Enable libevent task queues on platforms that support it.
84 if (is_win || is_mac || is_ios || is_nacl) { 82 if (is_win || is_mac || is_ios || is_nacl) {
85 rtc_enable_libevent = false 83 rtc_enable_libevent = false
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 # build environments, even if available for Chromium builds. 134 # build environments, even if available for Chromium builds.
137 rtc_use_gtk = !build_with_chromium 135 rtc_use_gtk = !build_with_chromium
138 } 136 }
139 137
140 # A second declare_args block, so that declarations within it can 138 # A second declare_args block, so that declarations within it can
141 # depend on the possibly overridden variables in the first 139 # depend on the possibly overridden variables in the first
142 # declare_args block. 140 # declare_args block.
143 declare_args() { 141 declare_args() {
144 # Include the iLBC audio codec? 142 # Include the iLBC audio codec?
145 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 143 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
144
145 rtc_restrict_logging = build_with_chromium
146 } 146 }
147 147
148 # Make it possible to provide custom locations for some libraries (move these 148 # Make it possible to provide custom locations for some libraries (move these
149 # up into declare_args should we need to actually use them for the GN build). 149 # up into declare_args should we need to actually use them for the GN build).
150 rtc_libvpx_dir = "//third_party/libvpx" 150 rtc_libvpx_dir = "//third_party/libvpx"
151 rtc_libyuv_dir = "//third_party/libyuv" 151 rtc_libyuv_dir = "//third_party/libyuv"
152 rtc_opus_dir = "//third_party/opus" 152 rtc_opus_dir = "//third_party/opus"
153 153
154 ############################################################################### 154 ###############################################################################
155 # Templates 155 # Templates
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 ]) 278 ])
279 configs += invoker.configs 279 configs += invoker.configs
280 configs -= rtc_remove_configs 280 configs -= rtc_remove_configs
281 configs -= invoker.suppressed_configs 281 configs -= invoker.suppressed_configs
282 public_configs = [ rtc_common_inherited_config ] 282 public_configs = [ rtc_common_inherited_config ]
283 if (defined(invoker.public_configs)) { 283 if (defined(invoker.public_configs)) {
284 public_configs += invoker.public_configs 284 public_configs += invoker.public_configs
285 } 285 }
286 } 286 }
287 } 287 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698