Fix the Chinese windows system encoding problem.

Bug: dawn:1532

Change-Id: I01d72f07c304c1ac058f58cfc004d5e8595dc7e4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102220
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Seto 2022-09-14 16:41:07 +00:00 committed by Dawn LUCI CQ
parent a659937918
commit c6927203d5
1 changed files with 4 additions and 0 deletions

View File

@ -329,6 +329,10 @@ function(common_compile_options TARGET)
target_link_options(${TARGET} PUBLIC -fsanitize=undefined)
endif()
endif(COMPILER_IS_LIKE_GNU)
if(MSVC)
target_compile_options(${TARGET} PUBLIC /utf-8)
endif()
endfunction()
if (${DAWN_ENABLE_TSAN})