summaryrefslogtreecommitdiff
path: root/js/src/moz.build
diff options
context:
space:
mode:
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,