mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
Issue #325 Part 2: Build ICUUtils unconditionally.
This commit is contained in:
parent
1af1f5b3a3
commit
6008e3c1f5
4 changed files with 2 additions and 16 deletions
|
|
@ -3,7 +3,6 @@
|
|||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
#ifdef ENABLE_INTL_API
|
||||
|
||||
#include "ICUUtils.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
|
@ -279,6 +278,5 @@ ICUUtils::ToICUString(nsAString& aMozString, UnicodeString& aICUString)
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ENABLE_INTL_API */
|
||||
#endif /* MOZILLA_INTERNAL_API */
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@
|
|||
#ifndef mozilla_ICUUtils_h__
|
||||
#define mozilla_ICUUtils_h__
|
||||
|
||||
// We only build the ICU utils if we're building ICU:
|
||||
#ifdef ENABLE_INTL_API
|
||||
|
||||
// The ICU utils implementation needs internal things like XPCOM strings and
|
||||
// nsGkAtom, so we only build when included into internal libs:
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
|
|
@ -107,7 +104,6 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
#endif /* ENABLE_INTL_API */
|
||||
#endif /* MOZILLA_INTERNAL_API */
|
||||
|
||||
#endif /* mozilla_ICUUtils_h__ */
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ if CONFIG['_MSC_VER']:
|
|||
CFLAGS += ['-Zl']
|
||||
CXXFLAGS += ['-Zl']
|
||||
|
||||
if CONFIG['ENABLE_INTL_API']:
|
||||
USE_LIBS += ['icu']
|
||||
USE_LIBS += ['icu']
|
||||
|
||||
DIST_INSTALL = True
|
||||
|
|
|
|||
|
|
@ -6,14 +6,7 @@
|
|||
|
||||
intl_unicharutil_util_lcppsrcs = [
|
||||
'GreekCasing.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['ENABLE_INTL_API']:
|
||||
intl_unicharutil_util_lcppsrcs += [
|
||||
'ICUUtils.cpp',
|
||||
]
|
||||
|
||||
intl_unicharutil_util_lcppsrcs += [
|
||||
'ICUUtils.cpp',
|
||||
'IrishCasing.cpp',
|
||||
'nsBidiUtils.cpp',
|
||||
'nsSpecialCasingData.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue