summaryrefslogtreecommitdiffstats
path: root/js/src/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-04 15:03:13 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-04 15:03:42 -0500
commitfd1b2dc2b14ded708f8eb62a55109c03356c6b26 (patch)
tree50c32b06b454e91a58fb1c8c4a4d2e759e09cea9 /js/src/moz.build
parentcdf46e803b2fc1ab0787138890dfff67030e6516 (diff)
downloadUXP-fd1b2dc2b14ded708f8eb62a55109c03356c6b26.tar
UXP-fd1b2dc2b14ded708f8eb62a55109c03356c6b26.tar.gz
UXP-fd1b2dc2b14ded708f8eb62a55109c03356c6b26.tar.lz
UXP-fd1b2dc2b14ded708f8eb62a55109c03356c6b26.tar.xz
UXP-fd1b2dc2b14ded708f8eb62a55109c03356c6b26.zip
Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build
Diffstat (limited to 'js/src/moz.build')
-rw-r--r--js/src/moz.build12
1 files changed, 5 insertions, 7 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index 20c1e5722..f9e5233a9 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -116,14 +116,17 @@ DIRS += [
'wasm',
]
+if CONFIG['JS_HAS_CTYPES']:
+ DIRS += ['ctypes']
+
if CONFIG['JS_BUNDLED_EDITLINE']:
DIRS += ['editline']
if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
-if CONFIG['JS_HAS_CTYPES']:
- DIRS += ['ctypes']
+if CONFIG['MOZ_VTUNE']:
+ DIRS += ['vtune']
SOURCES += [
'jsalloc.cpp',
@@ -233,11 +236,6 @@ 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,