OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2009 The Native Client Authors. All rights reserved. | 2 # Copyright 2009 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 # 'ntdll', | 242 # 'ntdll', |
243 ], | 243 ], |
244 ) | 244 ) |
245 | 245 |
246 VALIDATOR_LIBS = [] | 246 VALIDATOR_LIBS = [] |
247 if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and | 247 if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and |
248 not env.CrossToolsBuild()): | 248 not env.CrossToolsBuild()): |
249 | 249 |
250 | 250 |
251 if env.Bit('target_x86'): | 251 if env.Bit('target_x86'): |
252 VALIDATOR_LIBS += ['ncopcode_utils', 'ncvalidate'] | |
253 if env.Bit('target_x86_64'): | 252 if env.Bit('target_x86_64'): |
254 VALIDATOR_LIBS += ['ncvalidate_sfi'] | 253 VALIDATOR_LIBS += ['ncvalidate_sfi'] |
| 254 VALIDATOR_LIBS += ['ncvalidate'] |
255 elif env.Bit('target_arm'): | 255 elif env.Bit('target_arm'): |
256 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core'] | 256 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core'] |
257 | 257 |
258 # TODO(ncbray) why do we need to link against Cocoa? | 258 # TODO(ncbray) why do we need to link against Cocoa? |
259 # run_fake_browser_ppapi_test fails on mac, otherwise. | 259 # run_fake_browser_ppapi_test fails on mac, otherwise. |
260 # http://code.google.com/p/nativeclient/issues/detail?id=1242 | 260 # http://code.google.com/p/nativeclient/issues/detail?id=1242 |
261 sel_ldr_env = env.Clone() | 261 sel_ldr_env = env.Clone() |
262 if env.Bit('mac'): | 262 if env.Bit('mac'): |
263 sel_ldr_env.Append(FRAMEWORKS=['Cocoa']) | 263 sel_ldr_env.Append(FRAMEWORKS=['Cocoa']) |
264 | 264 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 | 735 |
736 node = env.CommandTest( | 736 node = env.CommandTest( |
737 'sel_ldr_thread_death_test.out', | 737 'sel_ldr_thread_death_test.out', |
738 command=[sel_ldr_thread_death_test_exe], | 738 command=[sel_ldr_thread_death_test_exe], |
739 exit_status='segfault') | 739 exit_status='segfault') |
740 | 740 |
741 # TODO(tuduce): Make it work on windows. | 741 # TODO(tuduce): Make it work on windows. |
742 env.AddNodeToTestSuite(node, ['medium_tests'], | 742 env.AddNodeToTestSuite(node, ['medium_tests'], |
743 'run_sel_ldr_thread_death_test', | 743 'run_sel_ldr_thread_death_test', |
744 is_broken=env.Bit('windows')) | 744 is_broken=env.Bit('windows')) |
OLD | NEW |