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 7EXPORTS += [ 8 'nsHyphenationManager.h', 9 'nsHyphenator.h', 10] 11 12UNIFIED_SOURCES += [ 13 'nsHyphenationManager.cpp', 14 'nsHyphenator.cpp', 15] 16 17include('/ipc/chromium/chromium-config.mozbuild') 18 19FINAL_LIBRARY = 'xul' 20 21if CONFIG['CC_TYPE'] in ('clang', 'gcc'): 22 CXXFLAGS += ['-Wno-error=shadow'] 23 24if CONFIG['COMPILE_ENVIRONMENT']: 25 GeneratedFile('mapped_hyph.h', 26 script='/build/RunCbindgen.py', 27 entry_point='generate', 28 inputs=['/third_party/rust/mapped_hyph']) 29