OLD | NEW |
---|---|
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 Loading... | |
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 defines += [ "WEBRTC_UNSAFE_FUZZER_MODE" ] | |
pbos-webrtc
2016/05/24 12:54:55
Add a comment here to say where it's used (and why
katrielc
2016/05/24 15:30:06
Done.
| |
175 } | |
172 } | 176 } |
173 | 177 |
174 source_set("webrtc") { | 178 source_set("webrtc") { |
175 sources = [ | 179 sources = [ |
176 "call.h", | 180 "call.h", |
177 "config.h", | 181 "config.h", |
178 "transport.h", | 182 "transport.h", |
179 ] | 183 ] |
180 | 184 |
181 defines = [] | 185 defines = [] |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
310 if (use_libfuzzer || use_drfuzz) { | 314 if (use_libfuzzer || use_drfuzz) { |
311 # This target is only here for gn to discover fuzzer build targets under | 315 # This target is only here for gn to discover fuzzer build targets under |
312 # webrtc/test/fuzzers/. | 316 # webrtc/test/fuzzers/. |
313 group("webrtc_fuzzers_dummy") { | 317 group("webrtc_fuzzers_dummy") { |
314 testonly = true | 318 testonly = true |
315 deps = [ | 319 deps = [ |
316 "test/fuzzers:webrtc_fuzzer_main", | 320 "test/fuzzers:webrtc_fuzzer_main", |
317 ] | 321 ] |
318 } | 322 } |
319 } | 323 } |
OLD | NEW |