Override some build configs as required in MozillaOnline build draft
authorHector Zhao <bzhao@mozilla.com>
Tue, 27 Aug 2019 13:49:21 +0800
changeset 2424720 398412c5a4ca3124f0b61ff5eec557e7e0dce6c8
parent 2424719 a43e93dedfe9c6a6f11fb339ac400f23fd606250
child 2424721 63510673277d5508415c37f06880dab25f3bd592
push id447526
push userbzhao@mozilla.com
push dateMon, 11 Nov 2019 06:24:07 +0000
treeherdertry@affb463775f7 [default view] [failures only]
milestone68.3.0
Override some build configs as required in MozillaOnline build
mobile/android/config/mozconfigs/android-aarch64/nightly
mobile/android/config/mozconfigs/android-api-16/nightly
mobile/android/config/mozconfigs/mozillaonline.override
--- a/mobile/android/config/mozconfigs/android-aarch64/nightly
+++ b/mobile/android/config/mozconfigs/android-aarch64/nightly
@@ -10,8 +10,9 @@ export MOZ_ANDROID_POCKET=1
 
 export AR="$topsrcdir/clang/bin/llvm-ar"
 export NM="$topsrcdir/clang/bin/llvm-nm"
 export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
 
 export MOZ_LTO=1
 
 . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+. "$topsrcdir/mobile/android/config/mozconfigs/mozillaonline.override"
--- a/mobile/android/config/mozconfigs/android-api-16/nightly
+++ b/mobile/android/config/mozconfigs/android-api-16/nightly
@@ -15,8 +15,9 @@ export MOZ_ANDROID_POCKET=1
 
 export AR="$topsrcdir/clang/bin/llvm-ar"
 export NM="$topsrcdir/clang/bin/llvm-nm"
 export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
 
 export MOZ_LTO=1
 
 . "$topsrcdir/mobile/android/config/mozconfigs/common.override"
+. "$topsrcdir/mobile/android/config/mozconfigs/mozillaonline.override"
new file mode 100644
--- /dev/null
+++ b/mobile/android/config/mozconfigs/mozillaonline.override
@@ -0,0 +1,14 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ac_add_options --enable-updater
+ac_add_options --without-mozilla-api-keyfile
+ac_add_options --without-adjust-sdk-keyfile
+ac_add_options --without-leanplum-sdk-keyfile
+ac_add_options --without-pocket-api-keyfile
+
+export MOZ_INSTALL_TRACKING=
+
+unset MOZ_ANDROID_MMA
+unset MOZ_ANDROID_POCKET