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:
Yuxin Hu 2024-09-15 21:09:33 -07:00 committed by arcady-lunarg
parent e611e99037
commit d7a3dc619e

View file

@ -302,6 +302,7 @@ source_set("glslang_default_resource_limits_sources") {
"glslang/ResourceLimits/ResourceLimits.cpp",
"glslang/Public/ResourceLimits.h",
"glslang/Include/ResourceLimits.h",
"glslang/Include/visibility.h",
]
public_configs = [ ":glslang_public" ]