mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
ebde6b9f4f
--HG-- extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
34 lines
802 B
Python
34 lines
802 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# 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/.
|
|
|
|
EXPORTS += [
|
|
'nsHyphenationManager.h',
|
|
'nsHyphenator.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'nsHyphenationManager.cpp',
|
|
'nsHyphenator.cpp',
|
|
]
|
|
|
|
# These files cannot be built in unified mode because they include hnjalloc.h.
|
|
SOURCES += [
|
|
'hnjstdio.cpp',
|
|
'hyphen.c',
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
# Suppress warnings in third-party code.
|
|
if CONFIG['GNU_CC']:
|
|
CFLAGS += [
|
|
'-Wno-sign-compare',
|
|
'-Wno-type-limits',
|
|
]
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
FAIL_ON_WARNINGS = True
|