diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
commit | e72ef92b5bdc43cd2584198e2e54e951b70299e8 (patch) | |
tree | 01ceb4a897c33eca9e7ccf2bc3aefbe530169fe5 /application/basilisk/config/mozconfigs/linux64 | |
parent | 0d19b77d3eaa5b8d837bf52c19759e68e42a1c4c (diff) | |
download | UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.gz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.lz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.xz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.zip |
Add Basilisk
Diffstat (limited to 'application/basilisk/config/mozconfigs/linux64')
20 files changed, 305 insertions, 0 deletions
diff --git a/application/basilisk/config/mozconfigs/linux64/add-on-devel b/application/basilisk/config/mozconfigs/linux64/add-on-devel new file mode 100644 index 000000000..0a3dfeb3f --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/add-on-devel @@ -0,0 +1,9 @@ +. $topsrcdir/browser/config/mozconfigs/linux64/nightly + +#add-on signing is checked but not enforced +MOZ_REQUIRE_SIGNING=0 +ac_add_options --with-branding=browser/branding/unofficial +ac_add_options --enable-update-channel=default + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=add-on-devel diff --git a/application/basilisk/config/mozconfigs/linux64/artifact b/application/basilisk/config/mozconfigs/linux64/artifact new file mode 100644 index 000000000..51b82b384 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/artifact @@ -0,0 +1,8 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_L10N_CHECK=0 + +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" +. "$topsrcdir/build/mozconfig.common.override" + +. "$topsrcdir/build/mozconfig.artifact" +ac_add_options --enable-artifact-build-symbols diff --git a/application/basilisk/config/mozconfigs/linux64/beta b/application/basilisk/config/mozconfigs/linux64/beta new file mode 100644 index 000000000..4c25d883a --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/beta @@ -0,0 +1,13 @@ +if [ -n "$ENABLE_RELEASE_PROMOTION" ]; then + MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-1} + MOZ_AUTOMATION_UPDATE_PACKAGING=1 +fi + +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" + +ac_add_options --enable-official-branding +ac_add_options --enable-verify-mar + +mk_add_options MOZ_PGO=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/code-coverage b/application/basilisk/config/mozconfigs/linux64/code-coverage new file mode 100644 index 000000000..48ffa9b17 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/code-coverage @@ -0,0 +1,13 @@ +. "$topsrcdir/browser/config/mozconfigs/linux64/nightly" + +TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir} + +ac_add_options --disable-install-strip +ac_add_options --disable-jemalloc +ac_add_options --disable-crashreporter +ac_add_options --disable-elf-hack + +MOZ_CODE_COVERAGE=1 +export CFLAGS="-fprofile-arcs -ftest-coverage" +export CXXFLAGS="-fprofile-arcs -ftest-coverage" +export LDFLAGS="-fprofile-arcs -ftest-coverage -lgcov -L$TOOLTOOL_DIR/gtk3/usr/local/lib" diff --git a/application/basilisk/config/mozconfigs/linux64/common-opt b/application/basilisk/config/mozconfigs/linux64/common-opt new file mode 100644 index 000000000..0d605ff9e --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/common-opt @@ -0,0 +1,15 @@ +# This file is sourced by the nightly, beta, and release mozconfigs. + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --with-google-api-keyfile=/builds/gapi.data +ac_add_options --with-mozilla-api-keyfile=/builds/mozilla-desktop-geoloc-api.key + +. $topsrcdir/build/unix/mozconfig.linux + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +export MOZ_TELEMETRY_REPORTING=1 + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 diff --git a/application/basilisk/config/mozconfigs/linux64/debug b/application/basilisk/config/mozconfigs/linux64/debug new file mode 100644 index 000000000..8196af81b --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/debug @@ -0,0 +1,21 @@ +ac_add_options --enable-debug +ac_add_options --enable-dmd +ac_add_options --enable-verify-mar + +MOZ_AUTOMATION_L10N_CHECK=0 + +. $topsrcdir/build/unix/mozconfig.linux + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Enable Telemetry +export MOZ_TELEMETRY_REPORTING=1 + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +ac_add_options --with-branding=browser/branding/nightly + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/application/basilisk/config/mozconfigs/linux64/debug-artifact b/application/basilisk/config/mozconfigs/linux64/debug-artifact new file mode 100644 index 000000000..db0a435ff --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/debug-artifact @@ -0,0 +1,11 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_L10N_CHECK=0 + +. "$topsrcdir/build/unix/mozconfig.linux" +. "$topsrcdir/build/mozconfig.common.override" + +. "$topsrcdir/build/mozconfig.artifact" +ac_add_options --enable-artifact-build-symbols + +ac_add_options --enable-debug + diff --git a/application/basilisk/config/mozconfigs/linux64/debug-asan b/application/basilisk/config/mozconfigs/linux64/debug-asan new file mode 100644 index 000000000..a772dbb51 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/debug-asan @@ -0,0 +1,23 @@ +# Use at least -O1 for optimization to avoid stack space +# exhaustions caused by Clang function inlining. +ac_add_options --enable-debug +ac_add_options --enable-optimize="-O1" + +# ASan specific options on Linux +ac_add_options --enable-valgrind + +. $topsrcdir/build/unix/mozconfig.asan + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +# Enable Telemetry +export MOZ_TELEMETRY_REPORTING=1 + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=asan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/debug-static-analysis-clang b/application/basilisk/config/mozconfigs/linux64/debug-static-analysis-clang new file mode 100644 index 000000000..ff41e13f9 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/debug-static-analysis-clang @@ -0,0 +1,23 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_L10N_CHECK=0 + +. "$topsrcdir/build/mozconfig.common" + +ac_add_options --enable-debug +ac_add_options --enable-dmd + +# Use Clang as specified in manifest +export CC="$topsrcdir/clang/bin/clang" +export CXX="$topsrcdir/clang/bin/clang++" + +# Add the static checker +ac_add_options --enable-clang-plugin + +. "$topsrcdir/build/unix/mozconfig.stdcxx" + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/application/basilisk/config/mozconfigs/linux64/hazards b/application/basilisk/config/mozconfigs/linux64/hazards new file mode 100644 index 000000000..6e5383250 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/hazards @@ -0,0 +1,41 @@ +# This mozconfig is used when compiling the browser for the rooting hazard +# analysis build (labeled H on treeherder). See +# https://wiki.mozilla.org/Javascript:SpiderMonkey:ExactStackRooting + +# Do NOT include build/unix/mozconfig.linux because it points directly at the +# tooltool-installed gcc, and the analysis works by wrapping the gcc invocation +# with a script that invokes the real gcc with -fplugin and its configuration +# directives. Instead, duplicate the contents of that mozconfig here: + +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_PACKAGE=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_UPLOAD=0 + +. "$topsrcdir/build/mozconfig.common" +ac_add_options --enable-elf-hack + +. "$topsrcdir/build/unix/mozconfig.stdcxx" + +# The objdir must be at a known location so its path can be stripped from the +# filenames stored by the analysis +mk_add_options MOZ_OBJDIR=obj-analyzed + +# The configuration options are chosen to compile the most code +# (--enable-debug, --enable-tests) in the trickiest way possible +# (--enable-optimize) to maximize the chance of seeing tricky static orderings. +ac_add_options --enable-debug +ac_add_options --enable-tests +ac_add_options --enable-optimize +ac_add_options --with-compiler-wrapper=$TOOLTOOL_DIR/sixgill/usr/libexec/sixgill/scripts/wrap_gcc/basecc +ac_add_options --without-ccache + +CFLAGS="$CFLAGS -Wno-attributes" +CPPFLAGS="$CPPFLAGS -Wno-attributes" +CXXFLAGS="$CXXFLAGS -Wno-attributes" + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/l10n-mozconfig b/application/basilisk/config/mozconfigs/linux64/l10n-mozconfig new file mode 100644 index 000000000..4df482dc3 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/l10n-mozconfig @@ -0,0 +1,20 @@ +no_sccache=1 + +ac_add_options --with-l10n-base=../../l10n +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-official-branding + +. $topsrcdir/build/unix/mozconfig.linux + +export MOZILLA_OFFICIAL=1 + +# Enable Telemetry +export MOZ_TELEMETRY_REPORTING=1 + +ac_add_options --disable-stdcxx-compat + +# Don't autoclobber l10n, as this can lead to missing binaries and broken builds +# Bug 1283438 +mk_add_options AUTOCLOBBER= + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/nightly b/application/basilisk/config/mozconfigs/linux64/nightly new file mode 100644 index 000000000..fcde93391 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/nightly @@ -0,0 +1,14 @@ +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" + + +ac_add_options --enable-verify-mar + +# This will overwrite the default of stripping everything and keep the symbol table. +# This is useful for profiling and debugging and only increases the package size +# by 2 MBs. +STRIP_FLAGS="--strip-debug" + +ac_add_options --with-branding=browser/branding/nightly + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/application/basilisk/config/mozconfigs/linux64/nightly-asan b/application/basilisk/config/mozconfigs/linux64/nightly-asan new file mode 100644 index 000000000..833b530d2 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/nightly-asan @@ -0,0 +1,19 @@ +# We still need to build with debug symbols +ac_add_options --disable-debug +ac_add_options --enable-optimize="-O2 -gline-tables-only" + +# ASan specific options on Linux +ac_add_options --enable-valgrind + +. $topsrcdir/build/unix/mozconfig.asan + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=asan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/opt-static-analysis-clang b/application/basilisk/config/mozconfigs/linux64/opt-static-analysis-clang new file mode 100644 index 000000000..936cc46f7 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/opt-static-analysis-clang @@ -0,0 +1,22 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_L10N_CHECK=0 + +. "$topsrcdir/build/mozconfig.common" + +ac_add_options --enable-dmd + +# Use Clang as specified in manifest +CC="$topsrcdir/clang/bin/clang" +CXX="$topsrcdir/clang/bin/clang++" + +# Add the static checker +ac_add_options --enable-clang-plugin + +. "$topsrcdir/build/unix/mozconfig.stdcxx" + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/application/basilisk/config/mozconfigs/linux64/opt-tsan b/application/basilisk/config/mozconfigs/linux64/opt-tsan new file mode 100644 index 000000000..12b156633 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/opt-tsan @@ -0,0 +1,9 @@ +. $topsrcdir/build/unix/mozconfig.tsan + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=tsan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/release b/application/basilisk/config/mozconfigs/linux64/release new file mode 100644 index 000000000..4783dfcc0 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/release @@ -0,0 +1,20 @@ +# This make file should be identical to the beta mozconfig, apart from the +# safeguard below + +if [ -n "$ENABLE_RELEASE_PROMOTION" ]; then + MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-1} + MOZ_AUTOMATION_UPDATE_PACKAGING=1 +fi + +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" + +ac_add_options --enable-official-branding +ac_add_options --enable-verify-mar + +mk_add_options MOZ_PGO=1 + +# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in +# defines.sh during the beta cycle +export BUILDING_RELEASE=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/application/basilisk/config/mozconfigs/linux64/source b/application/basilisk/config/mozconfigs/linux64/source new file mode 100644 index 000000000..4a3c6996b --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/source @@ -0,0 +1,4 @@ +# The source "build" only needs a mozconfig because we use the build system as +# our script for generating it. This allows us to run configure without any +# extra dependencies on specific toolchains, e.g. gtk3. +ac_add_options --disable-compile-environment diff --git a/application/basilisk/config/mozconfigs/linux64/stylo b/application/basilisk/config/mozconfigs/linux64/stylo new file mode 100644 index 000000000..de39747dd --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/stylo @@ -0,0 +1,5 @@ +. "$topsrcdir/browser/config/mozconfigs/linux64/nightly" + +export LLVM_CONFIG="${TOOLTOOL_DIR}/clang/bin/llvm-config" + +ac_add_options --enable-stylo diff --git a/application/basilisk/config/mozconfigs/linux64/stylo-debug b/application/basilisk/config/mozconfigs/linux64/stylo-debug new file mode 100644 index 000000000..2e3614f23 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/stylo-debug @@ -0,0 +1,5 @@ +. "$topsrcdir/browser/config/mozconfigs/linux64/debug" + +export LLVM_CONFIG="${TOOLTOOL_DIR}/clang/bin/llvm-config" + +ac_add_options --enable-stylo diff --git a/application/basilisk/config/mozconfigs/linux64/valgrind b/application/basilisk/config/mozconfigs/linux64/valgrind new file mode 100644 index 000000000..4aa077695 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/valgrind @@ -0,0 +1,10 @@ +. $topsrcdir/browser/config/mozconfigs/linux64/nightly + +ac_add_options --enable-valgrind +ac_add_options --disable-jemalloc +ac_add_options --disable-install-strip +ac_add_options --disable-gtest-in-build + +# Include the override mozconfig again (even though the above includes it) +# since it's supposed to override everything. +. "$topsrcdir/build/mozconfig.common.override" |