Merge pull request #1807 from digit-google/fuchsia-fixes

BUILD.gn: Fix file for use with Fuchsia platform build.
This commit is contained in:
John Kessenich 2019-06-22 20:45:18 -06:00 committed by GitHub
commit 46cf14638a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,7 @@ source_set("glslang_sources") {
"-Wno-inconsistent-missing-override",
"-Wno-sign-compare",
"-Wno-unused-variable",
"-Wno-missing-field-initializers",
]
}
if (is_win && !is_clang) {
@ -186,3 +187,13 @@ executable("glslang_validator") {
":glslang_sources",
]
}
executable("spirv-remap") {
sources = [
"StandAlone/spirv-remap.cpp",
]
defines = [ "ENABLE_OPT=1" ]
deps = [
":glslang_sources",
]
}