| Index: test/unittests/BUILD.gn
|
| diff --git a/test/unittests/BUILD.gn b/test/unittests/BUILD.gn
|
| index d1367e7ef2ea2c268dced8171e4166f9d47841a8..78720d095b8bc3dece0e306b006b0b5c0a695d64 100644
|
| --- a/test/unittests/BUILD.gn
|
| +++ b/test/unittests/BUILD.gn
|
| @@ -165,4 +165,16 @@ executable("unittests") {
|
| } else {
|
| deps += [ "../..:v8" ]
|
| }
|
| +
|
| + if (is_win) {
|
| + # This warning is benignly triggered by the U16 and U32 macros in
|
| + # bytecode-utils.h.
|
| + # C4309: 'static_cast': truncation of constant value
|
| + cflags = [ "/wd4309" ]
|
| +
|
| + # Suppress warnings about importing locally defined symbols.
|
| + if (is_component_build) {
|
| + ldflags = [ "/ignore:4049", "/ignore:4217" ]
|
| + }
|
| + }
|
| }
|
|
|