Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build

This commit is contained in:
Matt A. Tobin 2020-11-04 13:05:19 -05:00 committed by roytam1
commit 96f685e827
2 changed files with 24 additions and 8 deletions

23
js/src/irregexp/moz.build Normal file
View file

@ -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',
]

View file

@ -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',