Bug 1237156 - Only build the fileid utility when MOZ_CRASHREPORTER is set. r=ted draft
authorChris Manchester <cmanchester@mozilla.com>
Wed, 06 Jan 2016 10:52:21 -0800
changeset 319382 5d7b9297c6fc2931e07ec75729b3226fda293fd0
parent 319164 9d6ffc7a08b6b47056eefe1e652710a3849adbf7
child 512586 b58ffe0614bc3e9f5eefadd654bb81989fd156b0
push id9023
push usercmanchester@mozilla.com
push dateWed, 06 Jan 2016 18:52:42 +0000
reviewersted
bugs1237156
milestone46.0a1
Bug 1237156 - Only build the fileid utility when MOZ_CRASHREPORTER is set. r=ted
toolkit/toolkit.mozbuild
--- a/toolkit/toolkit.mozbuild
+++ b/toolkit/toolkit.mozbuild
@@ -168,22 +168,25 @@ DIRS += [
     '/media/gmp-clearkey/0.1',
 ]
 
 if CONFIG['ENABLE_TESTS']:
     DIRS += [
         '/testing/mochitest',
         '/testing/xpcshell',
         '/testing/tools/screenshot',
-        '/testing/tools/fileid',
         '/testing/profiles',
         '/testing/mozbase',
         '/testing/modules',
         '/testing/runtimes',
         '/testing/web-platform',
     ]
 
+    # The file id utility requires breakpad libraries.
+    if CONFIG['MOZ_CRASHREPORTER']:
+        DIRS += ['/testing/tools/fileid']
+
     if CONFIG['MOZ_WEBRTC'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk' and not CONFIG['MOZ_TASK_TRACER']:
             DIRS += [
                 '/media/webrtc/signaling/test',
                 '/media/webrtc/signaling/test/standalone',
                 '/media/mtransport/test',
             ]