| 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 # 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 Loading... |
| 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 } |
| OLD | NEW |