forked from ldcsaa/HP-Socket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,794 changed files
with
165,166 additions
and
55,371 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,8 +1,28 @@ | ||
@echo off | ||
|
||
set CURPATH=%cd% | ||
set PROJECT_PATH=.\project\android-ndk | ||
set LIBS_OUT=.\lib\android-ndk | ||
set OBJ_OUT=.\lib\android-ndk\obj | ||
|
||
|
||
cd %~dp0 | ||
|
||
call ndk-build NDK_PROJECT_PATH=./project/android-ndk NDK_LIBS_OUT=./lib/android-ndk NDK_OUT=./lib/android-ndk/obj %* | ||
rd /s /q %LIBS_OUT% | ||
|
||
call ndk-build NDK_PROJECT_PATH=%PROJECT_PATH% NDK_LIBS_OUT=%LIBS_OUT% NDK_OUT=%OBJ_OUT% %* | ||
|
||
call :cp_static_lib arm64-v8a | ||
call :cp_static_lib armeabi-v7a | ||
call :cp_static_lib x86_64 | ||
call :cp_static_lib x86 | ||
|
||
rd /s /q %OBJ_OUT% | ||
|
||
cd %CURPATH% | ||
|
||
exit /b 0 | ||
|
||
:cp_static_lib | ||
xcopy /y /s /f %OBJ_OUT%\local\%1\*.a %LIBS_OUT%\%1 | ||
goto:eof |
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,5 +1,25 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd $(cd "$(dirname "$0")"; pwd) | ||
|
||
ndk-build NDK_PROJECT_PATH=./project/android-ndk NDK_LIBS_OUT=./lib/android-ndk NDK_OUT=./lib/android-ndk/obj $@ | ||
PROJECT_PATH=./project/android-ndk | ||
LIBS_OUT=./lib/android-ndk | ||
OBJ_OUT=./lib/android-ndk/obj | ||
|
||
function cp_static_lib | ||
{ | ||
cp -f $OBJ_OUT/local/$1/*.a $LIBS_OUT/$1 | ||
} | ||
|
||
rm -rf $LIBS_OUT | ||
|
||
ndk-build NDK_PROJECT_PATH=$PROJECT_PATH NDK_LIBS_OUT=$LIBS_OUT NDK_OUT=$OBJ_OUT $@ | ||
|
||
cp_static_lib arm64-v8a | ||
cp_static_lib armeabi-v7a | ||
cp_static_lib x86_64 | ||
cp_static_lib x86 | ||
|
||
rm -rf $OBJ_OUT |
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.