| OLD | NEW |
| 1 #! -*- python -*- | 1 #! -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import atexit | 6 import atexit |
| 7 import json | 7 import json |
| 8 import os | 8 import os |
| 9 import platform | 9 import platform |
| 10 import re | 10 import re |
| (...skipping 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2298 Common tasks: | 2298 Common tasks: |
| 2299 ------------- | 2299 ------------- |
| 2300 | 2300 |
| 2301 * cleaning: scons -c | 2301 * cleaning: scons -c |
| 2302 * building: scons | 2302 * building: scons |
| 2303 * build mandel: scons --mode=nacl mandel.nexe | 2303 * build mandel: scons --mode=nacl mandel.nexe |
| 2304 * smoke test: scons --mode=nacl,opt-linux -k pp=1 smoke_tests | 2304 * smoke test: scons --mode=nacl,opt-linux -k pp=1 smoke_tests |
| 2305 | 2305 |
| 2306 * sel_ldr: scons --mode=opt-linux sel_ldr | 2306 * sel_ldr: scons --mode=opt-linux sel_ldr |
| 2307 | 2307 |
| 2308 * build the plugin: scons --mode=opt-linux ppNaClPlugin | |
| 2309 * or: scons --mode=opt-linux src/trusted/plugin | |
| 2310 | |
| 2311 Targets to build trusted code destined for the SDK: | 2308 Targets to build trusted code destined for the SDK: |
| 2312 * build trusted-code tools: scons build_bin | 2309 * build trusted-code tools: scons build_bin |
| 2313 * install trusted-code tools: scons install_bin bindir=... | 2310 * install trusted-code tools: scons install_bin bindir=... |
| 2314 * These default to opt build, or add --mode=dbg-host for debug build. | 2311 * These default to opt build, or add --mode=dbg-host for debug build. |
| 2315 | 2312 |
| 2316 Targets to build untrusted code destined for the SDK: | 2313 Targets to build untrusted code destined for the SDK: |
| 2317 * build just libraries: scons build_lib | 2314 * build just libraries: scons build_lib |
| 2318 * install just headers: scons install_headers includedir=... | 2315 * install just headers: scons install_headers includedir=... |
| 2319 * install just libraries: scons install_lib libdir=... | 2316 * install just libraries: scons install_lib libdir=... |
| 2320 * install headers and libraries:scons install includedir=... libdir=... | 2317 * install headers and libraries:scons install includedir=... libdir=... |
| (...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4026 nacl_env.ValidateSdk() | 4023 nacl_env.ValidateSdk() |
| 4027 | 4024 |
| 4028 if BROKEN_TEST_COUNT > 0: | 4025 if BROKEN_TEST_COUNT > 0: |
| 4029 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 4026 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
| 4030 if GetOption('brief_comstr'): | 4027 if GetOption('brief_comstr'): |
| 4031 msg += " Add --verbose to the command line for more information." | 4028 msg += " Add --verbose to the command line for more information." |
| 4032 print msg | 4029 print msg |
| 4033 | 4030 |
| 4034 # separate warnings from actual build output | 4031 # separate warnings from actual build output |
| 4035 Banner('B U I L D - O U T P U T:') | 4032 Banner('B U I L D - O U T P U T:') |
| OLD | NEW |