diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 771c64648b1c49..162866898796be 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -640,7 +640,7 @@ ], }], ['v8_enable_webassembly==1', { - 'conditions': [ + 'target_conditions': [ ['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h', @@ -867,7 +867,7 @@ ], 'conditions': [ ['v8_enable_webassembly==1', { - 'conditions': [ + 'target_conditions': [ ['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',