bug 747394 - rename webapprt/application.ini to webapprt/webapprt.ini to work around an issue in a build script that looks for Firefox's application.ini, which busted nightly partial updates, on a CLOSED TREE; r=bsmedberg, a=khuey

This commit is contained in:
Myk Melez 2012-04-21 11:41:50 -07:00
Родитель 897769d61e
Коммит 2c869f6a25
4 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -632,7 +632,7 @@ bin/components/@DLL_PREFIX@nkgnomevfs@DLL_SUFFIX@
@BINPATH@/webapp-uninstaller@BIN_SUFFIX@
#endif
@BINPATH@/webapprt-stub@BIN_SUFFIX@
@BINPATH@/webapprt/application.ini
@BINPATH@/webapprt/webapprt.ini
@BINPATH@/webapprt/chrome.manifest
@BINPATH@/webapprt/chrome/webapprt@JAREXT@
@BINPATH@/webapprt/chrome/webapprt.manifest

Просмотреть файл

@ -46,10 +46,10 @@ GRE_MILESTONE := $(shell tail -n 1 $(topsrcdir)/config/milestone.txt 2>/dev/null
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
application.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
webapprt.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $< > $@
libs:: application.ini
$(INSTALL) application.ini $(FINAL_TARGET)
libs:: webapprt.ini
$(INSTALL) webapprt.ini $(FINAL_TARGET)
GARBAGE += application.ini
GARBAGE += webapprt.ini

Просмотреть файл

@ -32,7 +32,7 @@
const char WEBAPPRT_EXECUTABLE[] = "webapprt-stub";
const char FXAPPINI_NAME[] = "application.ini";
const char WEBAPPINI_NAME[] = "webapp.ini";
const char WEBRTINI_NAME[] = "application.ini";
const char WEBRTINI_NAME[] = "webapprt.ini";
//need the correct relative path here
const char APP_CONTENTS_PATH[] = "/Contents/MacOS/";

Просмотреть файл

@ -27,6 +27,7 @@ XRE_mainType XRE_main;
namespace {
const char kAPP_INI[] = "application.ini";
const char kWEBAPP_INI[] = "webapp.ini";
const char kWEBAPPRT_INI[] = "webapprt.ini";
const char kWEBAPPRT_PATH[] = "webapprt";
const char kAPP_ENV_PREFIX[] = "XUL_APP_FILE=";
const char kAPP_RT[] = "webapprt-stub.exe";
@ -269,7 +270,7 @@ namespace {
// Get the path to the runtime's INI file.
char rtIniPath[MAXPATHLEN];
rv = joinPath(rtIniPath, rtPath, kAPP_INI, MAXPATHLEN);
rv = joinPath(rtIniPath, rtPath, kWEBAPPRT_INI, MAXPATHLEN);
NS_ENSURE_SUCCESS(rv, false);
// Load the runtime's INI from its path.