Bug 1394580 - 4. Disable MDNS service for GeckoView; r?snorp draft
authorJim Chen <nchen@mozilla.com>
Thu, 31 Aug 2017 18:12:52 -0400
changeset 656942 3a7f09e5e42aa79959f75c428ebf67e3d0ca188a
parent 656941 e815ece51b69af0e97a27ec807cef7dfbe042a30
child 656943 06524cb0f96dd13a4c05da124f641e420a025d53
push id77384
push userbmo:nchen@mozilla.com
push dateThu, 31 Aug 2017 22:20:06 +0000
reviewerssnorp
bugs1394580
milestone57.0a1
Bug 1394580 - 4. Disable MDNS service for GeckoView; r?snorp Standalone GeckoView doesn't make use of MDNS AFAIK (i.e. MDNS is only used by features like casting or FlyWeb), but it takes up startup time, so we should disable it. MozReview-Commit-ID: CseHUos5B9I
mobile/android/installer/package-manifest.in
--- a/mobile/android/installer/package-manifest.in
+++ b/mobile/android/installer/package-manifest.in
@@ -274,18 +274,20 @@
 @BINPATH@/components/FeedProcessor.manifest
 @BINPATH@/components/FeedProcessor.js
 @BINPATH@/components/UAOverridesBootstrapper.js
 @BINPATH@/components/UAOverridesBootstrapper.manifest
 @BINPATH@/components/WellKnownOpportunisticUtils.js
 @BINPATH@/components/WellKnownOpportunisticUtils.manifest
 @BINPATH@/components/mozProtocolHandler.js
 @BINPATH@/components/mozProtocolHandler.manifest
+#ifndef MOZ_GECKOVIEW_JAR
 @BINPATH@/components/nsDNSServiceDiscovery.manifest
 @BINPATH@/components/nsDNSServiceDiscovery.js
+#endif
 @BINPATH@/components/toolkitsearch.manifest
 @BINPATH@/components/nsSearchService.js
 @BINPATH@/components/nsSidebar.js
 @BINPATH@/components/passwordmgr.manifest
 @BINPATH@/components/nsLoginInfo.js
 @BINPATH@/components/nsLoginManager.js
 @BINPATH@/components/nsLoginManagerPrompter.js
 @BINPATH@/components/storage-mozStorage.js