From ee93dfafddd0f14b9a1ac3c82b967bf3a65f64aa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Aug 2012 10:38:35 +0100 Subject: drop disable-xmlsec, it's core functionality, have to live with it we basically need this functionality, the idea of it being optional isn't really logical anymore with nss split out from mozilla. for iOS and Android where they doesn't build yet spit out lame fixme nag warnings Change-Id: I4b16c62553b12d3dcd340a0b5c5a4cbd807c2f02 --- scp2/InstallModule_ooo.mk | 1 - scp2/source/ooo/file_library_ooo.scp | 31 +++++++++++++++---------------- 2 files changed, 15 insertions(+), 17 deletions(-) (limited to 'scp2') diff --git a/scp2/InstallModule_ooo.mk b/scp2/InstallModule_ooo.mk index 4dff0df7bca5..97a007de666e 100644 --- a/scp2/InstallModule_ooo.mk +++ b/scp2/InstallModule_ooo.mk @@ -48,7 +48,6 @@ $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\ ENABLE_ONLINE_UPDATE \ ENABLE_OPENGL \ ENABLE_TELEPATHY \ - ENABLE_XMLSEC \ MERGELIBS \ SYSTEM_BOOST \ SYSTEM_CAIRO \ diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp index 71979861dbc8..de2c541ab4ec 100644 --- a/scp2/source/ooo/file_library_ooo.scp +++ b/scp2/source/ooo/file_library_ooo.scp @@ -1342,8 +1342,8 @@ SPECIAL_LIB_FILE(gid_File_Lib_Ucpdav1,ucpdav1) #endif #endif -//we need the nss libs of libxmlsec is enabled, or if the internal mozilla is enabled -#if defined(ENABLE_XMLSEC) || !defined(SYSTEM_MOZILLA) && !defined(WITHOUT_MOZILLA) +#if !defined(ANDROID) && !defined(IOS) //FIXME: get nss&xmlsec building +//we need the nss libs for libxmlsec (or if the internal mozilla is enabled) #ifndef SYSTEM_NSS SPECIAL_LIB_FILE(gid_File_Lib_Freebl3,freebl3) SPECIAL_LIB_FILE(gid_File_Lib_Nss3,nss3) @@ -1374,7 +1374,19 @@ End #endif //WNT SPECIAL_LIB_FILE(gid_File_Lib_Ssl3,ssl3) #endif //SYSTEM_NSS -#endif //defined(ENABLE_XMLSEC) || !defined(SYSTEM_MOZILLA) && !defined(WITHOUT_MOZILLA) + +File gid_File_Lib_XSec_XmlSec + LIB_FILE_BODY; + #ifdef UNX + Name = STRING(CONCAT2(libxsec_xmlsec,UNXSUFFIX)); + #else + Name = "xsec_xmlsec.dll"; + #endif + Dir = SCP2_OOO_BIN_DIR; + Styles = (PACKED); +End + +#endif SPECIAL_LIB_FILE(gid_File_Lib_Ucpfile1,ucpfile1) @@ -1508,18 +1520,6 @@ File gid_File_Lib_XSec_Framework Styles = (PACKED); End -#if defined(ENABLE_XMLSEC) -File gid_File_Lib_XSec_XmlSec - LIB_FILE_BODY; - #ifdef UNX - Name = STRING(CONCAT2(libxsec_xmlsec,UNXSUFFIX)); - #else - Name = "xsec_xmlsec.dll"; - #endif - Dir = SCP2_OOO_BIN_DIR; - Styles = (PACKED); -End - #ifdef WNT File gid_File_Lib_LibXMLSec_xmlseccore LIB_FILE_BODY; @@ -1543,7 +1543,6 @@ File gid_File_Lib_LibXMLSec_xmlsecmscrypto Styles = (PACKED); End #endif -#endif File gid_File_Lib_Migrationoo2 LIB_FILE_BODY; -- cgit