Skip to content

Commit

Permalink
更新所有版本依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
olunx committed Jul 18, 2017
1 parent 52ac30c commit 171e5c9
Show file tree
Hide file tree
Showing 38 changed files with 693 additions and 509 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
*.exe
*.out
*.app
.DS_Store
workspace.xml
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[submodule "libiconv-android"]
path = libiconv-android
url = https://github.com/xxDroid/libiconv-android.git
[submodule "libxml2-android"]
path = libxml2-android
url = https://github.com/xxDroid/libxml2-android.git
[submodule "openssl-android"]
path = openssl-android
url = https://github.com/xxDroid/openssl-android.git
Expand Down
965 changes: 663 additions & 302 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion android/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ adb shell su -c "mkdir /var/run"

# Install so
echo "----------Install so--------------"
for S in libiconv.so libxml2.so libplist.so libplist++.so libusb.so libusbmuxd.so libcrypto.so libssl.so libimobiledevice.so libzip.so
for S in libplist.so libplist++.so libusb.so libusbmuxd.so libcrypto.so libssl.so libimobiledevice.so libzip.so
do
# adb shell rm "$PATH_DEVICE_LIB/$S"
adb push "$PATH_LOCAL_LIB/$S" $PATH_DEVICE_LIB
Expand Down
4 changes: 2 additions & 2 deletions android/jni/Android.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
LOCAL_PATH:= $(call my-dir)

include $(LOCAL_PATH)/libiconv.mk
include $(LOCAL_PATH)/libxml2.mk
#include $(LOCAL_PATH)/libiconv.mk
#include $(LOCAL_PATH)/libxml2.mk
include $(LOCAL_PATH)/libplist.mk
include $(LOCAL_PATH)/libusbmuxd.mk

Expand Down
35 changes: 0 additions & 35 deletions android/jni/libiconv.mk

This file was deleted.

10 changes: 5 additions & 5 deletions android/jni/libimobiledevice.mk
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)

LOCAL_CFLAGS := -DHAVE_OPENSSL

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/tools/idevicepair.c

Expand All @@ -157,7 +157,7 @@ include $(CLEAR_VARS)

LOCAL_CFLAGS := \
-DHAVE_OPENSSL

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/tools/idevicedate.c

Expand All @@ -180,7 +180,7 @@ include $(CLEAR_VARS)

LOCAL_CFLAGS := \
-DHAVE_OPENSSL

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/tools/idevicediagnostics.c

Expand All @@ -203,7 +203,7 @@ include $(CLEAR_VARS)

LOCAL_CFLAGS := \
-DHAVE_OPENSSL

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/tools/idevicescreenshot.c

Expand All @@ -226,7 +226,7 @@ include $(CLEAR_VARS)

LOCAL_CFLAGS := \
-DHAVE_OPENSSL

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/tools/idevicesyslog.c

Expand Down
17 changes: 5 additions & 12 deletions android/jni/libplist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,15 @@ LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/src/ptrarray.c \
$(LIB_ROOT_REL)/src/bplist.c \
$(LIB_ROOT_REL)/src/base64.c \
$(LIB_ROOT_REL)/src/xplist.c
$(LIB_ROOT_REL)/src/xplist.c \
$(LIB_ROOT_REL)/src/time64.c

LOCAL_C_INCLUDES := \
$(LIB_ROOT_ABS)/src \
$(LIB_ROOT_ABS)/include \
$(LIB_ROOT_ABS)/libcnary/include \
$(LIB_ROOT_ABS)/../$(LIB_XML_VERSION) \
$(LIB_ROOT_ABS)/../$(LIB_XML_VERSION)/include \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION) \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/include \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/lib \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/libcharset \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/libcharset/include
$(LIB_ROOT_ABS)/libcnary/include

LOCAL_STATIC_LIBRARIES := libcnary
LOCAL_SHARED_LIBRARIES := libiconv libxml2

LOCAL_MODULE := libplist

Expand Down Expand Up @@ -93,7 +86,7 @@ LOCAL_C_INCLUDES := \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/libcharset/include

LOCAL_STATIC_LIBRARIES := libcnary
LOCAL_SHARED_LIBRARIES := libiconv libxml2 libplist
LOCAL_SHARED_LIBRARIES := libplist

LOCAL_MODULE := libplist++

Expand Down Expand Up @@ -122,7 +115,7 @@ LOCAL_C_INCLUDES := \
$(LIB_ROOT_ABS)/../$(LIB_ICONV_VERSION)/libcharset/include

LOCAL_STATIC_LIBRARIES := libcnary
LOCAL_SHARED_LIBRARIES := libiconv libxml2 libplist
LOCAL_SHARED_LIBRARIES := libplist

LOCAL_MODULE := plistutil

Expand Down
12 changes: 6 additions & 6 deletions android/jni/libusbmuxd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ include $(CLEAR_VARS)
LOCAL_CFLAGS := -O2 -Wall -fPIC -lpthread -Dlibusbmuxd_EXPORTS -DHAVE_INOTIFY -DSO_NOSIGPIPE

LOCAL_SRC_FILES := \
$(LIB_ROOT_REL)/src/collection.c \
$(LIB_ROOT_REL)/src/libusbmuxd.c \
$(LIB_ROOT_REL)/src/socket.c
$(LIB_ROOT_REL)/common/collection.c \
$(LIB_ROOT_REL)/common/socket.c \
$(LIB_ROOT_REL)/src/libusbmuxd.c

LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/.. \
$(LIB_ROOT_ABS)/common \
$(LIB_ROOT_ABS)/include \
$(LIB_ROOT_ABS)/src \
$(LIB_ROOT_ABS)/../$(LIB_PLIST_VERSION)/include
$(LIB_ROOT_ABS)/../$(LIB_PLIST_VERSION)/include

LOCAL_SHARED_LIBRARIES := libc libplist
LOCAL_LDLIBS := -llog
Expand All @@ -41,7 +41,7 @@ LOCAL_SRC_FILES:= \

LOCAL_C_INCLUDES += \
$(LIB_ROOT_ABS)/include \
$(LIB_ROOT_ABS)/src
$(LIB_ROOT_ABS)/common

LOCAL_SHARED_LIBRARIES := libc libusbmuxd

Expand Down
49 changes: 0 additions & 49 deletions android/jni/libusbx.mk

This file was deleted.

80 changes: 0 additions & 80 deletions android/jni/libxml2.mk

This file was deleted.

4 changes: 2 additions & 2 deletions android/jni/usbmuxd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LIB_ROOT_ABS:= $(LOCAL_PATH)/../../$(LIB_VERSION)

include $(CLEAR_VARS)

LOCAL_CFLAGS := -O2 -Wall -lpthread -DPACKAGE_STRING=\"1.0.9\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_NAME=\"usbmuxd\" -DHAVE_LIBIMOBILEDEVICE
LOCAL_CFLAGS := -O2 -Wall -lpthread -DPACKAGE_STRING=\"1.0.9\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_NAME=\"usbmuxd\" -DHAVE_LIBIMOBILEDEVICE -DHAVE_CLOCK_GETTIME

LOCAL_SRC_FILES:= \
$(LIB_ROOT_REL)/src/log.c \
Expand All @@ -21,7 +21,7 @@ LOCAL_SRC_FILES:= \
$(LIB_ROOT_REL)/src/device.c \
$(LIB_ROOT_REL)/src/main.c \
$(LIB_ROOT_REL)/src/preflight.c \
$(LIB_ROOT_REL)/src/usb-linux.c \
$(LIB_ROOT_REL)/src/usb.c \
$(LIB_ROOT_REL)/src/utils.c

LOCAL_C_INCLUDES += \
Expand Down
Binary file modified android/libs/armeabi-v7a/fusermount
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicecrashreport
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicedate
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicediagnostics
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/ideviceid
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/ideviceinfo
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/ideviceinstaller
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicename
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicepair
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicescreenshot
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/idevicesyslog
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/ifuse
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/iproxy
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/listdevs
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/openssl
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/plistutil
Binary file not shown.
Binary file modified android/libs/armeabi-v7a/usbmuxdd
Binary file not shown.
2 changes: 1 addition & 1 deletion ideviceinstaller
2 changes: 1 addition & 1 deletion ifuse
Submodule ifuse updated 3 files
+3 −0 README
+3 −0 configure.ac
+92 −5 src/ifuse.c
1 change: 0 additions & 1 deletion libiconv-android
Submodule libiconv-android deleted from ba2427
2 changes: 1 addition & 1 deletion libimobiledevice
2 changes: 1 addition & 1 deletion libplist
Submodule libplist updated 120 files
2 changes: 1 addition & 1 deletion libusb
Submodule libusb updated 106 files
2 changes: 1 addition & 1 deletion libusbmuxd
1 change: 0 additions & 1 deletion libxml2-android
Submodule libxml2-android deleted from 7174c7
2 changes: 1 addition & 1 deletion usbmuxd

0 comments on commit 171e5c9

Please sign in to comment.