Issue #1451 - Split hunspell library out of xul.

utf_info.cxx imported from 1.4.1 upstream.

Also moved unicode_info struct to the header to fix bustage with compiling the
new utf_info.cxx.

I've also gone ahead and deunified this new shared library as unified building
is busting in hunspell.cxx, complaining about config.h not being found. Weird
that it only happens in unified mode.

This reduces libxul size on all platforms by ~200 KB.
This commit is contained in:
Job Bautista 2023-04-23 11:56:05 +08:00 • committed by roytam1
commit cbbc15ad81
6 changed files with 9900 additions and 15 deletions

View file

@ -33,6 +33,4 @@ EXPORTS.mozilla += [
'RemoteSpellCheckEngineParent.h',
]
# This variable is referenced in configure.in. Make sure to change that file
# too if you need to change this variable.
DEFINES['HUNSPELL_STATIC'] = True
DEFINES['BUILDING_LIBHUNSPELL'] = True