Skip to content

Commit

Permalink
Compile Skia .mm files with C++17 support
Browse files Browse the repository at this point in the history
Change-Id: Ied5a58752c15cee95ba053e39e1c31e06d09f361
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937649
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Cr-Commit-Position: refs/heads/master@{#719342}
  • Loading branch information
bsalomon authored and Commit Bot committed Nov 26, 2019
1 parent a75cfe0 commit afc005c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ config("skia_library_config") {
} else {
cflags_cc = [ "-std=c++17" ]
}
if (is_mac) {
cflags_objcc = [ "-std=c++17" ]
}
}

source_set("skcms") {
Expand Down Expand Up @@ -808,6 +811,7 @@ if (is_mac) {
cflags_objcc = [
"-Wno-unguarded-availability",
"-fobjc-arc",
"-std=c++17",
]
deps = [
"//gpu/config:workaround_list",
Expand Down

0 comments on commit afc005c

Please sign in to comment.