X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=a37f2629c724a7cf301dea95a3d0388c937342d4;hp=2bc0eb26cd22a4bc63478628e1685c629a1d69f0;hb=f6a6d164c6805b82883ce89c1ca60f84519ccf3b;hpb=a3f19f5513b3198180ef73c81eda93941ed9eb33 diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index 2bc0eb2..a37f262 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -370,11 +370,16 @@ make $PARALLEL V=1 make install cd .. +# Strip all shared libs to reduce size. +find $PREFIX -iname "*.so" -exec ${TOOLCHAIN_TRIPLET}-strip -S {} \; + # PulseView $GIT_CLONE git://sigrok.org/pulseview cd pulseview cmake $CM -DANDROID_STL_PATH=${ANDROID_NDK}/sources/cxx-stl . make $PARALLEL VERBOSE=1 +make install +${TOOLCHAIN_TRIPLET}-strip -S libs/$TARGET_ARCH/libpulseview.so cd android "${ANDROID_SDK}/tools/android" update project -p . -t android-14 -n PulseView ant debug