Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | UNIFIED_SOURCES += [ |
michael@0 | 8 | 'mozHunspell.cpp', |
michael@0 | 9 | 'mozHunspellDirProvider.cpp', |
michael@0 | 10 | ] |
michael@0 | 11 | |
michael@0 | 12 | if not CONFIG['MOZ_NATIVE_HUNSPELL']: |
michael@0 | 13 | SOURCES += [ |
michael@0 | 14 | 'affentry.cpp', |
michael@0 | 15 | 'affixmgr.cpp', |
michael@0 | 16 | 'csutil.cpp', |
michael@0 | 17 | 'dictmgr.cpp', |
michael@0 | 18 | 'filemgr.cpp', |
michael@0 | 19 | 'hashmgr.cpp', |
michael@0 | 20 | 'hunspell.cpp', |
michael@0 | 21 | 'hunzip.cpp', |
michael@0 | 22 | 'phonet.cpp', |
michael@0 | 23 | 'replist.cpp', |
michael@0 | 24 | 'suggestmgr.cpp', |
michael@0 | 25 | ] |
michael@0 | 26 | # This variable is referenced in configure.in. Make sure to change that file |
michael@0 | 27 | # too if you need to change this variable. |
michael@0 | 28 | DEFINES['HUNSPELL_STATIC'] = True |
michael@0 | 29 | |
michael@0 | 30 | FINAL_LIBRARY = 'spellchecker' |
michael@0 | 31 | |
michael@0 | 32 | LOCAL_INCLUDES += [ |
michael@0 | 33 | '/extensions/spellcheck/src', |
michael@0 | 34 | ] |
michael@0 | 35 | |
michael@0 | 36 | LOCAL_INCLUDES += [ |
michael@0 | 37 | '/editor/libeditor/base', |
michael@0 | 38 | ] |
michael@0 | 39 | |
michael@0 | 40 | # Suppress warnings in third-party code. |
michael@0 | 41 | if CONFIG['CLANG_CXX']: |
michael@0 | 42 | CXXFLAGS += ['-Wno-unused-private-field'] |