|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 # Common mozconfig for automation builds. |
|
6 # |
|
7 # We export MOZ_AUTOMATION_* variables here to trigger various steps in |
|
8 # automation builds. For example, if MOZ_AUTOMATION_PACKAGE is set, then the |
|
9 # package step will run. This file contains the default settings, which can be |
|
10 # overridden by setting them earlier in the appropriate mozconfig. |
|
11 |
|
12 mk_add_options "export MOZ_AUTOMATION_BUILD_SYMBOLS=${MOZ_AUTOMATION_BUILD_SYMBOLS-1}" |
|
13 mk_add_options "export MOZ_AUTOMATION_L10N_CHECK=${MOZ_AUTOMATION_L10N_CHECK-1}" |
|
14 mk_add_options "export MOZ_AUTOMATION_PACKAGE=${MOZ_AUTOMATION_PACKAGE-1}" |
|
15 mk_add_options "export MOZ_AUTOMATION_PACKAGE_TESTS=${MOZ_AUTOMATION_PACKAGE_TESTS-1}" |
|
16 mk_add_options "export MOZ_AUTOMATION_INSTALLER=${MOZ_AUTOMATION_INSTALLER-0}" |
|
17 mk_add_options "export MOZ_AUTOMATION_UPDATE_PACKAGING=${MOZ_AUTOMATION_UPDATE_PACKAGING-0}" |
|
18 mk_add_options "export MOZ_AUTOMATION_UPLOAD=${MOZ_AUTOMATION_UPLOAD-1}" |
|
19 mk_add_options "export MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-0}" |
|
20 |
|
21 # If we are also building with MOZ_PKG_PRETTYNAMES, set the corresponding |
|
22 # stages. |
|
23 if test "$MOZ_AUTOMATION_PRETTY" = "1"; then |
|
24 mk_add_options "export MOZ_AUTOMATION_PRETTY_PACKAGE=${MOZ_AUTOMATION_PACKAGE-1}" |
|
25 mk_add_options "export MOZ_AUTOMATION_PRETTY_PACKAGE_TESTS=${MOZ_AUTOMATION_PACKAGE_TESTS-1}" |
|
26 mk_add_options "export MOZ_AUTOMATION_PRETTY_L10N_CHECK=${MOZ_AUTOMATION_L10N_CHECK-1}" |
|
27 mk_add_options "export MOZ_AUTOMATION_PRETTY_INSTALLER=${MOZ_AUTOMATION_INSTALLER-0}" |
|
28 |
|
29 # Note that we always build the update packaging with pretty names even if |
|
30 # we don't build it without, so this is set to 1. |
|
31 mk_add_options "export MOZ_AUTOMATION_PRETTY_UPDATE_PACKAGING=1" |
|
32 fi |