summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-05 05:48:29 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-05 05:48:29 -0500
commit6248a3557c7be3583686a100d72c9e5f5306f985 (patch)
tree5b094b733321e30b5f7d0608f65b4453440750eb /build
parent943fdb1572f2bc88937e8447b6a6a8320fab082e (diff)
downloaduxp-6248a3557c7be3583686a100d72c9e5f5306f985.tar.gz
Official Vendor and Pale Moon special case
Diffstat (limited to 'build')
-rw-r--r--build/application.ini8
-rw-r--r--build/moz.build10
-rw-r--r--build/moz.configure/old.configure1
3 files changed, 19 insertions, 0 deletions
diff --git a/build/application.ini b/build/application.ini
index 6d27b40973..6b2e43a344 100644
--- a/build/application.ini
+++ b/build/application.ini
@@ -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@
diff --git a/build/moz.build b/build/moz.build
index 7b414ce125..8d86b52bf9 100644
--- a/build/moz.build
+++ b/build/moz.build
@@ -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']
diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure
index b32c3f7b79..581fa9c505 100644
--- a/build/moz.configure/old.configure
+++ b/build/moz.configure/old.configure
@@ -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',