summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/import/build/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/import/build/moz.build')
-rw-r--r--comm/mailnews/import/build/moz.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/comm/mailnews/import/build/moz.build b/comm/mailnews/import/build/moz.build
new file mode 100644
index 0000000000..b6f8aa8baa
--- /dev/null
+++ b/comm/mailnews/import/build/moz.build
@@ -0,0 +1,28 @@
+# 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/.
+
+USE_LIBS += [
+ "nspr",
+]
+
+Library("import")
+FINAL_LIBRARY = "xul"
+
+# js needs to come after xul for now, because it is an archive and its content
+# is discarded when it comes first.
+USE_LIBS += [
+ "js",
+]
+
+LOCAL_INCLUDES += [
+ "../src",
+]
+
+if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
+ OS_LIBS += CONFIG["TK_LIBS"]
+ OS_LIBS += ["-framework Cocoa"]
+
+if CONFIG["OS_ARCH"] != "WINNT":
+ OS_LIBS += CONFIG["MOZ_ZLIB_LIBS"]