Bug 851770 - UnixSocket should only build when needed; r=mrbkap
authorKyle Machulis <kyle@nonpolynomial.com>
Tue, 19 Mar 2013 10:22:48 -0700
changeset 125456 e518b1e21757ae1b55b284de6745c951ea1e31a1
parent 125455 513fafb75e5b1412720048a3c1314910dbfca574
child 125457 d9aa9a732b06887a1e6c007db47bf3c4e4a98069
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmrbkap
bugs851770
milestone22.0a1
Bug 851770 - UnixSocket should only build when needed; r=mrbkap
ipc/moz.build
--- a/ipc/moz.build
+++ b/ipc/moz.build
@@ -11,14 +11,15 @@ DIRS += [
 ]
 
 if CONFIG['MOZ_B2G_RIL']:
     DIRS += ['ril']
 
 if CONFIG['MOZ_B2G_BT']:
     DIRS += ['dbus']
 
-if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
-    DIRS += ['netd', 'unixsocket']
-elif CONFIG['OS_ARCH'] == 'Linux':
+if CONFIG['MOZ_B2G_RIL'] or CONFIG['MOZ_B2G_BT']:
     DIRS += ['unixsocket']
 
+if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
+    DIRS += ['netd']
+
 TOOL_DIRS += ['app']