| OLD | NEW |
| 1 #! -*- python -*- | 1 #! -*- python -*- |
| 2 # | 2 # |
| 3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """ Main scons script for Native Client SDK builds. | 7 """ Main scons script for Native Client SDK builds. |
| 8 | 8 |
| 9 Do not invoke this script directly, but instead use the scons or scons.bat | 9 Do not invoke this script directly, but instead use the scons or scons.bat |
| 10 wrapper function. E.g. | 10 wrapper function. E.g. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 import sys | 24 import sys |
| 25 import toolchainbinaries | 25 import toolchainbinaries |
| 26 from build_tools import build_utils | 26 from build_tools import build_utils |
| 27 | 27 |
| 28 # ---------------------------------------------------------------------------- | 28 # ---------------------------------------------------------------------------- |
| 29 HELP_STRING = """ | 29 HELP_STRING = """ |
| 30 =============================================================================== | 30 =============================================================================== |
| 31 Help for NaCl SDK | 31 Help for NaCl SDK |
| 32 =============================================================================== | 32 =============================================================================== |
| 33 | 33 |
| 34 |
| 34 * cleaning: ./scons -c | 35 * cleaning: ./scons -c |
| 35 * build a target: ./scons <target> | 36 * build a target: ./scons <target> |
| 36 | 37 |
| 37 Supported targets: | 38 Supported targets: |
| 38 * bot Runs everything that the build and try bots run. | 39 * bot Runs everything that the build and try bots run. |
| 39 * debug_server Build the out-of-process debug_server. | 40 * debug_server Build the out-of-process debug_server. |
| 40 * docs Build all of the Doxygen documentation. | 41 * docs Build all of the Doxygen documentation. |
| 41 * examples Build the examples. | 42 * examples Build the examples. |
| 42 * experimental Build the experimental projects. | 43 * experimental Build the experimental projects. |
| 43 * installer Build the SDK installer. | 44 * installer Build the SDK installer. |
| (...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 | 1056 |
| 1056 build_env.AddMethod(TestVSSolution) | 1057 build_env.AddMethod(TestVSSolution) |
| 1057 | 1058 |
| 1058 | 1059 |
| 1059 # ---------------------------------------------------------------------------- | 1060 # ---------------------------------------------------------------------------- |
| 1060 BuildComponents(environment_list) | 1061 BuildComponents(environment_list) |
| 1061 | 1062 |
| 1062 # Require specifying an explicit target only when not cleaning | 1063 # Require specifying an explicit target only when not cleaning |
| 1063 if not GetOption('clean'): | 1064 if not GetOption('clean'): |
| 1064 Default(None) | 1065 Default(None) |
| OLD | NEW |