moz.build (766B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 include("sources.mozbuild") 8 9 UNIFIED_SOURCES += hunspell_sources 10 11 DEFINES['HUNSPELL_STATIC'] = True 12 13 FINAL_LIBRARY = 'xul' 14 15 LOCAL_INCLUDES += [ 16 '../glue', 17 ] 18 19 # We allow warnings for third-party code that can be updated from upstream. 20 AllowCompilerWarnings() 21 22 include('/ipc/chromium/chromium-config.mozbuild') 23 include('../glue/common.mozbuild') 24 25 HunspellIncludes() 26 27 if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'): 28 CXXFLAGS += [ 29 '-Wno-implicit-fallthrough', 30 ]