fix compile error by deps this glslang

Signed-off-by: liujiahe (D) <liujiahe5@huawei.com>
This commit is contained in:
JIAHE LIU
2024-01-31 12:37:43 +08:00
committed by LK
parent fa2f09c9ce
commit 1fbaecd2eb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -31,7 +31,7 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import("//build_overrides/glslang.gni")
import("build_overrides/glslang.gni")
# Both Chromium and Fuchsia use by default a set of warning errors
# that is far too strict to compile this project. These are also
@@ -284,12 +284,12 @@ template("glslang_sources_common") {
}
glslang_sources_common("glslang_lib_sources") {
enable_opt = true
enable_opt = false
enable_hlsl = true
}
glslang_sources_common("glslang_sources") {
enable_opt = true
enable_opt = false
enable_hlsl = true
}
+1 -1
View File
@@ -34,4 +34,4 @@
# These are variables that are overridable by projects that include glslang.
# The path to glslang dependencies.
glslang_spirv_tools_dir = "//External/spirv-tools"
glslang_spirv_tools_dir = "External/spirv-tools"