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
c7dd2f9a
Commit
c7dd2f9a
authored
Dec 26, 2012
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shadowsocks-libev
parent
d01295b3
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
418 additions
and
302 deletions
+418
-302
jni/Android.mk
jni/Android.mk
+11
-11
jni/shadowsocks/local.c
jni/shadowsocks/local.c
+406
-291
jni/shadowsocks/local.h
jni/shadowsocks/local.h
+1
-0
libs/armeabi/libexec.so
libs/armeabi/libexec.so
+0
-0
libs/armeabi/libnode.so
libs/armeabi/libnode.so
+0
-0
No files found.
jni/Android.mk
View file @
c7dd2f9a
...
...
@@ -34,17 +34,17 @@ LOCAL_CFLAGS := -Wall -O2 -I$(LOCAL_PATH)/pdnsd
include
$(BUILD_EXECUTABLE)
#
include $(CLEAR_VARS)
include
$(CLEAR_VARS)
#
LOCAL_MODULE := shadowsocks
#
LOCAL_SRC_FILES := shadowsocks/local.c shadowsocks/encrypt.c
#
LOCAL_CFLAGS := -Wall -O2 -I$(LOCAL_PATH)/libev/ -I$(LOCAL_PATH)/openssl/include -std=c99
LOCAL_MODULE
:=
shadowsocks
LOCAL_SRC_FILES
:=
shadowsocks/local.c shadowsocks/encrypt.c
LOCAL_CFLAGS
:=
-Wall
-O2
-I
$(LOCAL_PATH)
/libev/
-I
$(LOCAL_PATH)
/openssl/include
-std
=
c99
#
LOCAL_STATIC_LIBRARIES := libev libcrypto
LOCAL_STATIC_LIBRARIES
:=
libev libcrypto
#
LOCAL_LDLIBS := -llog
LOCAL_LDLIBS
:=
-llog
#
include $(BUILD_EXECUTABLE)
include
$(BUILD_EXECUTABLE)
include
$(CLEAR_VARS)
...
...
@@ -68,9 +68,9 @@ LOCAL_LDLIBS := -ldl
include
$(BUILD_SHARED_LIBRARY)
#
subdirs := $(addprefix $(LOCAL_PATH)/openssl/,$(addsuffix /Android.mk, \
#
crypto \
#
))
subdirs
:=
$(
addprefix
$(LOCAL_PATH)
/openssl/,
$(
addsuffix
/Android.mk,
\
crypto
\
))
#
include $(subdirs)
include
$(subdirs)
jni/shadowsocks/local.c
View file @
c7dd2f9a
This diff is collapsed.
Click to expand it.
jni/shadowsocks/local.h
View file @
c7dd2f9a
...
...
@@ -13,6 +13,7 @@ struct listen_ctx {
struct
server
{
int
fd
;
char
buf
[
BUF_SIZE
];
// server send from, remote recv into
char
stage
;
int
buf_len
;
struct
server_ctx
*
recv_ctx
;
struct
server_ctx
*
send_ctx
;
...
...
libs/armeabi/libexec.so
View file @
c7dd2f9a
No preview for this file type
libs/armeabi/libnode.so
View file @
c7dd2f9a
No preview for this file type
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