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

Side by Side Diff: webrtc/BUILD.gn

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase 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
« no previous file with comments | « no previous file | webrtc/DEPS » ('j') | 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 "-Woverloaded-virtual", 172 "-Woverloaded-virtual",
173 ] 173 ]
174 } 174 }
175 } 175 }
176 176
177 if (is_clang) { 177 if (is_clang) {
178 cflags += [ 178 cflags += [
179 "-Wimplicit-fallthrough", 179 "-Wimplicit-fallthrough",
180 "-Wthread-safety", 180 "-Wthread-safety",
181 "-Winconsistent-missing-override", 181 "-Winconsistent-missing-override",
182 "-Wundef",
182 ] 183 ]
183 } 184 }
184 } 185 }
185 186
186 if (current_cpu == "arm64") { 187 if (current_cpu == "arm64") {
187 defines += [ "WEBRTC_ARCH_ARM64" ] 188 defines += [ "WEBRTC_ARCH_ARM64" ]
188 defines += [ "WEBRTC_HAS_NEON" ] 189 defines += [ "WEBRTC_HAS_NEON" ]
189 } 190 }
190 191
191 if (current_cpu == "arm") { 192 if (current_cpu == "arm") {
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 ] 821 ]
821 822
822 deps = [ 823 deps = [
823 "//webrtc/api:libjingle_peerconnection_java", 824 "//webrtc/api:libjingle_peerconnection_java",
824 "//webrtc/api:libjingle_peerconnection_jni", 825 "//webrtc/api:libjingle_peerconnection_jni",
825 "//webrtc/examples:AppRTCMobile_javalib", 826 "//webrtc/examples:AppRTCMobile_javalib",
826 ] 827 ]
827 } 828 }
828 } 829 }
829 } 830 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698