summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-04 13:05:19 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-04 13:06:41 -0500
commit3d9bf5d7a32eb7076ad4e1782ca677981efff150 (patch)
tree312d41aeeaa7704af85fac55e683c28a2f3d4db4
parent65eac50e2dd9d2c4773a927aa7909eff13bc121c (diff)
downloaduxp-3d9bf5d7a32eb7076ad4e1782ca677981efff150.tar.gz
Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build
-rw-r--r--js/src/irregexp/moz.build23
-rw-r--r--js/src/moz.build9
2 files changed, 24 insertions, 8 deletions
diff --git a/js/src/irregexp/moz.build b/js/src/irregexp/moz.build
new file mode 100644
index 0000000000..fc4fe62188
--- /dev/null
+++ b/js/src/irregexp/moz.build
@@ -0,0 +1,23 @@
+# -*- 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 += [
+ 'NativeRegExpMacroAssembler.cpp',
+ 'RegExpAST.cpp',
+ 'RegExpCharacters.cpp',
+ 'RegExpEngine.cpp',
+ 'RegExpInterpreter.cpp',
+ 'RegExpMacroAssembler.cpp',
+ 'RegExpParser.cpp',
+ 'RegExpStack.cpp',
+] \ No newline at end of file
diff --git a/js/src/moz.build b/js/src/moz.build
index 7797670c89..363bb4263f 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -108,6 +108,7 @@ DIRS += [
'ds',
'frontend',
'gc',
+ 'irregexp',
]
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -117,14 +118,6 @@ if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
SOURCES += [
- 'irregexp/NativeRegExpMacroAssembler.cpp',
- 'irregexp/RegExpAST.cpp',
- 'irregexp/RegExpCharacters.cpp',
- 'irregexp/RegExpEngine.cpp',
- 'irregexp/RegExpInterpreter.cpp',
- 'irregexp/RegExpMacroAssembler.cpp',
- 'irregexp/RegExpParser.cpp',
- 'irregexp/RegExpStack.cpp',
'jit/AliasAnalysis.cpp',
'jit/AliasAnalysisShared.cpp',
'jit/AlignmentMaskAnalysis.cpp',