build: add android support
authorLinus MÃ¥rtensson <linus.martensson@sonymobile.com>
Wed, 8 May 2013 12:10:07 +0000 (14:10 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 17 Jun 2013 15:21:56 +0000 (17:21 +0200)
commit5e4e8ec429381a8d1eebe31647e9daaaae42c54b
treec19748704e920881dcd48776a116539c21316bcf
parentffcd8b94c2111dcc72425ce0fbc48826ca8ba9ac
build: add android support

Resolves minor discrepancies between android and standard POSIX systems.
In addition, some configure parameters were added, and a helper-script
for android configuration. Ideally, this script should be merged into
the standard configure script.

To build for android, source the android-configure script with an NDK
path:

    source ./android-configure ~/android-ndk-r8d

This will create an android standalone toolchain and export the
necessary environment parameters.

After that, build as normal:

    make -j8

After the build, you should now have android-compatible NodeJS binaries.
android-configure [new file with mode: 0755]
common.gypi
configure
doc/api/process.markdown
src/cares_wrap.cc
src/node.cc