Chromium Code Reviews| Index: SConstruct |
| diff --git a/SConstruct b/SConstruct |
| index 3a4334086f015538ba80b55970bcfb97bbb79d5b..2a12429e5f1ed3cd4e3280f4fde9d42ea701571b 100755 |
| --- a/SConstruct |
| +++ b/SConstruct |
| @@ -330,6 +330,9 @@ def SetUpArgumentBits(env): |
| BitFromArgument(env, 'pnacl_unsandboxed', default=False, |
| desc='Translate pexe to an unsandboxed, host executable') |
| + BitFromArgument(env, 'minsfi', default=env.Bit('bitcode'), |
|
jvoung (off chromium)
2014/09/09 01:32:50
Wait... with minsfi=True whenever bitcode=1 means
dbrazdil
2014/09/09 01:53:39
Crap, that would explain why some unrelated tests
|
| + desc='Build MinSFI libraries and run tests') |
| + |
| BitFromArgument(env, 'nonsfi_nacl', default=False, |
| desc='Use Non-SFI Mode instead of the original SFI Mode. This uses ' |
| 'nonsfi_loader instead of sel_ldr, and it tells the PNaCl toolchain ' |
| @@ -721,6 +724,7 @@ ACCEPTABLE_TEST_SUITES = set([ |
| 'exit_status_tests', |
| 'gdb_tests', |
| 'mmap_race_tests', |
| + 'minsfi_tests', |
| 'nonpexe_tests', |
| 'performance_tests', |
| 'pnacl_abi_tests', |
| @@ -2206,6 +2210,7 @@ def MakeBaseTrustedEnv(platform=None): |
| # KEEP THIS SORTED PLEASE |
| 'build/package_version/build.scons', |
| 'pynacl/build.scons', |
| + 'src/minsfi/trusted/build.scons', |
| 'src/nonsfi/irt/build.scons', |
| 'src/nonsfi/loader/build.scons', |
| 'src/shared/gio/build.scons', |
| @@ -3306,6 +3311,7 @@ irt_variant_tests = [ |
| 'tests/mandel/nacl.scons', |
| 'tests/math/nacl.scons', |
| 'tests/memcheck_test/nacl.scons', |
| + 'tests/minsfi/nacl.scons', |
| 'tests/mmap/nacl.scons', |
| 'tests/mmap_main_nexe/nacl.scons', |
| 'tests/mmap_prot_exec/nacl.scons', |