summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',