Official Vendor and Pale Moon special case

This commit is contained in:
NTD 2018-02-05 05:48:29 -05:00 • committed by Roy Tam
commit ae6fe35585
4 changed files with 35 additions and 0 deletions

View file

@ -18,8 +18,16 @@
#include @TOPOBJDIR@/buildid.h
#include @TOPOBJDIR@/source-repo.h
[App]
#ifdef MC_OFFICIAL
Vendor=Moonchild Productions
#else
Vendor=@MOZ_APP_VENDOR@
#endif
#if defined(MOZ_PHOENIX) && defined(MC_PALEMOON)
Name=Pale Moon
#else
Name=@MOZ_APP_BASENAME@
#endif
RemotingName=@MOZ_APP_REMOTINGNAME@
#ifdef MOZ_APP_DISPLAYNAME
CodeName=@MOZ_APP_DISPLAYNAME@

View file

@ -27,7 +27,17 @@ if CONFIG['MOZ_APP_DISPLAYNAME'] != CONFIG['MOZ_APP_BASENAME']:
DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
if CONFIG['MOZ_PHOENIX']:
DEFINES['MOZ_PHOENIX'] = CONFIG['MOZ_PHOENIX']
DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
if CONFIG['MC_OFFICAL']:
DEFINES['MC_OFFICAL'] = CONFIG['MC_OFFICAL']
if CONFIG['MC_BASILISK']:
DEFINES['MC_BASILISK'] = CONFIG['MC_BASILISK']
if CONFIG['MC_PALEMOON']:
DEFINES['MC_PALEMOON'] = CONFIG['MC_PALEMOON']
if CONFIG['MOZ_APP_PROFILE']:
DEFINES['MOZ_APP_PROFILE'] = CONFIG['MOZ_APP_PROFILE']

View file

@ -201,6 +201,7 @@ def old_configure_options(*options):
'--enable-nfc',
'--enable-nspr-build',
'--enable-official-branding',
'--enable-official-vendor',
'--enable-omx-plugin',
'--enable-oom-breakpoint',
'--enable-optimize',