Skip to content

Commit

Permalink
Bug 138009 - Remove unused platform.js, now with packaging goodness, …
Browse files Browse the repository at this point in the history
…r=mossop
  • Loading branch information
mkaply committed Apr 24, 2015
1 parent ab4d405 commit 8cbff2f
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 49 deletions.
1 change: 0 additions & 1 deletion b2g/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@
#endif
@RESPATH@/@PREF_DIR@/channel-prefs.js
@RESPATH@/greprefs.js
@RESPATH@/defaults/autoconfig/platform.js
@RESPATH@/defaults/autoconfig/prefcalls.js
@RESPATH@/defaults/profile/prefs.js

Expand Down
1 change: 0 additions & 1 deletion browser/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,6 @@
@RESPATH@/browser/@PREF_DIR@/firefox.js
@RESPATH@/browser/@PREF_DIR@/firefox-branding.js
@RESPATH@/greprefs.js
@RESPATH@/defaults/autoconfig/platform.js
@RESPATH@/defaults/autoconfig/prefcalls.js
@RESPATH@/browser/defaults/profile/prefs.js

Expand Down
14 changes: 0 additions & 14 deletions extensions/pref/autoconfig/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,3 @@
AUTOCFG_JS_EXPORTS = \
$(srcdir)/prefcalls.js \
$(NULL)

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
AUTOCFG_JS_EXPORTS += $(srcdir)/mac/platform.js
else
ifeq ($(MOZ_WIDGET_TOOLKIT), windows)
AUTOCFG_JS_EXPORTS += $(srcdir)/win/platform.js
else
ifeq ($(MOZ_WIDGET_TOOLKIT), beos)
AUTOCFG_JS_EXPORTS += $(srcdir)/beos/platform.js
else
AUTOCFG_JS_EXPORTS += $(srcdir)/unix/platform.js
endif
endif
endif
6 changes: 0 additions & 6 deletions extensions/pref/autoconfig/src/beos/platform.js

This file was deleted.

6 changes: 0 additions & 6 deletions extensions/pref/autoconfig/src/mac/platform.js

This file was deleted.

5 changes: 0 additions & 5 deletions extensions/pref/autoconfig/src/nsReadConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ nsresult nsReadConfig::readConfigFile()
if (NS_FAILED(rv))
return rv;

// Evaluate platform specific directives
rv = openAndEvaluateJSFile("platform.js", 0, false, false);
if (NS_FAILED(rv))
return rv;

mRead = true;
}
// If the lockFileName is nullptr return ok, because no lockFile will be used
Expand Down
3 changes: 0 additions & 3 deletions extensions/pref/autoconfig/src/prefcalls.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ const LDAPSyncQueryContractID = "@mozilla.org/ldapsyncquery;1";
const nsIPrefService = Components.interfaces.nsIPrefService;
const PrefServiceContractID = "@mozilla.org/preferences-service;1";

// set on a platform specific basis in platform.js
platform = { value: "" };

var gVersion;

function getPrefBranch() {
Expand Down
6 changes: 0 additions & 6 deletions extensions/pref/autoconfig/src/unix/platform.js

This file was deleted.

6 changes: 0 additions & 6 deletions extensions/pref/autoconfig/src/win/platform.js

This file was deleted.

1 change: 0 additions & 1 deletion mobile/android/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@
@BINPATH@/@PREF_DIR@/mobile-branding.js
@BINPATH@/@PREF_DIR@/channel-prefs.js
@BINPATH@/greprefs.js
@BINPATH@/defaults/autoconfig/platform.js
@BINPATH@/defaults/autoconfig/prefcalls.js
@BINPATH@/defaults/profile/prefs.js

Expand Down

0 comments on commit 8cbff2f

Please sign in to comment.