Now that we build NSS, we can build libxmlsec and libxsec_xmlsec for iOS, too

Change-Id: I65ab8aad0744a2aa254fefc7732cd8130bb249fb
This commit is contained in:
Tor Lillqvist 2014-08-12 16:50:17 +03:00
parent 323142c678
commit 3442b004e6
7 changed files with 12 additions and 5 deletions

View file

@ -3226,7 +3226,7 @@ endif # GUIBASE=unx
gb_ExternalProject__use_nss3:=
ifeq (,$(filter DESKTOP,$(BUILD_TYPE)))
ifeq ($(OS),ANDROID)
gb_LinkTarget__use_nss3:=

View file

@ -42,6 +42,11 @@ ANDROID)
;;
IOS)
oslibs="$WORKDIR/UnpackedTarball/icu/source/stubdata/*.a"
oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/.libs/*.a"
oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/nss/.libs/*.a"
# Unfortunately NSS's build mechanism copies each static archive
# it constructs to another place, but we don't bother filtering
# out duplicates, it shouldn't hurt.
nsslibs=`find $WORKDIR/UnpackedTarball/nss -name 'lib*.a'`
;;
*)

View file

@ -50,7 +50,7 @@ else
$(call gb_ExternalProject_get_state_target,xmlsec,build) :
$(call gb_ExternalProject_run,build,\
$(if $(filter MACOSX,$(OS)),ACLOCAL="aclocal -I $(SRCDIR)/m4/mac") \
$(if $(filter IOS MACOSX,$(OS)),ACLOCAL="aclocal -I $(SRCDIR)/m4/mac") \
$(if $(filter AIX,$(OS)),ACLOCAL="aclocal -I /opt/freeware/share/aclocal") \
autoreconf \
&& ./configure \

View file

@ -9,7 +9,7 @@
$(eval $(call gb_Module_Module,libxmlsec))
ifneq ($(filter-out ANDROID IOS,$(OS)),)
ifneq ($(filter-out ANDROID,$(OS)),)
$(eval $(call gb_Module_add_targets,libxmlsec,\
UnpackedTarball_xmlsec \
ExternalPackage_xmlsec \

View file

@ -110,6 +110,8 @@ $(eval $(call gb_Rdb_add_components,services,\
xmlscript/util/xmlscript \
xmlsecurity/util/xmlsecurity \
xmlsecurity/util/xsec_fw \
$(if $(filter-out ANDROID,$(OS)), \
xmlsecurity/util/xsec_xmlsec$(if $(filter WNT,$(OS)),.windows)) \
$(if $(ENABLE_COINMP), \
sccomp/source/solver/coinmpsolver \
) \
@ -330,7 +332,6 @@ $(eval $(call gb_Rdb_add_components,services,\
extensions/source/scanner/scn \
extensions/source/update/feed/updatefeed \
xmlhelp/util/ucpchelp1 \
xmlsecurity/util/xsec_xmlsec$(if $(filter WNT,$(OS)),.windows) \
$(if $(filter-out WNT,$(OS)),\
shell/source/cmdmail/cmdmail \
) \

View file

@ -46,6 +46,7 @@ core_factory_list = [
("libutllo.a", "utl_component_getFactory"),
("libxmlsecurity.a", "xmlsecurity_component_getFactory"),
("libxolo.a", "xo_component_getFactory"),
("libxsec_xmlsec.a", "xsec_xmlsec_component_getFactory"),
("libxstor.a", "xstor_component_getFactory"),
]

View file

@ -12,7 +12,7 @@ $(eval $(call gb_Module_Module,xmlsecurity))
$(eval $(call gb_Module_add_targets,xmlsecurity,\
Library_xmlsecurity \
Library_xsec_fw \
$(if $(filter-out IOS ANDROID,$(OS)),Library_xsec_xmlsec) \
$(if $(filter-out ANDROID,$(OS)),Library_xsec_xmlsec) \
))
$(eval $(call gb_Module_add_l10n_targets,xmlsecurity,\