зеркало из https://github.com/mozilla/gecko-dev.git
Bug 747990 part 2: make use of UAName attribute to have the web app runtime use the associated application's UA string, r=myk
--HG-- extra : rebase_source : 2b7cdba3c31cfd65a5b4e560a7854c83c460ab08
This commit is contained in:
Родитель
1bb7799846
Коммит
553ba430b3
|
@ -48,7 +48,10 @@ libs:: prefs.js
|
||||||
|
|
||||||
GRE_MILESTONE := $(shell tail -n 1 $(topsrcdir)/config/milestone.txt 2>/dev/null || tail -1 $(topsrcdir)/config/milestone.txt)
|
GRE_MILESTONE := $(shell tail -n 1 $(topsrcdir)/config/milestone.txt 2>/dev/null || tail -1 $(topsrcdir)/config/milestone.txt)
|
||||||
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
|
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
|
||||||
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
|
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) \
|
||||||
|
-DGRE_BUILDID=$(GRE_BUILDID) \
|
||||||
|
-DMOZ_APP_BASENAME=$(MOZ_APP_BASENAME) \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
webapprt.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) $< > $@
|
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $< > $@
|
||||||
|
|
|
@ -12,6 +12,7 @@ Vendor=Mozilla
|
||||||
Name=Webapp Runtime
|
Name=Webapp Runtime
|
||||||
Version=@GRE_MILESTONE@
|
Version=@GRE_MILESTONE@
|
||||||
BuildID=@GRE_BUILDID@
|
BuildID=@GRE_BUILDID@
|
||||||
|
UAName=@MOZ_APP_BASENAME@
|
||||||
|
|
||||||
[Gecko]
|
[Gecko]
|
||||||
MinVersion=@GRE_MILESTONE@
|
MinVersion=@GRE_MILESTONE@
|
||||||
|
|
|
@ -4,4 +4,3 @@
|
||||||
|
|
||||||
pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
|
pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
|
||||||
pref("browser.download.folderList", 1);
|
pref("browser.download.folderList", 1);
|
||||||
pref("general.useragent.compatMode.firefox", true);
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче