| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 platform | 6 import platform |
| 7 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 # TODO(robertm): consider adding this to the top level scons files | 10 # TODO(robertm): consider adding this to the top level scons files |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 'arch/arm/sel_addrspace_arm.c', | 142 'arch/arm/sel_addrspace_arm.c', |
| 143 'arch/arm/nacl_switch.S', | 143 'arch/arm/nacl_switch.S', |
| 144 'arch/arm/nacl_syscall.S', | 144 'arch/arm/nacl_syscall.S', |
| 145 'arch/arm/springboard.S', | 145 'arch/arm/springboard.S', |
| 146 'arch/arm/tramp_arm.S', | 146 'arch/arm/tramp_arm.S', |
| 147 ] | 147 ] |
| 148 | 148 |
| 149 if env.Bit('windows'): | 149 if env.Bit('windows'): |
| 150 ldr_inputs += [ | 150 ldr_inputs += [ |
| 151 'win/nacl_ldt.c', | 151 'win/nacl_ldt.c', |
| 152 'win/nacl_oop_debugger_hooks.c', |
| 152 'win/nacl_thread_nice.c', | 153 'win/nacl_thread_nice.c', |
| 153 'win/sel_memory.c', | 154 'win/sel_memory.c', |
| 154 'win/sel_segments.c', | 155 'win/sel_segments.c', |
| 155 ] | 156 ] |
| 156 elif env.Bit('mac'): | 157 elif env.Bit('mac'): |
| 157 ldr_inputs += [ | 158 ldr_inputs += [ |
| 158 'osx/nacl_ldt.c', | 159 'osx/nacl_ldt.c', |
| 160 'osx/nacl_oop_debugger_hooks.c', |
| 159 'osx/nacl_thread_nice.c', | 161 'osx/nacl_thread_nice.c', |
| 160 'linux/sel_memory.c', | 162 'linux/sel_memory.c', |
| 161 'linux/x86/sel_segments.c', | 163 'linux/x86/sel_segments.c', |
| 162 'osx/outer_sandbox.c', | 164 'osx/outer_sandbox.c', |
| 163 ] | 165 ] |
| 164 elif env.Bit('linux'): | 166 elif env.Bit('linux'): |
| 165 ldr_inputs += [ | 167 ldr_inputs += [ |
| 166 'linux/sel_memory.c', | 168 'linux/sel_memory.c', |
| 169 'linux/nacl_oop_debugger_hooks.c', |
| 167 'linux/nacl_thread_nice.c', | 170 'linux/nacl_thread_nice.c', |
| 168 ] | 171 ] |
| 169 if env.Bit('build_x86'): | 172 if env.Bit('build_x86'): |
| 170 ldr_inputs += [ | 173 ldr_inputs += [ |
| 171 'linux/x86/nacl_ldt.c', | 174 'linux/x86/nacl_ldt.c', |
| 172 'linux/x86/sel_segments.c', | 175 'linux/x86/sel_segments.c', |
| 173 ] | 176 ] |
| 174 elif env.Bit('build_arm'): | 177 elif env.Bit('build_arm'): |
| 175 ldr_inputs += [ | 178 ldr_inputs += [ |
| 176 'linux/arm/sel_segments.c', | 179 'linux/arm/sel_segments.c', |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 expected_exit_status = 'sigabrt' | 788 expected_exit_status = 'sigabrt' |
| 786 node = env.CommandTest( | 789 node = env.CommandTest( |
| 787 'sel_ldr_thread_death_test.out', | 790 'sel_ldr_thread_death_test.out', |
| 788 command=[sel_ldr_thread_death_test_exe], | 791 command=[sel_ldr_thread_death_test_exe], |
| 789 exit_status=expected_exit_status) | 792 exit_status=expected_exit_status) |
| 790 | 793 |
| 791 # TODO(tuduce): Make it work on windows. | 794 # TODO(tuduce): Make it work on windows. |
| 792 env.AddNodeToTestSuite(node, ['medium_tests'], | 795 env.AddNodeToTestSuite(node, ['medium_tests'], |
| 793 'run_sel_ldr_thread_death_test', | 796 'run_sel_ldr_thread_death_test', |
| 794 is_broken=env.Bit('windows')) | 797 is_broken=env.Bit('windows')) |
| OLD | NEW |