summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-03-25 00:01:05 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-03-25 00:01:05 -0500
commit46de659d63f8485dc01175ae0e36235bd2b11e58 (patch)
treecf71ea28cafdecb502918bb1685eb255d9b51d56 /system
parent8a34848ce0f6d4006947c51227b05bec6d12bfdb (diff)
downloadaura-central-46de659d63f8485dc01175ae0e36235bd2b11e58.tar.gz
Rebrand the Platform Codebase
Diffstat (limited to 'system')
-rw-r--r--system/mach.sh36
-rw-r--r--system/moz.build2
-rw-r--r--system/network/protocol/http/nsHttpHandler.cpp2
-rw-r--r--system/platform-prefs.js (renamed from system/goanna.js)0
4 files changed, 38 insertions, 2 deletions
diff --git a/system/mach.sh b/system/mach.sh
new file mode 100644
index 000000000..64239a3ed
--- /dev/null
+++ b/system/mach.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+BINOC_SYSTEM=`uname | tr [:upper:] [:lower:]`
+BINOC_PYTHON=`which python2.7 2>/dev/null`
+BINOC_GIT=`which git 2>/dev/null`
+BINOC_CURL=`which curl 2>/dev/null`
+BINOC_MACH=mozmach
+BINOC_CONFIG_GUESS=`./build/autoconf/config.guess 2>/dev/null`
+
+# =============================================================================
+
+if [ -z "$BINOC_PYTHON" ]; then
+ printf "We could not find Python 2.7 which is required for just about everything!\n"
+ exit 1
+fi
+
+# =============================================================================
+
+# Determin the current OS
+# This will also be exported so it can be picked up by .mozconfig
+if [[ "$BINOC_SYSTEM" == "mingw32_nt-"* ]]; then
+ BINOC_SYSTEM=windows
+
+ if [ "$BINOC_CONFIG_GUESS" == "x86_64-pc-mingw32" ]; then
+ BINOC_CONFIG_GUESS=win64
+ else
+ BINOC_CONFIG_GUESS=win32
+ fi
+fi
+
+export BINOC_SYSTEM=$BINOC_SYSTEM
+export BINOC_CONFIG_GUESS=$BINOC_CONFIG_GUESS
+
+# =============================================================================
+
+$BINOC_MACH $@
diff --git a/system/moz.build b/system/moz.build
index 7a9f5f9a2..125c2fdd1 100644
--- a/system/moz.build
+++ b/system/moz.build
@@ -24,4 +24,4 @@ if CONFIG['MOZ_UPDATER']:
DIRS += ['runtime']
-FINAL_TARGET_PP_FILES += ['goanna.js'] \ No newline at end of file
+FINAL_TARGET_PP_FILES += ['platform-prefs.js'] \ No newline at end of file
diff --git a/system/network/protocol/http/nsHttpHandler.cpp b/system/network/protocol/http/nsHttpHandler.cpp
index d2b5df817..45300e714 100644
--- a/system/network/protocol/http/nsHttpHandler.cpp
+++ b/system/network/protocol/http/nsHttpHandler.cpp
@@ -169,7 +169,7 @@ nsHttpHandler::nsHttpHandler()
, mSessionStartTime(0)
, mLegacyAppName("Mozilla")
, mLegacyAppVersion("5.0")
- , mProduct("Goanna")
+ , mProduct("Aura")
, mCompatGeckoEnabled(false)
, mAppBuildID("20200101")
, mCompatFirefoxEnabled(false)
diff --git a/system/goanna.js b/system/platform-prefs.js
index 8d4d6b98d..8d4d6b98d 100644
--- a/system/goanna.js
+++ b/system/platform-prefs.js