summaryrefslogtreecommitdiff
path: root/system/intl/hyphenation/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'system/intl/hyphenation/moz.build')
-rw-r--r--system/intl/hyphenation/moz.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/intl/hyphenation/moz.build b/system/intl/hyphenation/moz.build
new file mode 100644
index 000000000..dbf4605c2
--- /dev/null
+++ b/system/intl/hyphenation/moz.build
@@ -0,0 +1,24 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# 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/.
+
+DIRS += ['locales']
+
+EXPORTS += [
+ 'src/nsHyphenationManager.h',
+ 'src/nsHyphenator.h',
+]
+
+SOURCES += [
+ 'src/hnjstdio.cpp',
+ 'src/nsHyphenationManager.cpp',
+ 'src/nsHyphenator.cpp',
+]
+
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += ['-Wno-error=shadow']
+
+LOCAL_INCLUDES += ['/libs/hyphen/src']
+
+FINAL_LIBRARY = 'xul'