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

Unified Diff: skia/BUILD.gn

Issue 2354453002: Added "-Wno-signed-enum-bitfield" flag to not trigger Clang warning (Closed)
Patch Set: Moved changes to chrome/src Created 4 years, 1 month 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: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index e74662610d45975e6f6aa6b0fadf7186271bb99a..e527d063f33a9b322d725b5decadf2a68f62bc3a 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -481,6 +481,11 @@ component("skia") {
# SkFontHost_mac.cpp uses API deprecated in iOS 7, crbug.com/408571
cflags = [ "-Wno-deprecated-declarations" ]
}
+
+ if (is_clang) {
+ # Skia won't build with the enum bitfield warning in Clang, crbug.com/648462
+ cflags += [ "-Wno-signed-enum-bitfield" ]
+ }
}
# Separated out so it can be compiled with different flags for SSE.
« 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