зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1244999 - Move icon-related DEFINES to moz.build in browser/app. r=mshal
This commit is contained in:
Родитель
3b5a683483
Коммит
7c80aeddb7
|
@ -7,14 +7,6 @@ dist_dest = $(DIST)/$(MOZ_MACBUNDLE_NAME)
|
|||
# hardcode en-US for the moment
|
||||
AB_CD = en-US
|
||||
|
||||
DEFINES += \
|
||||
-DFIREFOX_ICO='"$(DIST)/branding/firefox.ico"' \
|
||||
-DDOCUMENT_ICO='"$(DIST)/branding/document.ico"' \
|
||||
-DNEWWINDOW_ICO='"$(DIST)/branding/newwindow.ico"' \
|
||||
-DNEWTAB_ICO='"$(DIST)/branding/newtab.ico"' \
|
||||
-DPBMODE_ICO='"$(DIST)/branding/pbmode.ico"' \
|
||||
$(NULL)
|
||||
|
||||
# Build a binary bootstrapping with XRE_main
|
||||
|
||||
ifndef MOZ_WINCONSOLE
|
||||
|
|
|
@ -73,3 +73,7 @@ if CONFIG['HAVE_CLOCK_MONOTONIC']:
|
|||
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wshadow']
|
||||
|
||||
for icon in ('firefox', 'document', 'newwindow', 'newtab', 'pbmode'):
|
||||
DEFINES[icon.upper() + '_ICO'] = '%s/dist/branding/%s.ico' % (
|
||||
TOPOBJDIR, icon)
|
||||
|
|
Загрузка…
Ссылка в новой задаче