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:
3
BUILD.gn
3
BUILD.gn
@@ -55,6 +55,8 @@ source_set("glslang_sources") {
|
|||||||
"SPIRV/SPVRemapper.h",
|
"SPIRV/SPVRemapper.h",
|
||||||
"SPIRV/SpvBuilder.cpp",
|
"SPIRV/SpvBuilder.cpp",
|
||||||
"SPIRV/SpvBuilder.h",
|
"SPIRV/SpvBuilder.h",
|
||||||
|
"SPIRV/SpvPostProcess.cpp",
|
||||||
|
"SPIRV/SpvPostProcess.h",
|
||||||
"SPIRV/bitutils.h",
|
"SPIRV/bitutils.h",
|
||||||
"SPIRV/disassemble.cpp",
|
"SPIRV/disassemble.cpp",
|
||||||
"SPIRV/disassemble.h",
|
"SPIRV/disassemble.h",
|
||||||
@@ -155,6 +157,7 @@ static_library("glslang_static") {
|
|||||||
deps = [
|
deps = [
|
||||||
":glslang_sources",
|
":glslang_sources",
|
||||||
]
|
]
|
||||||
|
complete_static_lib = true
|
||||||
|
|
||||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user