mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Backout cset 4c4041cfc095 (bug 977454), a a=bustage
This commit is contained in:
parent
6f8e8ba046
commit
7f156c7ed1
@ -375,8 +375,6 @@
|
||||
@BINPATH@/components/nsLoginInfo.js
|
||||
@BINPATH@/components/nsLoginManager.js
|
||||
@BINPATH@/components/nsLoginManagerPrompter.js
|
||||
@BINPATH@/components/NetworkGeolocationProvider.manifest
|
||||
@BINPATH@/components/NetworkGeolocationProvider.js
|
||||
#ifdef MOZ_WEBRTC
|
||||
@BINPATH@/components/PeerConnection.js
|
||||
@BINPATH@/components/PeerConnection.manifest
|
||||
|
@ -8099,7 +8099,12 @@ dnl option to disable necko's wifi scanner
|
||||
dnl
|
||||
|
||||
case "$OS_TARGET" in
|
||||
Android|Darwin|SunOS|WINNT)
|
||||
Android)
|
||||
if test -n "$gonkdir"; then
|
||||
NECKO_WIFI=1
|
||||
fi
|
||||
;;
|
||||
Darwin|SunOS|WINNT)
|
||||
NECKO_WIFI=1
|
||||
;;
|
||||
Linux)
|
||||
|
@ -694,10 +694,6 @@ nsresult nsGeolocationService::Init()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (Preferences::GetBool("geo.provider.use_mls", false)) {
|
||||
mProvider = do_GetService("@mozilla.org/geolocation/mls-provider;1");
|
||||
}
|
||||
|
||||
// Override platform-specific providers with the default (network)
|
||||
// provider while testing. Our tests are currently not meant to exercise
|
||||
// the provider, and some tests rely on the network provider being used.
|
||||
|
@ -1,3 +1,2 @@
|
||||
component {77DA64D3-7458-4920-9491-86CC9914F904} NetworkGeolocationProvider.js
|
||||
contract @mozilla.org/geolocation/provider;1 {77DA64D3-7458-4920-9491-86CC9914F904}
|
||||
contract @mozilla.org/geolocation/mls-provider;1 {77DA64D3-7458-4920-9491-86CC9914F904}
|
||||
|
@ -38,10 +38,13 @@ UNIFIED_SOURCES += [
|
||||
'OSFileConstants.cpp',
|
||||
]
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'NetworkGeolocationProvider.js',
|
||||
'NetworkGeolocationProvider.manifest',
|
||||
]
|
||||
# On Systems that have build in geolocation providers,
|
||||
# we really do not need these.
|
||||
if CONFIG['OS_TARGET'] != 'Android' or CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
||||
EXTRA_COMPONENTS += [
|
||||
'NetworkGeolocationProvider.js',
|
||||
'NetworkGeolocationProvider.manifest',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user