зеркало из https://github.com/stride3d/xkslang.git
BUILD.gn: remove the static_library target.
This had no sources and depended on a source_set which is an invalid use of GN because the source_set gets propagated to dependents of the static_library instead.
This commit is contained in:
Родитель
fa61e4c061
Коммит
5403f380a4
15
BUILD.gn
15
BUILD.gn
|
@ -152,18 +152,3 @@ source_set("glslang_sources") {
|
|||
"${spirv_tools_dir}:spvtools_opt",
|
||||
]
|
||||
}
|
||||
|
||||
static_library("glslang_static") {
|
||||
deps = [
|
||||
":glslang_sources",
|
||||
]
|
||||
|
||||
# Without this the macOS linker complains that the static library is empty
|
||||
if (is_mac) {
|
||||
complete_static_lib = true
|
||||
}
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче