From 567714f07c56611cd6319b0eee0491275c719f28 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 21 Jul 2016 00:52:44 -0600 Subject: [PATCH] Add a few new node defines --- electron.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electron.gyp b/electron.gyp index 2d18f09e137e..6562b48006dd 100644 --- a/electron.gyp +++ b/electron.gyp @@ -207,6 +207,9 @@ 'vendor/node/node.gyp:node', ], 'defines': [ + # We need to access internal implementations of Node. + 'NODE_WANT_INTERNALS=1', + 'NODE_SHARED_MODE', # This is defined in skia/skia_common.gypi. 'SK_SUPPORT_LEGACY_GETTOPDEVICE', # Disable warnings for g_settings_list_schemas.