summaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-03-01 14:26:41 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-03-01 14:26:41 -0500
commit11a8a39f6d2e057d51559c52c1bf0ba74bbfe189 (patch)
tree06ace3e2923e6ca0fafe4453dac5988c54387eb6 /mobile
parent17e72c824ed54ced83a2943237340f8d1b7b1824 (diff)
downloadUXP-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.tar
UXP-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.tar.gz
UXP-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.tar.lz
UXP-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.tar.xz
UXP-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.zip
Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places
Diffstat (limited to 'mobile')
-rw-r--r--mobile/android/configure.in12
-rw-r--r--mobile/android/confvars.sh1
2 files changed, 13 insertions, 0 deletions
diff --git a/mobile/android/configure.in b/mobile/android/configure.in
new file mode 100644
index 000000000..9e13f39b3
--- /dev/null
+++ b/mobile/android/configure.in
@@ -0,0 +1,12 @@
+dnl -*- Mode: Autoconf; tab-width: 2; indent-tabs-mode: nil; -*-
+dnl vi: set tabstop=2 shiftwidth=2 expandtab:
+dnl This Source Code Form is subject to the terms of the Mozilla Public
+dnl License, v. 2.0. If a copy of the MPL was not distributed with this
+dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+dnl Things we need to carry from confvars.sh
+AC_DEFINE(MOZ_FENNEC)
+AC_SUBST(MOZ_FENNEC)
+
+dnl Optional parts of the build.
+
diff --git a/mobile/android/confvars.sh b/mobile/android/confvars.sh
index f2c7ec113..c1b81c079 100644
--- a/mobile/android/confvars.sh
+++ b/mobile/android/confvars.sh
@@ -4,6 +4,7 @@
MOZ_APP_BASENAME=Fennec
MOZ_APP_VENDOR=Mozilla
+MOZ_FENNEC=1
MOZ_APP_VERSION=`cat ${_topsrcdir}/$MOZ_BUILD_APP/config/version.txt`
MOZ_APP_VERSION_DISPLAY=`cat ${_topsrcdir}/$MOZ_BUILD_APP/config/version_display.txt`