Fix BUILD.gn issues for Android & Fuschia
BUG=dawn:287 Change-Id: If39e1211cedefa5d02f1ea2f3ae00f6195e1e916 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14141 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
40b10e4d65
commit
77f6db7a0b
|
@ -16,8 +16,6 @@ import("//build_overrides/build.gni")
|
|||
import("../scripts/dawn_features.gni")
|
||||
import("../scripts/dawn_overrides_with_defaults.gni")
|
||||
|
||||
is_msvc = is_win && !is_clang
|
||||
|
||||
###############################################################################
|
||||
# Third-party dependencies needed by libdawn_native
|
||||
###############################################################################
|
||||
|
@ -166,7 +164,7 @@ if (is_win || (is_linux && !is_chromeos) || is_mac) {
|
|||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
|
||||
if (is_msvc) {
|
||||
if (is_win && !is_clang) {
|
||||
# nonstandard extension, function/data pointer conversion in expression
|
||||
cflags_c = [ "/wd4152" ]
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue