From eedfa63a1d244426df38be6d72ee35422a5d9d82 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 3 Nov 2020 17:33:42 -0500 Subject: Issue #1676 - Part 6: Split ds sources out of js/src/moz.build --- js/src/ds/moz.build | 17 +++++++++++++++++ js/src/moz.build | 3 +-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 js/src/ds/moz.build (limited to 'js/src') diff --git a/js/src/ds/moz.build b/js/src/ds/moz.build new file mode 100644 index 0000000000..a0b869706c --- /dev/null +++ b/js/src/ds/moz.build @@ -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', +] \ No newline at end of file diff --git a/js/src/moz.build b/js/src/moz.build index 8c22ce71d6..ca8d95b643 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -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', -- cgit v1.2.3