forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: upgrade c-ares to piscisaureus/cares@805d153
This should fix the Android build.
- Loading branch information
1 parent
82ff891
commit 58e4eda
Showing
7 changed files
with
646 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/Debug/ | ||
/build/gyp | ||
/out/ | ||
/Release/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
export TOOLCHAIN=$PWD/android-toolchain | ||
mkdir -p $TOOLCHAIN | ||
$1/build/tools/make-standalone-toolchain.sh \ | ||
--toolchain=arm-linux-androideabi-4.7 \ | ||
--arch=arm \ | ||
--install-dir=$TOOLCHAIN \ | ||
--platform=android-9 | ||
export PATH=$TOOLCHAIN/bin:$PATH | ||
export AR=arm-linux-androideabi-ar | ||
export CC=arm-linux-androideabi-gcc | ||
export CXX=arm-linux-androideabi-g++ | ||
export LINK=arm-linux-androideabi-g++ | ||
export PLATFORM=android | ||
export OS=android | ||
|
||
if [ $2 -a $2 == 'gyp' ] | ||
then | ||
./gyp_cares -DOS=android -Dtarget_arch=arm | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.