in MS land, -include is /FI

Change-Id: Ibfead1121f22277297e16196b37e6e86dc2d2166
Reviewed-on: https://skia-review.googlesource.com/146649
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
Mike Klein 2018-08-09 17:24:45 -04:00 committed by Skia Commit-Bot
parent 2eb8e02756
commit 94c4f41ab8

View File

@ -272,11 +272,16 @@ config("default") {
"-fsanitize=$sanitizers,$fyi_sanitizers",
"-fno-sanitize-recover=$sanitizers",
"-fsanitize-blacklist=$_blacklist",
"-include$_blacklist",
]
if (!is_win) {
cflags += [ "-fno-omit-frame-pointer" ]
if (is_win) {
cflags += [ "/FI$_blacklist" ]
} else {
cflags += [
"-include$_blacklist",
"-fno-omit-frame-pointer",
]
}
if (is_linux) {
cflags_cc += [ "-stdlib=libc++" ]
ldflags += [ "-stdlib=libc++" ]