Skip to content

Commit

Permalink
[Impeller] Disable libcxx deprecation warnings for Impeller's use of …
Browse files Browse the repository at this point in the history
…string converters (flutter#34559)
  • Loading branch information
jason-simmons authored Jul 9, 2022
1 parent cd984a7 commit 44b86a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions impeller/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 44b86a8

Please sign in to comment.