Bug 1237156 - Only build the fileid utility when MOZ_CRASHREPORTER is set. r=ted
--- 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',
]