Merge pull request #1510 from Kangz/complete_lib

BUILD.gn: make the static_lib complete to fix the build on OSX
This commit is contained in:
John Kessenich 2018-09-26 16:24:10 -06:00 committed by GitHub
commit 91ac4290bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,8 @@ source_set("glslang_sources") {
"SPIRV/SPVRemapper.h",
"SPIRV/SpvBuilder.cpp",
"SPIRV/SpvBuilder.h",
"SPIRV/SpvPostProcess.cpp",
"SPIRV/SpvPostProcess.h",
"SPIRV/bitutils.h",
"SPIRV/disassemble.cpp",
"SPIRV/disassemble.h",
@ -155,6 +157,7 @@ static_library("glslang_static") {
deps = [
":glslang_sources",
]
complete_static_lib = true
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]