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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 cflags_cc = [ | 107 cflags_cc = [ |
108 "-Wnon-virtual-dtor", | 108 "-Wnon-virtual-dtor", |
109 | 109 |
110 # This is enabled for clang; enable for gcc as well. | 110 # This is enabled for clang; enable for gcc as well. |
111 "-Woverloaded-virtual", | 111 "-Woverloaded-virtual", |
112 ] | 112 ] |
113 } | 113 } |
114 } | 114 } |
115 | 115 |
116 if (is_clang) { | 116 if (is_clang) { |
117 cflags += [ "-Wthread-safety" ] | 117 cflags += [ |
| 118 "-Wimplicit-fallthrough", |
| 119 "-Wthread-safety", |
| 120 ] |
118 } | 121 } |
119 } | 122 } |
120 | 123 |
121 if (current_cpu == "arm64") { | 124 if (current_cpu == "arm64") { |
122 defines += [ "WEBRTC_ARCH_ARM64" ] | 125 defines += [ "WEBRTC_ARCH_ARM64" ] |
123 defines += [ "WEBRTC_HAS_NEON" ] | 126 defines += [ "WEBRTC_HAS_NEON" ] |
124 } | 127 } |
125 | 128 |
126 if (current_cpu == "arm") { | 129 if (current_cpu == "arm") { |
127 defines += [ "WEBRTC_ARCH_ARM" ] | 130 defines += [ "WEBRTC_ARCH_ARM" ] |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 if (use_libfuzzer || use_drfuzz) { | 284 if (use_libfuzzer || use_drfuzz) { |
282 # This target is only here for gn to discover fuzzer build targets under | 285 # This target is only here for gn to discover fuzzer build targets under |
283 # webrtc/test/fuzzers/. | 286 # webrtc/test/fuzzers/. |
284 group("webrtc_fuzzers_dummy") { | 287 group("webrtc_fuzzers_dummy") { |
285 testonly = true | 288 testonly = true |
286 deps = [ | 289 deps = [ |
287 "test/fuzzers:webrtc_fuzzer_main", | 290 "test/fuzzers:webrtc_fuzzer_main", |
288 ] | 291 ] |
289 } | 292 } |
290 } | 293 } |
OLD | NEW |