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
0ee7e9d4
Commit
0ee7e9d4
authored
Mar 01, 2017
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build overture from source code
parent
5f2ce180
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
1 deletion
+15
-1
.gitignore
.gitignore
+1
-0
.gitmodules
.gitmodules
+3
-0
.travis.yml
.travis.yml
+2
-1
mobile/build.sbt
mobile/build.sbt
+8
-0
mobile/src/main/jni/overture/armeabi-v7a/liboverture.so
mobile/src/main/jni/overture/armeabi-v7a/liboverture.so
+0
-0
mobile/src/main/jni/overture/x86/liboverture.so
mobile/src/main/jni/overture/x86/liboverture.so
+0
-0
mobile/src/overture
mobile/src/overture
+1
-0
No files found.
.gitignore
View file @
0ee7e9d4
...
@@ -9,3 +9,4 @@ local.sbt
...
@@ -9,3 +9,4 @@ local.sbt
mobile/src/main/libs
mobile/src/main/libs
mobile/src/main/obj
mobile/src/main/obj
mobile/src/main/jni/overture
.gitmodules
View file @
0ee7e9d4
...
@@ -33,3 +33,6 @@
...
@@ -33,3 +33,6 @@
[submodule "mobile/src/main/jni/libudns"]
[submodule "mobile/src/main/jni/libudns"]
path = mobile/src/main/jni/libudns
path = mobile/src/main/jni/libudns
url = https://github.com/shadowsocks/libudns.git
url = https://github.com/shadowsocks/libudns.git
[submodule "mobile/src/overture"]
path = mobile/src/overture
url = https://github.com/shadowsocks/overture-android.git
.travis.yml
View file @
0ee7e9d4
...
@@ -7,6 +7,7 @@ env:
...
@@ -7,6 +7,7 @@ env:
global
:
global
:
-
NDK_VERSION=r12b
-
NDK_VERSION=r12b
-
NDK_CCACHE=ccache
-
NDK_CCACHE=ccache
-
GOROOT_BOOTSTRAP=$GOROOT
-
ANDROID_NDK_HOME=$HOME/.android/android-ndk-${NDK_VERSION}
-
ANDROID_NDK_HOME=$HOME/.android/android-ndk-${NDK_VERSION}
-
SBTPATH=$HOME/.sbt
-
SBTPATH=$HOME/.sbt
-
PATH=${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${PATH}
-
PATH=${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${PATH}
...
@@ -49,4 +50,4 @@ install:
...
@@ -49,4 +50,4 @@ install:
fi
fi
script
:
script
:
-
$SBTPATH/sbt android:package
-
$SBTPATH/sbt
go-build
android:package
mobile/build.sbt
View file @
0ee7e9d4
...
@@ -36,3 +36,11 @@ libraryDependencies ++=
...
@@ -36,3 +36,11 @@ libraryDependencies ++=
"eu.chainfire"
%
"libsuperuser"
%
"1.0.0.201608240809"
::
"eu.chainfire"
%
"libsuperuser"
%
"1.0.0.201608240809"
::
"net.glxn.qrgen"
%
"android"
%
"2.0"
::
"net.glxn.qrgen"
%
"android"
%
"2.0"
::
Nil
Nil
lazy
val
goBuild
=
TaskKey
[
Unit
](
"go-build"
,
"Build go and kcptun"
)
goBuild
:=
{
Process
(
Seq
(
"mobile/src/overture/make.bash"
,
minSdkVersion
.
value
))
!
streams
.
value
.
log
match
{
case
0
=>
// Success!
case
n
=>
sys
.
error
(
s
"Native build script exit code: $n"
)
}
}
mobile/src/main/jni/overture/armeabi-v7a/liboverture.so
deleted
100755 → 0
View file @
5f2ce180
File deleted
mobile/src/main/jni/overture/x86/liboverture.so
deleted
100755 → 0
View file @
5f2ce180
File deleted
overture
@
5cb3f8c9
Subproject commit 5cb3f8c9e1723a26d408d28bbe491b1947b3e60f
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