Add no-nonportable-include-path when building ANGLE with Windows-Clang

Fixes a slew of warnings when doing distributed builds.

Change-Id: Ie96144eef1e593479201d8bab8c93cbc6e64e87c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/212407
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Brian Osman 2019-05-07 11:15:29 -04:00 committed by Skia Commit-Bot
parent 9f0eeac820
commit 06e14afaa7

View File

@ -58,8 +58,14 @@ config("common") {
# Allow noexcept, even though we build without exceptions # Allow noexcept, even though we build without exceptions
cflags_cc += [ "/wd4577" ] cflags_cc += [ "/wd4577" ]
if (is_clang) { if (is_clang) {
# utilities.cpp includes an 'unsigned long' <= UINT_MAX check cflags_cc += [
cflags_cc += [ "-Wno-tautological-constant-compare" ] # utilities.cpp includes an 'unsigned long' <= UINT_MAX check
"-Wno-tautological-constant-compare",
# With distributed Windows builds, files may lose their case during copy, causing
# case-sensitivity mismatch on remote machines.
"-Wno-nonportable-include-path",
]
} }
} }
} }