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

Unified Diff: xdiff/BUILD.gn

Issue 1946073002: Fix xdiff lib build file for windows (Closed) Base URL: https://chromium.googlesource.com/native_client/src/third_party.git@master
Patch Set: Format Build File Created 4 years, 8 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 | xdiff/xinclude.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xdiff/BUILD.gn
diff --git a/xdiff/BUILD.gn b/xdiff/BUILD.gn
index 8cc00dc2095b052dfd10c7fc5129cf117ed4afc1..cde09f331314d8ce1023202302aca76285b8df48 100644
--- a/xdiff/BUILD.gn
+++ b/xdiff/BUILD.gn
@@ -4,8 +4,15 @@
config("xdiff_config") {
visibility = [ ":*" ]
-
- cflags = [ "-Wno-sign-compare" ]
+ if (!is_clang && target_os == "win") {
+ cflags = [
+ "-wd4018",
+ "-wd4267",
+ "-wd4706",
+ ]
+ } else {
+ cflags = [ "-Wno-sign-compare" ]
+ }
}
static_library("xdiff") {
« no previous file with comments | « no previous file | xdiff/xinclude.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698