]> khamidou — GitHub mirrors - electron.git/commitdiff
Increase node_module_version, fixes #533
authorCheng Zhao <zcbenz@gmail.com>
Tue, 30 Sep 2014 12:30:52 +0000 (20:30 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 30 Sep 2014 12:32:14 +0000 (20:32 +0800)
common.gypi
vendor/node

index 04b0977701d0bd5f330d067e7b0bc7f60d896293..462d66d3314eddf9ee7094907e0ffd36364c5cc9 100644 (file)
@@ -1,6 +1,7 @@
 {
   'variables': {
     'clang': 0,
+    'node_module_version': 15,
     'conditions': [
       ['OS=="mac" or OS=="linux"', {
         'clang': 1,
         'include_dirs': [
           'vendor/brightray/vendor/download/libchromiumcontent/src/v8/include',
         ],
+        'defines': [
+          # Override NODE_MODULE_VERSION
+          'NODE_MODULE_VERSION=<(node_module_version)',
+        ],
       }],
       ['_target_name=="libuv"', {
         'conditions': [
index 20b07f3e991f82d6aef22e8b8212f19ef1cb5bcb..9a477fc92198e9e7d3ffcc989f51a290d901c767 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 20b07f3e991f82d6aef22e8b8212f19ef1cb5bcb
+Subproject commit 9a477fc92198e9e7d3ffcc989f51a290d901c767