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:
parent
fa61e4c061
commit
5403f380a4
15
BUILD.gn
15
BUILD.gn
@ -152,18 +152,3 @@ source_set("glslang_sources") {
|
|||||||
"${spirv_tools_dir}:spvtools_opt",
|
"${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" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user