Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: src/trusted/service_runtime/build.scons

Issue 6883091: Start unit testing for functions in nc_inst_state.c (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 # 'ntdll', 243 # 'ntdll',
244 ], 244 ],
245 ) 245 )
246 246
247 VALIDATOR_LIBS = [] 247 VALIDATOR_LIBS = []
248 if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and 248 if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and
249 not env.CrossToolsBuild()): 249 not env.CrossToolsBuild()):
250 250
251 251
252 if env.Bit('target_x86'): 252 if env.Bit('target_x86'):
253 VALIDATOR_LIBS += ['ncopcode_utils', 'ncvalidate']
254 if env.Bit('target_x86_64'): 253 if env.Bit('target_x86_64'):
255 VALIDATOR_LIBS += ['ncvalidate_sfi'] 254 VALIDATOR_LIBS += ['ncvalidate_sfi']
255 VALIDATOR_LIBS += ['ncvalidate']
256 elif env.Bit('target_arm'): 256 elif env.Bit('target_arm'):
257 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core'] 257 VALIDATOR_LIBS += ['ncvalidate_arm_v2', 'arm_validator_core']
258 258
259 # TODO(ncbray) why do we need to link against Cocoa? 259 # TODO(ncbray) why do we need to link against Cocoa?
260 # run_fake_browser_ppapi_test fails on mac, otherwise. 260 # run_fake_browser_ppapi_test fails on mac, otherwise.
261 # http://code.google.com/p/nativeclient/issues/detail?id=1242 261 # http://code.google.com/p/nativeclient/issues/detail?id=1242
262 sel_ldr_env = env.Clone() 262 sel_ldr_env = env.Clone()
263 if env.Bit('mac'): 263 if env.Bit('mac'):
264 sel_ldr_env.Append(FRAMEWORKS=['Cocoa']) 264 sel_ldr_env.Append(FRAMEWORKS=['Cocoa'])
265 265
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 730
731 node = env.CommandTest( 731 node = env.CommandTest(
732 'sel_ldr_thread_death_test.out', 732 'sel_ldr_thread_death_test.out',
733 command=[sel_ldr_thread_death_test_exe], 733 command=[sel_ldr_thread_death_test_exe],
734 exit_status='segfault') 734 exit_status='segfault')
735 735
736 # TODO(tuduce): Make it work on windows. 736 # TODO(tuduce): Make it work on windows.
737 env.AddNodeToTestSuite(node, ['medium_tests'], 737 env.AddNodeToTestSuite(node, ['medium_tests'],
738 'run_sel_ldr_thread_death_test', 738 'run_sel_ldr_thread_death_test',
739 is_broken=env.Bit('windows')) 739 is_broken=env.Bit('windows'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698