Skip to content

Commit

Permalink
Add c++17 for objective-c++ for Skia
Browse files Browse the repository at this point in the history
The Mac Metal code uses objective-c++, but was still using the c++14
command-line flag.

Change-Id: I150ad2369326e558cad966714a6a966ba7c77dba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937657
Commit-Queue: Herb Derby <herb@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Cr-Commit-Position: refs/heads/master@{#719356}
  • Loading branch information
herbderby authored and Commit Bot committed Nov 26, 2019
1 parent 0e17e1d commit aafe73e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ config("skia_library_config") {
cflags_cc = [ "/std:c++17" ]
} else {
cflags_cc = [ "-std=c++17" ]
cflags_objcc = [ "-std=c++17" ]
}
}

Expand Down

0 comments on commit aafe73e

Please sign in to comment.