summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-10-16 17:10:33 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2014-10-16 22:39:30 +0200
commit5ec2b3fc3d2da83eed34645176c720fb2c4c4969 (patch)
tree68a92eeca2532e401cb6c0acf4295b508fa4ea38 /common.gypi
parent91b249262b174b9efa112070e1d749b3b0286387 (diff)
downloadandroid-node-v8-5ec2b3fc3d2da83eed34645176c720fb2c4c4969.tar.gz
android-node-v8-5ec2b3fc3d2da83eed34645176c720fb2c4c4969.tar.bz2
android-node-v8-5ec2b3fc3d2da83eed34645176c720fb2c4c4969.zip
build: set up basic multi-arch/mode build
Make `make -f Makefile.build ia32.release x64.debug` work. It's not perfect yet: it requires running `./configure` first and the generated `config.gypi` is shared across builds. PR-URL: https://github.com/node-forward/node/pull/24 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 75583f34e8..0fa2d1856f 100644
--- a/common.gypi
+++ b/common.gypi
@@ -12,6 +12,12 @@
'clang%': 0,
'python%': 'python',
+ 'node_tag%': '',
+ 'uv_library%': 'static_library',
+
+ # Default to -O0 for debug builds.
+ 'v8_optimized_debug%': 0,
+
# Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1,