Bug 851770 - UnixSocket should only build when needed; r=mrbkap
authorKyle Machulis <kyle@nonpolynomial.com>
Tue, 19 Mar 2013 10:22:48 -0700
changeset 125442 e518b1e21757ae1b55b284de6745c951ea1e31a1
parent 125441 513fafb75e5b1412720048a3c1314910dbfca574
child 125443 d9aa9a732b06887a1e6c007db47bf3c4e4a98069
push id24940
push userkmachulis@mozilla.com
push dateTue, 19 Mar 2013 17:35:37 +0000
treeherdermozilla-inbound@d9aa9a732b06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs851770
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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']