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

Side by Side Diff: webrtc/BUILD.gn

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: manual changes Created 4 years, 2 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
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "-Woverloaded-virtual", 175 "-Woverloaded-virtual",
176 ] 176 ]
177 } 177 }
178 } 178 }
179 179
180 if (is_clang) { 180 if (is_clang) {
181 cflags += [ 181 cflags += [
182 "-Wimplicit-fallthrough", 182 "-Wimplicit-fallthrough",
183 "-Wthread-safety", 183 "-Wthread-safety",
184 "-Winconsistent-missing-override", 184 "-Winconsistent-missing-override",
185 "-Wundef",
185 ] 186 ]
186 } 187 }
187 } 188 }
188 189
189 if (current_cpu == "arm64") { 190 if (current_cpu == "arm64") {
190 defines += [ "WEBRTC_ARCH_ARM64" ] 191 defines += [ "WEBRTC_ARCH_ARM64" ]
191 defines += [ "WEBRTC_HAS_NEON" ] 192 defines += [ "WEBRTC_HAS_NEON" ]
192 } 193 }
193 194
194 if (current_cpu == "arm") { 195 if (current_cpu == "arm") {
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 ] 846 ]
846 847
847 deps = [ 848 deps = [
848 "//webrtc/api:libjingle_peerconnection_java", 849 "//webrtc/api:libjingle_peerconnection_java",
849 "//webrtc/api:libjingle_peerconnection_jni", 850 "//webrtc/api:libjingle_peerconnection_jni",
850 "//webrtc/examples:AppRTCDemo_javalib", 851 "//webrtc/examples:AppRTCDemo_javalib",
851 ] 852 ]
852 } 853 }
853 } 854 }
854 } 855 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/mediastream_unittest.cc » ('j') | webrtc/api/peerconnectioninterface_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698