summaryrefslogtreecommitdiffstats
path: root/js/src/editline/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/editline/moz.build')
-rw-r--r--js/src/editline/moz.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/editline/moz.build b/js/src/editline/moz.build
new file mode 100644
index 0000000000..239821f59f
--- /dev/null
+++ b/js/src/editline/moz.build
@@ -0,0 +1,18 @@
+# -*- Mode: python; 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/.
+
+Library('editline')
+
+UNIFIED_SOURCES += [
+ 'editline.c',
+ 'sysunix.c',
+]
+
+FORCE_STATIC_LIB = True
+
+for var in ('ANSI_ARROWS', 'HAVE_TCGETATTR', 'HIDE', 'USE_DIRENT', 'SYS_UNIX',
+ 'HAVE_STDLIB', 'UNIQUE_HISTORY'):
+ DEFINES[var] = True