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

This commit is contained in:
Matt A. Tobin 2020-11-03 17:33:42 -05:00 committed by roytam1
commit c25769b145
2 changed files with 18 additions and 2 deletions

17
js/src/ds/moz.build Normal file
View file

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

View file

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