aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-10-23 12:13:14 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-23 16:34:29 +0000
commit9dd4ae1a7a1c188267af3e05ec5408ae6fe22326 (patch)
tree8df521f47101eb41f7eac4ea14addd0e9a1c077b /gn/BUILD.gn
parent30578893c5111c32b8e8812957c55508a813a629 (diff)
Support cc_wrapper with MSVC toolchain
Bug: skia: Change-Id: I0433105c4a0e064e5cc228b7f6bec1ef3c66909c Reviewed-on: https://skia-review.googlesource.com/62744 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index db8f8345d2..9d6952af4a 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -288,6 +288,11 @@ config("warnings") {
"/wd4291", # no matching operator delete found;
# memory will not be freed if initialization throws an exception
]
+ if (is_clang) {
+ # Shouldn't be necessary for local builds. With distributed builds, files may lose
+ # their case during copy, causing case-sensitivity mismatch on remote machines.
+ cflags += [ "-Wno-nonportable-include-path" ]
+ }
} else {
cflags += [
"-Wall",