mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Bug 1244999 - Move icon-related DEFINES to moz.build in browser/app. r=mshal
This commit is contained in:
parent
3b5a683483
commit
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)
|
||||
|
Loading…
Reference in New Issue
Block a user