diff options
Diffstat (limited to 'b2g/graphene/config/horizon-mozconfigs')
12 files changed, 261 insertions, 0 deletions
diff --git a/b2g/graphene/config/horizon-mozconfigs/common b/b2g/graphene/config/horizon-mozconfigs/common new file mode 100644 index 000000000..9277d299f --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/common @@ -0,0 +1,24 @@ +# 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/. + +# Disable the l10n-check target, which isn't relevant to b2g builds at all. +# This needs to be set prior to the next include for it to take effect. +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_SDK=0 + +. "$topsrcdir/build/mozconfig.common" + +# Normally, we'd set this unconditionally, but this file is also used +# for local builds and there is no other mozconfig in this tree that +# is included on device builds. +if test -d $topsrcdir/../gcc/bin; then + HOST_CC="$topsrcdir/../gcc/bin/gcc" + HOST_CXX="$topsrcdir/../gcc/bin/g++" + . "$topsrcdir/build/unix/mozconfig.stdcxx" +fi + +MOZ_HORIZON=1 +ac_add_options --with-branding=b2g/branding/horizon +ac_add_options --enable-application=b2g/graphene diff --git a/b2g/graphene/config/horizon-mozconfigs/common.override b/b2g/graphene/config/horizon-mozconfigs/common.override new file mode 100644 index 000000000..f17dadfe6 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/common.override @@ -0,0 +1,5 @@ +# 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/. + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/linux32/debug b/b2g/graphene/config/horizon-mozconfigs/linux32/debug new file mode 100644 index 000000000..9758e72e4 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/linux32/debug @@ -0,0 +1,25 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux32" + +ac_add_options --enable-debug + +# Nightlies only since this has a cost in performance +#ac_add_options --enable-js-diagnostics + +# 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" + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Use sccache +no_sccache= +. "$topsrcdir/build/mozconfig.cache" + +# graphene options +ENABLE_MARIONETTE=1 +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/linux32/nightly b/b2g/graphene/config/horizon-mozconfigs/linux32/nightly new file mode 100644 index 000000000..ad36ce038 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/linux32/nightly @@ -0,0 +1,25 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux32" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +#ac_add_options --enable-js-diagnostics + +# 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" + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Use sccache +no_sccache= +. "$topsrcdir/build/mozconfig.cache" + +# graphene options +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/linux64/debug b/b2g/graphene/config/horizon-mozconfigs/linux64/debug new file mode 100644 index 000000000..c29fe6ebc --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/linux64/debug @@ -0,0 +1,25 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux" + +ac_add_options --enable-debug + +# Nightlies only since this has a cost in performance +#ac_add_options --enable-js-diagnostics + +# 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" + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Use sccache +no_sccache= +. "$topsrcdir/build/mozconfig.cache" + +# graphene options +ENABLE_MARIONETTE=1 +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/linux64/nightly b/b2g/graphene/config/horizon-mozconfigs/linux64/nightly new file mode 100644 index 000000000..0a695b081 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/linux64/nightly @@ -0,0 +1,25 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +#ac_add_options --enable-js-diagnostics + +# 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" + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Use sccache +no_sccache= +. "$topsrcdir/build/mozconfig.cache" + +# graphene options +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/macosx64/debug b/b2g/graphene/config/horizon-mozconfigs/macosx64/debug new file mode 100644 index 000000000..b973fd24c --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/macosx64/debug @@ -0,0 +1,23 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +# Use sccache +no_sccache= + +. $topsrcdir/build/macosx/mozconfig.common + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +#ac_add_options --with-macbundlename-prefix=Firefox + +# graphene Stuff +ac_add_options --enable-debug-symbols +ac_add_options --enable-debug +ENABLE_MARIONETTE=1 + +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/macosx64/nightly b/b2g/graphene/config/horizon-mozconfigs/macosx64/nightly new file mode 100644 index 000000000..5125bb8f1 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/macosx64/nightly @@ -0,0 +1,23 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +# Use sccache +no_sccache= + +. $topsrcdir/build/macosx/mozconfig.common + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +#ac_add_options --with-macbundlename-prefix=Firefox + +# graphene Stuff +ac_add_options --enable-debug-symbols +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/win32/debug b/b2g/graphene/config/horizon-mozconfigs/win32/debug new file mode 100644 index 000000000..89bcb7a5f --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/win32/debug @@ -0,0 +1,19 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +ac_add_options --enable-jemalloc +ac_add_options --enable-debug + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +. $topsrcdir/build/win32/mozconfig.vs-latest + +# graphene Options +ENABLE_MARIONETTE=1 + +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/win32/nightly b/b2g/graphene/config/horizon-mozconfigs/win32/nightly new file mode 100644 index 000000000..b9ab618e5 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/win32/nightly @@ -0,0 +1,18 @@ +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-jemalloc +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +. $topsrcdir/build/win32/mozconfig.vs-latest + +# graphene Options +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/win64/debug b/b2g/graphene/config/horizon-mozconfigs/win64/debug new file mode 100644 index 000000000..3ab8e7820 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/win64/debug @@ -0,0 +1,23 @@ +. "$topsrcdir/build/mozconfig.win-common" +MOZ_AUTOMATION_L10N_CHECK=0 +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +ac_add_options --target=x86_64-pc-mingw32 +ac_add_options --host=x86_64-pc-mingw32 + +ac_add_options --enable-debug +ac_add_options --enable-dmd +ac_add_options --enable-profiling # needed for --enable-dmd to work on Windows +ac_add_options --enable-signmar + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +. $topsrcdir/build/win64/mozconfig.vs-latest + +. "$topsrcdir/build/mozconfig.cache" + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" diff --git a/b2g/graphene/config/horizon-mozconfigs/win64/nightly b/b2g/graphene/config/horizon-mozconfigs/win64/nightly new file mode 100644 index 000000000..f8cbb69e7 --- /dev/null +++ b/b2g/graphene/config/horizon-mozconfigs/win64/nightly @@ -0,0 +1,26 @@ +if [ "x$IS_NIGHTLY" = "xyes" ]; then + MOZ_AUTOMATION_UPLOAD_SYMBOLS=1 + MOZ_AUTOMATION_UPDATE_PACKAGING=1 +fi + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common" + +ac_add_options --target=x86_64-pc-mingw32 +ac_add_options --host=x86_64-pc-mingw32 + +. $topsrcdir/build/win64/mozconfig.vs-latest + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-jemalloc +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# graphene Options +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +. "$topsrcdir/b2g/graphene/config/horizon-mozconfigs/common.override" |