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:
Ryan Harrison 2019-11-28 19:48:45 +00:00 committed by Commit Bot service account
parent 40b10e4d65
commit 77f6db7a0b
1 changed files with 1 additions and 3 deletions

View File

@ -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 {