diff options
Diffstat (limited to 'b2g/config/mozconfigs')
-rw-r--r-- | b2g/config/mozconfigs/common | 24 | ||||
-rw-r--r-- | b2g/config/mozconfigs/common.override | 8 | ||||
-rw-r--r-- | b2g/config/mozconfigs/ics_armv7a_gecko/debug | 20 | ||||
-rw-r--r-- | b2g/config/mozconfigs/ics_armv7a_gecko/nightly | 21 | ||||
-rw-r--r-- | b2g/config/mozconfigs/linux32_gecko/debug | 34 | ||||
-rw-r--r-- | b2g/config/mozconfigs/linux32_gecko/nightly | 36 | ||||
-rw-r--r-- | b2g/config/mozconfigs/linux64_gecko/nightly | 36 | ||||
-rw-r--r-- | b2g/config/mozconfigs/macosx64_gecko/debug | 33 | ||||
-rw-r--r-- | b2g/config/mozconfigs/macosx64_gecko/nightly | 34 | ||||
-rw-r--r-- | b2g/config/mozconfigs/win32_gecko/debug | 29 | ||||
-rw-r--r-- | b2g/config/mozconfigs/win32_gecko/nightly | 30 |
11 files changed, 305 insertions, 0 deletions
diff --git a/b2g/config/mozconfigs/common b/b2g/config/mozconfigs/common new file mode 100644 index 000000000..0ef93ae11 --- /dev/null +++ b/b2g/config/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/. + +# This file is included at the top of all b2g mozconfigs + +. "$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 + +# Allow overriding this from the environment, and don't +# try to set it if it doesn't exist. As per above, this file is also +# used for local builds, and we may need to override this for builds in +# other environments. +if test -z "$SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE" -a -f /builds/crash-stats-api.token; then + export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token +fi diff --git a/b2g/config/mozconfigs/common.override b/b2g/config/mozconfigs/common.override new file mode 100644 index 000000000..abe73b460 --- /dev/null +++ b/b2g/config/mozconfigs/common.override @@ -0,0 +1,8 @@ +# 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/. + +# This file is included at the bottom of all b2g mozconfigs + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/b2g/config/mozconfigs/ics_armv7a_gecko/debug b/b2g/config/mozconfigs/ics_armv7a_gecko/debug new file mode 100644 index 000000000..1cacb8a75 --- /dev/null +++ b/b2g/config/mozconfigs/ics_armv7a_gecko/debug @@ -0,0 +1,20 @@ +. "$topsrcdir/b2g/config/mozconfigs/common" + +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-b2g + +ac_add_options --enable-application=b2g +ac_add_options --enable-b2g-camera + +ac_add_options --target=arm-linux-androideabi +ac_add_options --with-gonk="$topsrcdir/gonk-toolchain" +export TOOLCHAIN_HOST=linux-x86 +export GONK_PRODUCT=generic +ac_add_options --with-gonk-toolchain-prefix="$topsrcdir/gonk-toolchain/prebuilt/$TOOLCHAIN_HOST/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-" +ac_add_options --enable-debug-symbols +ac_add_options --enable-debug +ENABLE_MARIONETTE=1 + +# Enable dump() from JS. +export CXXFLAGS="-DMOZ_ENABLE_JS_DUMP -include $topsrcdir/gonk-toolchain/gonk-misc/Unicode.h -include $topsrcdir/gonk-toolchain/system/vold/ResponseCode.h" + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/ics_armv7a_gecko/nightly b/b2g/config/mozconfigs/ics_armv7a_gecko/nightly new file mode 100644 index 000000000..c2f1ae0fa --- /dev/null +++ b/b2g/config/mozconfigs/ics_armv7a_gecko/nightly @@ -0,0 +1,21 @@ +. "$topsrcdir/b2g/config/mozconfigs/common" + +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-b2g + +ac_add_options --enable-application=b2g +ac_add_options --enable-b2g-camera +ac_add_options --enable-updater + +ac_add_options --target=arm-linux-androideabi +ac_add_options --with-gonk="$topsrcdir/gonk-toolchain" +export TOOLCHAIN_HOST=linux-x86 +export GONK_PRODUCT=generic +ac_add_options --with-gonk-toolchain-prefix="$topsrcdir/gonk-toolchain/prebuilt/$TOOLCHAIN_HOST/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-" +ac_add_options --enable-debug-symbols +# ac_add_options --enable-profiling +ENABLE_MARIONETTE=1 + +# Enable dump() from JS. +export CXXFLAGS="-DMOZ_ENABLE_JS_DUMP -include $topsrcdir/gonk-toolchain/gonk-misc/Unicode.h -include $topsrcdir/gonk-toolchain/system/vold/ResponseCode.h" + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/linux32_gecko/debug b/b2g/config/mozconfigs/linux32_gecko/debug new file mode 100644 index 000000000..7ecbda356 --- /dev/null +++ b/b2g/config/mozconfigs/linux32_gecko/debug @@ -0,0 +1,34 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +. "$topsrcdir/b2g/config/mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux32" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar +ac_add_options --enable-debug + +# 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 + +export MOZ_TELEMETRY_REPORTING=1 + +# Use sccache +no_sccache= + +#B2G options +ac_add_options --enable-application=b2g +ENABLE_MARIONETTE=1 +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/linux32_gecko/nightly b/b2g/config/mozconfigs/linux32_gecko/nightly new file mode 100644 index 000000000..4cc78ca0e --- /dev/null +++ b/b2g/config/mozconfigs/linux32_gecko/nightly @@ -0,0 +1,36 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/b2g/config/mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux32" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar + +# 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 + +export MOZ_TELEMETRY_REPORTING=1 + +# Use sccache +no_sccache= + +#B2G options +ac_add_options --enable-application=b2g +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +# Build simulator xpi and phone tweaks for b2g-desktop +FXOS_SIMULATOR=1 + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/linux64_gecko/nightly b/b2g/config/mozconfigs/linux64_gecko/nightly new file mode 100644 index 000000000..67e7cea4f --- /dev/null +++ b/b2g/config/mozconfigs/linux64_gecko/nightly @@ -0,0 +1,36 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/b2g/config/mozconfigs/common" +. "$topsrcdir/build/unix/mozconfig.linux" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-signmar + +# 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 + +export MOZ_TELEMETRY_REPORTING=1 + +# Use sccache +no_sccache= + +#B2G options +ac_add_options --enable-application=b2g +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +# Build simulator xpi and phone tweaks for b2g-desktop +FXOS_SIMULATOR=1 + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/macosx64_gecko/debug b/b2g/config/mozconfigs/macosx64_gecko/debug new file mode 100644 index 000000000..1577e1f2e --- /dev/null +++ b/b2g/config/mozconfigs/macosx64_gecko/debug @@ -0,0 +1,33 @@ +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +. "$topsrcdir/b2g/config/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 + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +export MOZ_TELEMETRY_REPORTING=1 + +#ac_add_options --with-macbundlename-prefix=Firefox + +# B2G Stuff +ac_add_options --enable-application=b2g +ac_add_options --enable-debug-symbols +ac_add_options --enable-debug +ENABLE_MARIONETTE=1 + +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/macosx64_gecko/nightly b/b2g/config/mozconfigs/macosx64_gecko/nightly new file mode 100644 index 000000000..2c9c01d67 --- /dev/null +++ b/b2g/config/mozconfigs/macosx64_gecko/nightly @@ -0,0 +1,34 @@ +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/b2g/config/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 + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +export MOZ_TELEMETRY_REPORTING=1 + +#ac_add_options --with-macbundlename-prefix=Firefox + +# B2G Stuff +ac_add_options --enable-application=b2g +ac_add_options --enable-debug-symbols +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +# Build simulator xpi and phone tweaks for b2g-desktop +FXOS_SIMULATOR=1 + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/win32_gecko/debug b/b2g/config/mozconfigs/win32_gecko/debug new file mode 100644 index 000000000..ab34aa1f7 --- /dev/null +++ b/b2g/config/mozconfigs/win32_gecko/debug @@ -0,0 +1,29 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +. "$topsrcdir/b2g/config/mozconfigs/common" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-jemalloc +ac_add_options --enable-signmar +ac_add_options --enable-debug + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +export MOZ_TELEMETRY_REPORTING=1 + +. $topsrcdir/build/win32/mozconfig.vs-latest + +# B2G Options +ac_add_options --enable-application=b2g +ENABLE_MARIONETTE=1 + +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +. "$topsrcdir/b2g/config/mozconfigs/common.override" diff --git a/b2g/config/mozconfigs/win32_gecko/nightly b/b2g/config/mozconfigs/win32_gecko/nightly new file mode 100644 index 000000000..7e4486368 --- /dev/null +++ b/b2g/config/mozconfigs/win32_gecko/nightly @@ -0,0 +1,30 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/b2g/config/mozconfigs/common" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-jemalloc +ac_add_options --enable-signmar + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +export MOZ_TELEMETRY_REPORTING=1 + +. $topsrcdir/build/win32/mozconfig.vs-latest + +# B2G Options +ac_add_options --enable-application=b2g +export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP + +GAIADIR=$topsrcdir/gaia + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +# Build simulator xpi and phone tweaks for b2g-desktop +FXOS_SIMULATOR=1 + +. "$topsrcdir/b2g/config/mozconfigs/common.override" |