mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 21:37:32 +09:00
Official Vendor and Pale Moon special case
This commit is contained in:
parent
2647275ab1
commit
ae6fe35585
4 changed files with 35 additions and 0 deletions
|
|
@ -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@
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue