summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2014-03-27 00:30:49 +0400
committerFedor Indutny <fedor@indutny.com>2014-03-29 11:51:41 +0400
commitb55c9d68aa713e75ff5077cd425cbaafde010b92 (patch)
tree0dba3e7197ef32ded58e984dc41043e042677343 /node.gyp
parent6d15b163b090f7dd218843fdca55f874da5daead (diff)
downloadandroid-node-v8-b55c9d68aa713e75ff5077cd425cbaafde010b92.tar.gz
android-node-v8-b55c9d68aa713e75ff5077cd425cbaafde010b92.tar.bz2
android-node-v8-b55c9d68aa713e75ff5077cd425cbaafde010b92.zip
configure: --v8-options option
Introduce a way to set some v8 flags at compile time, the values should be separated by comma.
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 82fa56b90a..86fa64a395 100644
--- a/node.gyp
+++ b/node.gyp
@@ -13,6 +13,7 @@
'node_use_openssl%': 'true',
'node_shared_openssl%': 'false',
'node_use_mdb%': 'false',
+ 'node_v8_options%': '',
'library_files': [
'src/node.js',
'lib/_debugger.js',
@@ -158,6 +159,7 @@
'ARCH="<(target_arch)"',
'PLATFORM="<(OS)"',
'NODE_TAG="<(node_tag)"',
+ 'NODE_V8_OPTIONS=<(node_v8_options)',
],
'conditions': [