Commit 40853472 by Austin Kinross Committed by Jamie Madill

Disable warning 4530 in the libANGLE GN project

Change-Id: I56b5428f40a294248305dff168b9b0bb7b0a9bcc Reviewed-on: https://chromium-review.googlesource.com/249240Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent f03bcad6
...@@ -162,6 +162,7 @@ if (is_win) { ...@@ -162,6 +162,7 @@ if (is_win) {
} # is_win } # is_win
config("libANGLE_config") { config("libANGLE_config") {
cflags = []
defines = [] defines = []
if (angle_enable_d3d9) { if (angle_enable_d3d9) {
defines += [ "ANGLE_ENABLE_D3D9" ] defines += [ "ANGLE_ENABLE_D3D9" ]
...@@ -174,6 +175,9 @@ config("libANGLE_config") { ...@@ -174,6 +175,9 @@ config("libANGLE_config") {
"GL_GLEXT_PROTOTYPES=", "GL_GLEXT_PROTOTYPES=",
"EGLAPI=", "EGLAPI=",
] ]
if (is_win) {
cflags += [ "/wd4530" ] # C++ exception handler used, but unwind semantics are not enabled.
}
} }
static_library("libANGLE") { static_library("libANGLE") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment