Fix gn build error
After commit d7d5ab8, projects based on
gn builds failed when running command:
gn gen out/<BUILDDIR> --check
```
ERROR at //third_party/glslang/src/glslang/Public/ResourceLimits.h:41:11: Include not allowed.
^----------------------
It is not in any dependency of
//third_party/glslang/src:glslang_default_resource_limits_sources
```
Add the visibility.h to the build target
glslang_default_resource_limits_sources
to fix the error.
This commit is contained in:
parent
e611e99037
commit
d7a3dc619e
1 changed files with 1 additions and 0 deletions
1
BUILD.gn
1
BUILD.gn
|
|
@ -302,6 +302,7 @@ source_set("glslang_default_resource_limits_sources") {
|
||||||
"glslang/ResourceLimits/ResourceLimits.cpp",
|
"glslang/ResourceLimits/ResourceLimits.cpp",
|
||||||
"glslang/Public/ResourceLimits.h",
|
"glslang/Public/ResourceLimits.h",
|
||||||
"glslang/Include/ResourceLimits.h",
|
"glslang/Include/ResourceLimits.h",
|
||||||
|
"glslang/Include/visibility.h",
|
||||||
]
|
]
|
||||||
public_configs = [ ":glslang_public" ]
|
public_configs = [ ":glslang_public" ]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue