From d9d07ba0af68c6463eb017c67682aba212610734 Mon Sep 17 00:00:00 2001 From: squalus Date: Wed, 22 Dec 2021 03:43:04 -0800 Subject: [PATCH] disable telemetry related macros --- scripts/3_Configure_Source_Code.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/3_Configure_Source_Code.sh b/scripts/3_Configure_Source_Code.sh index c5de20f..4b45e41 100755 --- a/scripts/3_Configure_Source_Code.sh +++ b/scripts/3_Configure_Source_Code.sh @@ -61,12 +61,6 @@ ac_add_options --disable-crashreporter ac_add_options --disable-updater ac_add_options --disable-tests -# Disables crash reporting, telemetry and other data gathering tools -mk_add_options MOZ_CRASHREPORTER=0 -mk_add_options MOZ_DATA_REPORTING=0 -mk_add_options MOZ_SERVICES_HEALTHREPORT=0 -mk_add_options MOZ_TELEMETRY_REPORTING=0 - # options for ci / weaker build systems # mk_add_options MOZ_MAKE_FLAGS="-j4" # ac_add_options --enable-linker=gold @@ -123,6 +117,10 @@ END fi +# disable telemetry related macros +sed -i '/MOZ_SERVICES_HEALTHREPORT/ s/True/False/' browser/moz.configure +sed -i '/MOZ_NORMANDY/ s/True/False/' browser/moz.configure + # hopefully the magic sauce that makes things build on 16.04 and later on work "everywhere": patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/armhf-reduce-linker-memory-use.patch" patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/fix-armhf-webrtc-build.patch"