1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/mozconfig.automation Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# Common mozconfig for automation builds. 1.9 +# 1.10 +# We export MOZ_AUTOMATION_* variables here to trigger various steps in 1.11 +# automation builds. For example, if MOZ_AUTOMATION_PACKAGE is set, then the 1.12 +# package step will run. This file contains the default settings, which can be 1.13 +# overridden by setting them earlier in the appropriate mozconfig. 1.14 + 1.15 +mk_add_options "export MOZ_AUTOMATION_BUILD_SYMBOLS=${MOZ_AUTOMATION_BUILD_SYMBOLS-1}" 1.16 +mk_add_options "export MOZ_AUTOMATION_L10N_CHECK=${MOZ_AUTOMATION_L10N_CHECK-1}" 1.17 +mk_add_options "export MOZ_AUTOMATION_PACKAGE=${MOZ_AUTOMATION_PACKAGE-1}" 1.18 +mk_add_options "export MOZ_AUTOMATION_PACKAGE_TESTS=${MOZ_AUTOMATION_PACKAGE_TESTS-1}" 1.19 +mk_add_options "export MOZ_AUTOMATION_INSTALLER=${MOZ_AUTOMATION_INSTALLER-0}" 1.20 +mk_add_options "export MOZ_AUTOMATION_UPDATE_PACKAGING=${MOZ_AUTOMATION_UPDATE_PACKAGING-0}" 1.21 +mk_add_options "export MOZ_AUTOMATION_UPLOAD=${MOZ_AUTOMATION_UPLOAD-1}" 1.22 +mk_add_options "export MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-0}" 1.23 + 1.24 +# If we are also building with MOZ_PKG_PRETTYNAMES, set the corresponding 1.25 +# stages. 1.26 +if test "$MOZ_AUTOMATION_PRETTY" = "1"; then 1.27 + mk_add_options "export MOZ_AUTOMATION_PRETTY_PACKAGE=${MOZ_AUTOMATION_PACKAGE-1}" 1.28 + mk_add_options "export MOZ_AUTOMATION_PRETTY_PACKAGE_TESTS=${MOZ_AUTOMATION_PACKAGE_TESTS-1}" 1.29 + mk_add_options "export MOZ_AUTOMATION_PRETTY_L10N_CHECK=${MOZ_AUTOMATION_L10N_CHECK-1}" 1.30 + mk_add_options "export MOZ_AUTOMATION_PRETTY_INSTALLER=${MOZ_AUTOMATION_INSTALLER-0}" 1.31 + 1.32 + # Note that we always build the update packaging with pretty names even if 1.33 + # we don't build it without, so this is set to 1. 1.34 + mk_add_options "export MOZ_AUTOMATION_PRETTY_UPDATE_PACKAGING=1" 1.35 +fi