Clarify disabled warning for Metal in BUILD.gn
BUG= Change-Id: I7f0715bbaaae433d2f1a93c5a2496f28d466e150 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11220 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
897ebc7a71
commit
7dda7d0f2e
6
BUILD.gn
6
BUILD.gn
|
@ -46,7 +46,11 @@ source_set("dawn_platform") {
|
|||
config("libdawn_native_internal") {
|
||||
configs = [ "${dawn_root}/src/common:dawn_internal" ]
|
||||
|
||||
# Suppress warnings that Metal isn't in the deployment target of Chrome
|
||||
# Suppress warnings that Metal isn't in the deployment target of Chrome:
|
||||
# initialization of the Metal backend is behind a IsMetalSupported check so
|
||||
# Dawn won't call Metal functions on macOS 10.10.
|
||||
# TODO(cwallez@chromium.org): Consider using API_AVAILABLE annotations on all
|
||||
# metal code in dawn once crbug.com/1004024 is sorted out.
|
||||
if (is_mac) {
|
||||
cflags_objcc = [ "-Wno-unguarded-availability" ]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue