mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
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.
36 lines
877 B
INI
36 lines
877 B
INI
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
SOURCES += [
|
|
'mozHunspell.cpp',
|
|
'mozHunspellDirProvider.cpp',
|
|
'RemoteSpellCheckEngineChild.cpp',
|
|
'RemoteSpellCheckEngineParent.cpp',
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['MOZ_SYSTEM_HUNSPELL']:
|
|
CXXFLAGS += CONFIG['MOZ_HUNSPELL_CFLAGS']
|
|
else:
|
|
LOCAL_INCLUDES += ['../src']
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/dom/base',
|
|
'/extensions/spellcheck/src',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
IPDL_SOURCES = [
|
|
'PRemoteSpellcheckEngine.ipdl',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'RemoteSpellCheckEngineChild.h',
|
|
'RemoteSpellCheckEngineParent.h',
|
|
]
|
|
|
|
DEFINES['BUILDING_LIBHUNSPELL'] = True
|