Bug 1032018 Don't build Loop core when building of Loop is disabled. r=glandium
authorMark Banner <standard8@mozilla.com>
Tue, 01 Jul 2014 09:39:10 +0100
changeset 191672 3dc373826e2a167498d06e2ad277b56ae80cc665
parent 191671 b5b7809e827217b419781cfb2bc5820d5718c00a
child 191673 b772f64b80a8012d72c7909c114ac74673a7d81b
push idunknown
push userunknown
push dateunknown
reviewersglandium
bugs1032018
milestone33.0a1
Bug 1032018 Don't build Loop core when building of Loop is disabled. r=glandium
browser/components/moz.build
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -5,29 +5,31 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 PARALLEL_DIRS += [
     'about',
     'customizableui',
     'dirprovider',
     'downloads',
     'feeds',
-    'loop',
     'places',
     'preferences',
     'privatebrowsing',
     'search',
     'sessionstore',
     'shell',
     'sidebar',
     'tabview',
     'translation',
     'migration',
 ]
 
+if CONFIG['MOZ_LOOP']:
+    PARALLEL_DIRS += ['loop']
+
 DIRS += ['build']
 
 XPIDL_SOURCES += [
     'nsIBrowserGlue.idl',
     'nsIBrowserHandler.idl',
 ]
 
 XPIDL_MODULE = 'browsercompsbase'