-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #22997 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
- Loading branch information
Showing
43 changed files
with
587 additions
and
366 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 |
---|---|---|
|
@@ -346,3 +346,8 @@ Paolo Greppi <[email protected]> | |
Shelley Vohr <[email protected]> | ||
Ujjwal Sharma <[email protected]> | ||
Michał Kozakiewicz <[email protected]> | ||
Emil Bay <[email protected]> | ||
Jeremiah Senkpiel <[email protected]> | ||
Andy Zhang <[email protected]> | ||
dmabupt <[email protected]> | ||
Ryan Liptak <[email protected]> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
export TOOLCHAIN=$PWD/android-toolchain-arm64 | ||
mkdir -p $TOOLCHAIN | ||
API=${3:-24} | ||
$1/build/tools/make-standalone-toolchain.sh \ | ||
--toolchain=aarch64-linux-android-4.9 \ | ||
--arch=arm64 \ | ||
--install-dir=$TOOLCHAIN \ | ||
--platform=android-$API \ | ||
--force | ||
export PATH=$TOOLCHAIN/bin:$PATH | ||
export AR=aarch64-linux-android-ar | ||
export CC=aarch64-linux-android-gcc | ||
export CXX=aarch64-linux-android-g++ | ||
export LINK=aarch64-linux-android-g++ | ||
export PLATFORM=android | ||
export CFLAGS="-D__ANDROID_API__=$API" | ||
|
||
if [[ $2 == 'gyp' ]] | ||
then | ||
./gyp_uv.py -Dtarget_arch=arm64 -DOS=android -f make-android | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
export TOOLCHAIN=$PWD/android-toolchain-x86 | ||
mkdir -p $TOOLCHAIN | ||
API=${3:-24} | ||
$1/build/tools/make-standalone-toolchain.sh \ | ||
--toolchain=x86-4.9 \ | ||
--arch=x86 \ | ||
--install-dir=$TOOLCHAIN \ | ||
--platform=android-$API \ | ||
--force | ||
export PATH=$TOOLCHAIN/bin:$PATH | ||
export AR=i686-linux-android-ar | ||
export CC=i686-linux-android-gcc | ||
export CXX=i686-linux-android-g++ | ||
export LINK=i686-linux-android-g++ | ||
export PLATFORM=android | ||
export CFLAGS="-D__ANDROID_API__=$API" | ||
|
||
if [[ $2 == 'gyp' ]] | ||
then | ||
./gyp_uv.py -Dtarget_arch=x86 -DOS=android -f make-android | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
export TOOLCHAIN=$PWD/android-toolchain-x86_64 | ||
mkdir -p $TOOLCHAIN | ||
API=${3:-24} | ||
$1/build/tools/make-standalone-toolchain.sh \ | ||
--toolchain=x86_64-4.9 \ | ||
--arch=x86_64 \ | ||
--install-dir=$TOOLCHAIN \ | ||
--platform=android-$API \ | ||
--force | ||
export PATH=$TOOLCHAIN/bin:$PATH | ||
export AR=x86_64-linux-android-ar | ||
export CC=x86_64-linux-android-gcc | ||
export CXX=x86_64-linux-android-g++ | ||
export LINK=x86_64-linux-android-g++ | ||
export PLATFORM=android | ||
export CFLAGS="-D__ANDROID_API__=$API -fPIC" | ||
export CXXFLAGS="-D__ANDROID_API__=$API -fPIC" | ||
export LDFLAGS="-fPIC" | ||
|
||
if [[ $2 == 'gyp' ]] | ||
then | ||
./gyp_uv.py -Dtarget_arch=x86_64 -DOS=android -f make-android | ||
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
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
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.