diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-22 16:01:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-11-22 16:05:43 +0200 |
commit | f543232668af23f798be69303745937a4af17bbd (patch) | |
tree | 3e57115e4a50c7f61e095f04c1c025af1529186c /bin | |
parent | 5281101bb9d953fdfcbc47f84cf0d9bd49ef46b3 (diff) |
Add script to produce a list of all the static libs built for iOS or Android
Hopefully this script can be used instead of the current many separate
ways to get the same list.
Change-Id: I9b84d70f37e5819140c3a3a2c8a002cfdbac4364
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lo-all-static-libs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bin/lo-all-static-libs b/bin/lo-all-static-libs new file mode 100755 index 000000000000..1fd2e6e9b1bb --- /dev/null +++ b/bin/lo-all-static-libs @@ -0,0 +1,41 @@ +#!/bin/sh + +# Output a list of all our (static) libraries, to be used when +# building the single executable or single dynamic object that is used +# in an LO-based iOS or Android app. (All our libraries and bundled +# 3rd-party ones are built as static archives for these platforms.) + +# This script is to be run once a full "make" for iOS or Android has +# otherwise completed, when just building the actual apps is left. + +if test -z "$INSTDIR" ; then + echo This script should be invoked only in a build. + exit 1 +fi + +if test "$OS" != ANDROID -a "$OS" != IOS; then + echo This script makes sense only in Android or iOS builds. +fi + +echo $INSTDIR/$LIBO_LIB_FOLDER/lib*.a \ + $EBOOK_LIBS \ + $FREEHAND_LIBS \ + $HUNSPELL_LIBS \ + $HYPHEN_LIB \ + $MYTHES_LIBS \ + $WORKDIR/LinkTarget/StaticLibrary/lib*.a \ + $WORKDIR/UnpackedTarball/icu/source/lib/*.a \ + $WORKDIR/UnpackedTarball/lcms2/src/.libs/*.a \ + $WORKDIR/UnpackedTarball/libcdr/src/lib/.libs/*.a \ + $WORKDIR/UnpackedTarball/libmspub/src/lib/.libs/*.a \ + $WORKDIR/UnpackedTarball/libmwaw/src/lib/.libs/*.a \ + $WORKDIR/UnpackedTarball/libodfgen/src/.libs/*.a \ + $WORKDIR/UnpackedTarball/liborcus/src/*/.libs/*.a \ + $WORKDIR/UnpackedTarball/libvisio/src/lib/.libs/*.a \ + $WORKDIR/UnpackedTarball/libwp?/src/lib/.libs/*.a \ + $WORKDIR/UnpackedTarball/openssl/*.a \ + $WORKDIR/UnpackedTarball/raptor/src/.libs/*.a \ + $WORKDIR/UnpackedTarball/rasqal/src/.libs/*.a \ + $WORKDIR/UnpackedTarball/redland/src/.libs/*.a \ + $WORKDIR/UnpackedTarball/xml2/.libs/*.a \ + $WORKDIR/UnpackedTarball/xslt/libxslt/.libs/*.a |