Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
49a6efd9
Kaydet (Commit)
49a6efd9
authored
Kas 16, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Copy more shared objects for unit testing
üst
73ee896b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
11 deletions
+41
-11
Makefile
sal/osl/android/Makefile
+41
-11
No files found.
sal/osl/android/Makefile
Dosyayı görüntüle @
49a6efd9
NDK_HOME
:=
$(
shell
type
-p
ndk-build
)
NDK_HOME
:=
$(
shell
type
-p
ndk-build
)
NDK_HOME
:=
$(
shell
dirname
$(NDK_HOME))
NDK_HOME
:=
$(
shell
dirname
$(NDK_HOME))
SODEST
=
libs/armeabi-v7a
all
:
all
:
ndk-build
V
=
1
ndk-build
V
=
1
#
# Copy shared libraries we need to libs/armeabi-v7a so that ant will
# Copy shared libraries we need to libs/armeabi-v7a so that ant will
# include them in the .apk
# include them in the .apk.
cp
../../unxandr.pro/bin/cppunittester
libs/armeabi-v7a/libcppunittester.so
# First ones from here, sal
cp
../../../solver/unxandr.pro/lib/libcppunit-1.12.so
libs/armeabi-v7a
cp
../../$(INPATH)/bin/cppunittester
$(SODEST)/libcppunittester.so
cp
../../unxandr.pro/lib/*.so
libs/armeabi-v7a
#
cp
$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so
libs/armeabi-v7a
# Then the cppunit library
cp
$(OUTDIR)/lib/libcppunit-1.12.so
$(SODEST)
#
# Then cppunit "plug-ins", first ones from sal
#
cp
../../$(INPATH)/lib/*.so
$(SODEST)
#
# Then ones from other modules. Note that depending on when you try
# this, these might not have been built yet.
#
-for
F
in
$(SRC_ROOT)/cppu/$(INPATH)/lib/qa_*.so;
do
\
test
-f
$${F}
&&
cp
$${F}
$(SODEST);
\
done
#
-for
F
in
i18npool_test_breakiterator;
do
\
test
-f
$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}.so
&&
cp
$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}.so
$(SODEST);
\
done
#
# Then libs that the tests from other modules need.
#
-for
F
in
libuno_cppu
libuno_salhelpergcc3
libuno_cppuhelpergcc3;
do
\
test
-f
$(OUTDIR)/lib/$${F}.so
&&
cp
$(OUTDIR)/lib/$${F}.so
$(SODEST);
\
done
#
# Then the shared GNU C++ library
cp
$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so
$(SODEST)
#
# Copy them to obj/local/armeabi-v7a, too, where gdb will look for
# Copy them to obj/local/armeabi-v7a, too, where gdb will look for
# them. Not sure if this is useful or not; I have great problems with
# them. Not sure if this is useful or not; I have great problems with
# ndk-gdb.
# ndk-gdb. Actually, commenting out this part for now...
cp
../../unxandr.pro/bin/cppunittester
obj/local/armeabi-v7a/libcppunittester.so
#
cp
../../../solver/unxandr.pro/lib/libcppunit-1.12.so
obj/local/armeabi-v7a
# cp ../../$(INPATH)/bin/cppunittester obj/local/armeabi-v7a/libcppunittester.so
cp
../../unxandr.pro/lib/*.so
obj/local/armeabi-v7a
# cp $(OUTPATH)/lib/libcppunit-1.12.so obj/local/armeabi-v7a
cp
$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so
obj/local/armeabi-v7a
# cp ../../$(INPATH)/lib/*.so obj/local/armeabi-v7a
# cp $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so obj/local/armeabi-v7a
unset
JAVA_HOME
&&
ant
debug
unset
JAVA_HOME
&&
ant
debug
@echo
'Install it on the device with ant debug install'
@echo
'Install it on the device with ant debug install'
@echo
'Then run it with something like what "make run" does (see Makefile)'
@echo
'Then run it with something like what "make run" does (see Makefile)'
...
...
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