Merge branch 'disable-telemetry-macros' into 'master'

Disable telemetry related macros

See merge request librewolf-community/browser/linux!17
This commit is contained in:
squalus 2022-01-29 16:54:16 +00:00
commit b122fd797e

View file

@ -64,12 +64,6 @@ ac_add_options --disable-crashreporter
ac_add_options --disable-updater ac_add_options --disable-updater
ac_add_options --disable-tests 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 # options for ci / weaker build systems
# mk_add_options MOZ_MAKE_FLAGS="-j4" # mk_add_options MOZ_MAKE_FLAGS="-j4"
# ac_add_options --enable-linker=gold # ac_add_options --enable-linker=gold
@ -126,6 +120,10 @@ END
fi 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": # 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/armhf-reduce-linker-memory-use.patch"
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/webrtc-fix-compiler-flags-for-armhf.patch" patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/webrtc-fix-compiler-flags-for-armhf.patch"