Bug 1244999 - Move icon-related DEFINES to moz.build in browser/app. r=mshal

This commit is contained in:
Mike Hommey 2016-02-02 14:21:12 +09:00
parent 3b5a683483
commit 7c80aeddb7
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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)