summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-03 20:02:33 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-03 20:02:33 -0500
commit65eac50e2dd9d2c4773a927aa7909eff13bc121c (patch)
tree408c5e8b06778972e0497eaffb605352afb10fee
parent957f19d2bd52e193882e098a529dddc326e63a44 (diff)
downloadUXP-65eac50e2dd9d2c4773a927aa7909eff13bc121c.tar
UXP-65eac50e2dd9d2c4773a927aa7909eff13bc121c.tar.gz
UXP-65eac50e2dd9d2c4773a927aa7909eff13bc121c.tar.lz
UXP-65eac50e2dd9d2c4773a927aa7909eff13bc121c.tar.xz
UXP-65eac50e2dd9d2c4773a927aa7909eff13bc121c.zip
Issue #1676 - Part 10: Split gc sources out of js/src/moz.build
-rw-r--r--js/src/gc/moz.build29
-rw-r--r--js/src/moz.build15
2 files changed, 30 insertions, 14 deletions
diff --git a/js/src/gc/moz.build b/js/src/gc/moz.build
new file mode 100644
index 000000000..8f3188cf1
--- /dev/null
+++ b/js/src/gc/moz.build
@@ -0,0 +1,29 @@
+# -*- 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 += [
+ 'Allocator.cpp',
+ 'Barrier.cpp',
+ 'GCTrace.cpp',
+ 'Iteration.cpp',
+ 'Marking.cpp',
+ 'Memory.cpp',
+ 'MemoryProfiler.cpp',
+ 'Nursery.cpp',
+ 'RootMarking.cpp',
+ 'Statistics.cpp',
+ 'StoreBuffer.cpp',
+ 'Tracer.cpp',
+ 'Verifier.cpp',
+ 'Zone.cpp',
+]
diff --git a/js/src/moz.build b/js/src/moz.build
index f3552db1c..7797670c8 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -107,6 +107,7 @@ DIRS += [
'devtools',
'ds',
'frontend',
+ 'gc',
]
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -116,19 +117,6 @@ if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
SOURCES += [
- 'gc/Allocator.cpp',
- 'gc/Barrier.cpp',
- 'gc/GCTrace.cpp',
- 'gc/Iteration.cpp',
- 'gc/Marking.cpp',
- 'gc/Memory.cpp',
- 'gc/MemoryProfiler.cpp',
- 'gc/Nursery.cpp',
- 'gc/RootMarking.cpp',
- 'gc/Statistics.cpp',
- 'gc/Tracer.cpp',
- 'gc/Verifier.cpp',
- 'gc/Zone.cpp',
'irregexp/NativeRegExpMacroAssembler.cpp',
'irregexp/RegExpAST.cpp',
'irregexp/RegExpCharacters.cpp',
@@ -331,7 +319,6 @@ SOURCES += [
# instantiations may or may not be needed depending on what it gets bundled
# with.
SOURCES += [
- 'gc/StoreBuffer.cpp',
'jsarray.cpp',
'jsatom.cpp',
'jsdtoa.cpp',