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

Unified Diff: webrtc/modules/video_coding/BUILD.gn

Issue 3003473002: Only disable -Wthread-safety-attributes warning for Clang. (Closed)
Patch Set: Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/BUILD.gn
diff --git a/webrtc/modules/video_coding/BUILD.gn b/webrtc/modules/video_coding/BUILD.gn
index ef6c2620114cd63a9c1defd09008f45ffab2c8ed..3f06c4d73ec2cb87078e526510444c98be2c5c59 100644
--- a/webrtc/modules/video_coding/BUILD.gn
+++ b/webrtc/modules/video_coding/BUILD.gn
@@ -148,7 +148,9 @@ rtc_static_library("video_coding_utility") {
# TODO(ehmaldonado): Remove once http://bugs.webrtc.org/8090 is fixed.
config("webrtc_h264_config") {
- cflags = [ "-Wno-thread-safety-attributes" ]
+ if (is_clang) {
+ cflags = [ "-Wno-thread-safety-attributes" ]
+ }
}
rtc_static_library("webrtc_h264") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698