summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-05 13:25:24 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-05 13:25:24 +0000
commitd10904010a3527c92a6cc0461a582c31521697b8 (patch)
tree46bcd6375f798344558d45757bcfa417dd4051f3
parent22886d3547b506b26161dce27a0c8a6ddfffc48c (diff)
downloaduxp-d10904010a3527c92a6cc0461a582c31521697b8.tar.gz
Revert "Issue #1676 - Part 5: Split devtools sources out of js/src/moz.build"
This reverts commit 24b835f0a92881903c6e5f0cebb7ffa93c5e9d05.
-rw-r--r--js/src/devtools/moz.build25
-rw-r--r--js/src/moz.build8
2 files changed, 7 insertions, 26 deletions
diff --git a/js/src/devtools/moz.build b/js/src/devtools/moz.build
deleted file mode 100644
index cb2fc32569..0000000000
--- a/js/src/devtools/moz.build
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- 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 += ["!..", ".."]
-
-CONFIGURE_SUBST_FILES += [
- 'rootAnalysis/Makefile',
-]
-
-SOURCES += [
- 'sharkctl.cpp',
-]
-
-if CONFIG['MOZ_INSTRUMENTS']:
- SOURCES += [
- 'Instruments.cpp',
- ]
diff --git a/js/src/moz.build b/js/src/moz.build
index 05234ed147..22b8d01992 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -9,7 +9,6 @@ include('js-testing.mozbuild')
DIRS += [
'builtin',
- 'devtools',
]
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -22,6 +21,7 @@ if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
CONFIGURE_SUBST_FILES += [
+ 'devtools/rootAnalysis/Makefile',
'js-config',
'js.pc',
]
@@ -117,6 +117,7 @@ EXPORTS.js += [
]
SOURCES += [
+ 'devtools/sharkctl.cpp',
'ds/LifoAlloc.cpp',
'ds/MemoryProtectionExceptionHandler.cpp',
'frontend/BytecodeCompiler.cpp',
@@ -357,6 +358,11 @@ if CONFIG['JS_POSIX_NSPR']:
'vm/PosixNSPR.cpp',
]
+if CONFIG['MOZ_INSTRUMENTS']:
+ SOURCES += [
+ 'devtools/Instruments.cpp',
+ ]
+
if CONFIG['ENABLE_TRACE_LOGGING']:
SOURCES += [
'vm/TraceLogging.cpp',