summaryrefslogtreecommitdiff
path: root/js/src/moz.build
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-05 13:11:33 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-05 13:11:33 +0000
commit7e80662a246805f20829935f61ff1dd9ab6b7225 (patch)
tree92541b86eacb4cb6b0a1d09475a6e9a1a14653f4 /js/src/moz.build
parent982b7bf2a1fbf46bf7c02ad98bc6c7c10726a1f0 (diff)
downloaduxp-7e80662a246805f20829935f61ff1dd9ab6b7225.tar.gz
Revert "Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build"
This reverts commit fd1b2dc2b14ded708f8eb62a55109c03356c6b26.
Diffstat (limited to 'js/src/moz.build')
-rw-r--r--js/src/moz.build12
1 files changed, 7 insertions, 5 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index 2d10c859ec..cf9f994e8a 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -116,9 +116,6 @@ DIRS += [
'wasm',
]
-if CONFIG['JS_HAS_CTYPES']:
- DIRS += ['ctypes']
-
if CONFIG['JS_BUNDLED_EDITLINE']:
DIRS += ['editline']
@@ -128,8 +125,8 @@ if CONFIG['JS_NEW_REGEXP']:
if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
-if CONFIG['MOZ_VTUNE']:
- DIRS += ['vtune']
+if CONFIG['JS_HAS_CTYPES']:
+ DIRS += ['ctypes']
SOURCES += [
'jsalloc.cpp',
@@ -239,6 +236,11 @@ if CONFIG['ENABLE_TRACE_LOGGING']:
'vm/TraceLoggingTypes.cpp',
]
+if CONFIG['MOZ_VTUNE']:
+ SOURCES += [
+ 'vtune/jitprofiling.c'
+ ]
+
# JavaScript must be built shared, even for static builds, as it is used by
# other modules which are always built shared. Failure to do so results in
# the js code getting copied into xpinstall and jsd as well as mozilla-bin,