mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 138009 - Remove unused platform.js, r=mossop
This commit is contained in:
parent
4a708da73f
commit
5f92d01d94
@ -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
|
||||
|
@ -1,6 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// BeOS specific auto configuration preference defaults
|
||||
platform.value = "beos";
|
@ -1,6 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Mac specific auto configuration preference defaults
|
||||
platform.value = "macintosh";
|
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -1,6 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Unix specific auto configuration preference defaults
|
||||
platform.value = "unix";
|
@ -1,6 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Windows specific auto configuration preference defaults
|
||||
platform.value = "windows";
|
Loading…
Reference in New Issue
Block a user