Only build updater-xpcshell when tests are enabled
authorBrian R. Bondy <netzen@gmail.com>
Tue, 03 Mar 2015 23:27:17 -0500
changeset 491389 55e7172fdc409e68c5d4ae8e25465c51d4e06e31
parent 491388 722fdc94c19aee7fd464f3ab8f661259d89b9876
child 491390 61013b8032d741d81886db98a67f6c90bd03f272
push id47343
push userbmo:dothayer@mozilla.com
push dateWed, 01 Mar 2017 22:58:58 +0000
milestone38.0a1
Only build updater-xpcshell when tests are enabled
toolkit/mozapps/update/updater/moz.build
--- a/toolkit/mozapps/update/updater/moz.build
+++ b/toolkit/mozapps/update/updater/moz.build
@@ -3,10 +3,11 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 Program('updater')
 
 updater_rel_path = ''
 include('updater-common.build')
-DIRS += ['updater-xpcshell']
+if CONFIG['ENABLE_TESTS']:
+    DIRS += ['updater-xpcshell']
 FAIL_ON_WARNINGS = True