Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
e766ae22
Commit
e766ae22
authored
Aug 06, 2016
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the build sequence
parent
f3ed1571
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
build.sh
build.sh
+11
-12
travis-ci/setup.sh
travis-ci/setup.sh
+1
-1
No files found.
build.sh
View file @
e766ae22
...
@@ -4,23 +4,22 @@ function try () {
...
@@ -4,23 +4,22 @@ function try () {
"
$@
"
||
exit
-1
"
$@
"
||
exit
-1
}
}
pushd
kcptun
# Build native binaries
try ./make.bash
pushd
src/main
popd
try
pushd
src/main
# Build
#try $ANDROID_NDK_HOME/ndk-build clean
try
$ANDROID_NDK_HOME
/ndk-build
-j8
try
$ANDROID_NDK_HOME
/ndk-build
-j8
# copy executables
# copy executables
for
app
in
pdnsd redsocks ss-local ss-tunnel tun2socks
for
app
in
pdnsd redsocks ss-local ss-tunnel tun2socks
do
do
rm
-f
assets/armeabi-v7a/
$app
rm
-f
assets/armeabi-v7a
rm
-f
assets/x86/
$app
rm
-f
assets/x86
mkdir
-p
assets/armeabi-v7a
mkdir
-p
assets/x86
try
mv
libs/armeabi-v7a/
$app
assets/armeabi-v7a/
try
mv
libs/armeabi-v7a/
$app
assets/armeabi-v7a/
try
mv
libs/x86/
$app
assets/x86/
try
mv
libs/x86/
$app
assets/x86/
done
done
popd
try
popd
# Build kcptun
pushd
kcptun
try ./make.bash
popd
travis-ci/setup.sh
View file @
e766ae22
...
@@ -26,7 +26,7 @@ if [ ! -d "$GOROOT_BOOTSTRAP" ]; then
...
@@ -26,7 +26,7 @@ if [ ! -d "$GOROOT_BOOTSTRAP" ]; then
mkdir
-p
$GOROOT_BOOTSTRAP
mkdir
-p
$GOROOT_BOOTSTRAP
pushd
$HOME
/.android
pushd
$HOME
/.android
wget https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz
wget https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz
tar
x
v
f go1.6.3.linux-amd64.tar.gz
tar
xf go1.6.3.linux-amd64.tar.gz
popd
popd
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment