1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/extensions/spellcheck/hunspell/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +UNIFIED_SOURCES += [ 1.11 + 'mozHunspell.cpp', 1.12 + 'mozHunspellDirProvider.cpp', 1.13 +] 1.14 + 1.15 +if not CONFIG['MOZ_NATIVE_HUNSPELL']: 1.16 + SOURCES += [ 1.17 + 'affentry.cpp', 1.18 + 'affixmgr.cpp', 1.19 + 'csutil.cpp', 1.20 + 'dictmgr.cpp', 1.21 + 'filemgr.cpp', 1.22 + 'hashmgr.cpp', 1.23 + 'hunspell.cpp', 1.24 + 'hunzip.cpp', 1.25 + 'phonet.cpp', 1.26 + 'replist.cpp', 1.27 + 'suggestmgr.cpp', 1.28 + ] 1.29 + # This variable is referenced in configure.in. Make sure to change that file 1.30 + # too if you need to change this variable. 1.31 + DEFINES['HUNSPELL_STATIC'] = True 1.32 + 1.33 +FINAL_LIBRARY = 'spellchecker' 1.34 + 1.35 +LOCAL_INCLUDES += [ 1.36 + '/extensions/spellcheck/src', 1.37 +] 1.38 + 1.39 +LOCAL_INCLUDES += [ 1.40 + '/editor/libeditor/base', 1.41 +] 1.42 + 1.43 +# Suppress warnings in third-party code. 1.44 +if CONFIG['CLANG_CXX']: 1.45 + CXXFLAGS += ['-Wno-unused-private-field']