summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/ds/moz.build17
-rw-r--r--js/src/moz.build3
2 files changed, 18 insertions, 2 deletions
diff --git a/js/src/ds/moz.build b/js/src/ds/moz.build
new file mode 100644
index 0000000000..a0b869706c
--- /dev/null
+++ b/js/src/ds/moz.build
@@ -0,0 +1,17 @@
+# -*- 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/.
+
+include('../js-config.mozbuild')
+include('../js-cxxflags.mozbuild')
+
+FINAL_LIBRARY = "js"
+
+# Includes should be relative to parent path
+LOCAL_INCLUDES += ["!..", ".."]
+
+SOURCES += [
+ 'LifoAlloc.cpp',
+ 'MemoryProtectionExceptionHandler.cpp',
+] \ No newline at end of file
diff --git a/js/src/moz.build b/js/src/moz.build
index 8c22ce71d6..ca8d95b643 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -12,6 +12,7 @@ FILES_PER_UNIFIED_FILE = 6
DIRS += [
'builtin',
'devtools',
+ 'ds',
]
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -116,8 +117,6 @@ EXPORTS.js += [
]
SOURCES += [
- 'ds/LifoAlloc.cpp',
- 'ds/MemoryProtectionExceptionHandler.cpp',
'frontend/BytecodeCompiler.cpp',
'frontend/BytecodeEmitter.cpp',
'frontend/FoldConstants.cpp',