Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrockot <kqenro@gmail.com>2021-07-26 21:27:25 +0300
committerGitHub <noreply@github.com>2021-07-26 21:27:25 +0300
commit4376a10c1d917aae2f26908e2123ff5597292362 (patch)
treec38e6319c74805c492ac3e96a51abcf8b3d697d3 /BUILD.gn
parentb2db20a7e8bf10f9da176dccf58b9c7aaaec2ccd (diff)
Fix public deps on generated headers (#4386)
Some generated headers are exposed by headers in the spvtools_opt target, but its dependency on them is private. This can result in build flake, since the headers don't need to be generated before compiling any spvtools_opt dependents. This fixes the build flake by correctly expressing these as public dependencies.
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 5 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index fdf45847e..32a44ff0d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -786,12 +786,14 @@ static_library("spvtools_opt") {
deps = [
":spvtools",
- ":spvtools_language_header_cldebuginfo100",
":spvtools_language_header_debuginfo",
- ":spvtools_language_header_vkdebuginfo100",
":spvtools_vendor_tables_spv-amd-shader-ballot",
]
- public_deps = [ ":spvtools_headers" ]
+ public_deps = [
+ ":spvtools_headers",
+ ":spvtools_language_header_cldebuginfo100",
+ ":spvtools_language_header_vkdebuginfo100",
+ ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]