mirror of
https://github.com/openharmony/third_party_glslang.git
synced 2026-07-01 06:41:53 -04:00
fix compile error by deps this glslang
Signed-off-by: liujiahe (D) <liujiahe5@huawei.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user