summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-03 17:33:42 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-03 17:33:42 -0500
commiteedfa63a1d244426df38be6d72ee35422a5d9d82 (patch)
tree0dc0793c1e0e85b5dc1b617ef44880611472a9ef /js
parent24b835f0a92881903c6e5f0cebb7ffa93c5e9d05 (diff)
downloadUXP-eedfa63a1d244426df38be6d72ee35422a5d9d82.tar
UXP-eedfa63a1d244426df38be6d72ee35422a5d9d82.tar.gz
UXP-eedfa63a1d244426df38be6d72ee35422a5d9d82.tar.lz
UXP-eedfa63a1d244426df38be6d72ee35422a5d9d82.tar.xz
UXP-eedfa63a1d244426df38be6d72ee35422a5d9d82.zip
Issue #1676 - Part 6: Split ds sources out of js/src/moz.build
Diffstat (limited to 'js')
-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 000000000..a0b869706
--- /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 8c22ce71d..ca8d95b64 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',