diff --git a/dom/mobileconnection/moz.build b/dom/mobileconnection/moz.build index f7df4607b5ff..98307a6c67e9 100644 --- a/dom/mobileconnection/moz.build +++ b/dom/mobileconnection/moz.build @@ -40,13 +40,19 @@ UNIFIED_SOURCES += [ 'ipc/MobileConnectionParent.cpp', 'MobileCallForwardingOptions.cpp', 'MobileCellInfo.cpp', - 'MobileConnection.cpp', 'MobileConnectionArray.cpp', 'MobileConnectionCallback.cpp', 'MobileConnectionInfo.cpp', 'MobileNetworkInfo.cpp', ] +SOURCES += [ + 'MobileConnection.cpp', # Non-unified due to no_pgo +] + +if CONFIG['_MSC_VER'] and CONFIG['CPU_ARCH'] == 'x86_64': + SOURCES['MobileConnection.cpp'].no_pgo = True # VS2013 crashes, bug 1084162 + IPDL_SOURCES += [ 'ipc/PMobileConnection.ipdl', 'ipc/PMobileConnectionRequest.ipdl',