File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ mystrip=$ANDROID_NDK_HOME /toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
3
+ for i in ../libiconv-libicu-android/armeabi-v7a/libicu* .so
4
+ do
5
+ echo $i
6
+ $mystrip -o ../build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/lib/swift/android/` basename $i ` $i
7
+ done
Original file line number Diff line number Diff line change
1
+ cd release
2
+ cp -r * /home/zhuowei/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ myuuid=` uuidgen`
3
+ adb shell mkdir -p /data/local/tmp/$myuuid
4
+ adb push $1 /data/local/tmp/$myuuid > /dev/null || exit
5
+ b=` basename $1 `
6
+ adb shell chmod 755 /data/local/tmp/$myuuid /$b > /dev/null || exit
7
+ adb shell LD_LIBRARY_PATH=/data/local/tmp/$myuuid :/data/local/tmp /data/local/tmp/$myuuid /$b " >/data/local/tmp/$myuuid /__stdout" 1>&2
8
+ adb shell cat /data/local/tmp/$myuuid /__stdout
9
+ adb shell rm -rf /data/local/tmp/$myuuid
You can’t perform that action at this time.
0 commit comments