Bug 1316653 - Don't try to build TestJemalloc if tests are disabled. r=erahm
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 10 Nov 2016 14:21:30 -0500
changeset 322007 ab22fdf8dad77191d439b827b87bb2e16ae815a3
parent 322006 d44dd677f3694ced59a7382fc3635eb768f95e3a
child 322008 626c08b9487bd41f99b35d97c485106e1d6d70c2
push id83738
push userryanvm@gmail.com
push dateThu, 10 Nov 2016 19:24:13 +0000
treeherdermozilla-inbound@9fff773417e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm
bugs1316653
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1316653 - Don't try to build TestJemalloc if tests are disabled. r=erahm
toolkit/toolkit.mozbuild
--- a/toolkit/toolkit.mozbuild
+++ b/toolkit/toolkit.mozbuild
@@ -182,19 +182,19 @@ if CONFIG['ENABLE_TESTS']:
         '/testing/runtimes',
         '/testing/web-platform',
     ]
 
     # The file id utility requires breakpad libraries.
     if CONFIG['MOZ_CRASHREPORTER']:
         DIRS += ['/testing/tools/fileid']
 
+    if CONFIG['MOZ_MEMORY']:
+        DIRS += ['/memory/gtest']
+
     if CONFIG['MOZ_WEBRTC'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk' and not CONFIG['MOZ_TASK_TRACER']:
             DIRS += [
                 '/media/webrtc/signaling/test',
                 '/media/mtransport/test',
             ]
 
 if CONFIG['FUZZING']:
     DIRS += ['/tools/fuzzing']
-
-if CONFIG['MOZ_MEMORY']:
-    DIRS += ['/memory/gtest']