summaryrefslogtreecommitdiff
path: root/devtools/shared/heapsnapshot
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-01 15:53:52 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-01 15:53:52 -0400
commitdc43d59ae36d52a09bc7328f0cbb09c981e7adc8 (patch)
treec9d003afca87ea3dad7949a4cfe5f652c7550204 /devtools/shared/heapsnapshot
parent61de1c80cdc6c04e71fde07cc5028af503438134 (diff)
downloaduxp-dc43d59ae36d52a09bc7328f0cbb09c981e7adc8.tar.gz
Issue #316 - Always build heapsnapshot regardless of the rest of the devtools for now
Diffstat (limited to 'devtools/shared/heapsnapshot')
-rw-r--r--devtools/shared/heapsnapshot/moz.build19
1 files changed, 10 insertions, 9 deletions
diff --git a/devtools/shared/heapsnapshot/moz.build b/devtools/shared/heapsnapshot/moz.build
index d020da727b..fa9ef39154 100644
--- a/devtools/shared/heapsnapshot/moz.build
+++ b/devtools/shared/heapsnapshot/moz.build
@@ -48,15 +48,16 @@ DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
FINAL_LIBRARY = 'xul'
-DevToolsModules(
- 'census-tree-node.js',
- 'CensusUtils.js',
- 'DominatorTreeNode.js',
- 'HeapAnalysesClient.js',
- 'HeapAnalysesWorker.js',
- 'HeapSnapshotFileUtils.js',
- 'shortest-paths.js',
-)
+if CONFIG['MOZ_DEVTOOLS_SERVER']:
+ DevToolsModules(
+ 'census-tree-node.js',
+ 'CensusUtils.js',
+ 'DominatorTreeNode.js',
+ 'HeapAnalysesClient.js',
+ 'HeapAnalysesWorker.js',
+ 'HeapSnapshotFileUtils.js',
+ 'shortest-paths.js',
+ )
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']