[Impeller] Disable libcxx deprecation warnings for Impeller's use of string converters (flutter/engine#34559)

This commit is contained in:
Jason Simmons
2022-07-09 07:57:04 -07:00
committed by GitHub
parent 5751a80315
commit f5f53deaf5

View File

@@ -8,6 +8,10 @@ import("//flutter/shell/version/version.gni")
impeller_component("compiler_lib") {
include_dirs = [ "//third_party/vulkan-deps/spirv-cross/src/" ]
# Current versions of libcxx have deprecated some of the UTF-16 string
# conversion APIs.
defines = [ "_LIBCPP_DISABLE_DEPRECATION_WARNINGS" ]
sources = [
"code_gen_template.h",
"compiler.cc",