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:
parent
2eb8e02756
commit
94c4f41ab8
11
gn/BUILD.gn
11
gn/BUILD.gn
@ -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++" ]
|
||||
|
Loading…
Reference in New Issue
Block a user