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

Side by Side Diff: webrtc/BUILD.gn

Issue 2000173002: If building a fuzzer, define WEBRTC_UNSAFE_FUZZER_MODE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment on use location Created 4 years, 7 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 if (is_android && !is_clang) { 162 if (is_android && !is_clang) {
163 # The Android NDK doesn"t provide optimized versions of these 163 # The Android NDK doesn"t provide optimized versions of these
164 # functions. Ensure they are disabled for all compilers. 164 # functions. Ensure they are disabled for all compilers.
165 cflags += [ 165 cflags += [
166 "-fno-builtin-cos", 166 "-fno-builtin-cos",
167 "-fno-builtin-sin", 167 "-fno-builtin-sin",
168 "-fno-builtin-cosf", 168 "-fno-builtin-cosf",
169 "-fno-builtin-sinf", 169 "-fno-builtin-sinf",
170 ] 170 ]
171 } 171 }
172
173 if (use_libfuzzer || use_drfuzz) {
174 # Used in Chromium's overrides to disable logging
175 defines += [ "WEBRTC_UNSAFE_FUZZER_MODE" ]
176 }
172 } 177 }
173 178
174 source_set("webrtc") { 179 source_set("webrtc") {
175 sources = [ 180 sources = [
176 "call.h", 181 "call.h",
177 "config.h", 182 "config.h",
178 "transport.h", 183 "transport.h",
179 ] 184 ]
180 185
181 defines = [] 186 defines = []
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 if (use_libfuzzer || use_drfuzz) { 315 if (use_libfuzzer || use_drfuzz) {
311 # This target is only here for gn to discover fuzzer build targets under 316 # This target is only here for gn to discover fuzzer build targets under
312 # webrtc/test/fuzzers/. 317 # webrtc/test/fuzzers/.
313 group("webrtc_fuzzers_dummy") { 318 group("webrtc_fuzzers_dummy") {
314 testonly = true 319 testonly = true
315 deps = [ 320 deps = [
316 "test/fuzzers:webrtc_fuzzer_main", 321 "test/fuzzers:webrtc_fuzzer_main",
317 ] 322 ]
318 } 323 }
319 } 324 }
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