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

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

Issue 7677036: Enable the service runtime to use a zero-based sandbox on Linux. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixes for Mark and Bennet's reviews Created 9 years, 4 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 (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 import os 7 import os
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 if env.Bit('linux'): 185 if env.Bit('linux'):
186 ldr_inputs += ['posix/nacl_signal.c'] 186 ldr_inputs += ['posix/nacl_signal.c']
187 if env.Bit('target_arm'): 187 if env.Bit('target_arm'):
188 ldr_inputs += ['linux/nacl_signal_arm.c'] 188 ldr_inputs += ['linux/nacl_signal_arm.c']
189 elif env.Bit('target_x86_32'): 189 elif env.Bit('target_x86_32'):
190 ldr_inputs += ['linux/nacl_signal_32.c'] 190 ldr_inputs += ['linux/nacl_signal_32.c']
191 elif env.Bit('target_x86_64'): 191 elif env.Bit('target_x86_64'):
192 ldr_inputs += ['linux/nacl_signal_64.c'] 192 ldr_inputs += ['linux/nacl_signal_64.c']
193 else: 193 else:
194 raise Exception("Unsupported target") 194 raise Exception("Unsupported target")
195 env.Append(LIBS=['dl'])
195 196
196 if env.Bit('mac'): 197 if env.Bit('mac'):
197 ldr_inputs += ['posix/nacl_signal.c'] 198 ldr_inputs += ['posix/nacl_signal.c']
198 if env.Bit('target_x86_32'): 199 if env.Bit('target_x86_32'):
199 ldr_inputs += ['osx/nacl_signal_32.c'] 200 ldr_inputs += ['osx/nacl_signal_32.c']
200 elif env.Bit('target_x86_64'): 201 elif env.Bit('target_x86_64'):
201 ldr_inputs += ['osx/nacl_signal_64.c'] 202 ldr_inputs += ['osx/nacl_signal_64.c']
202 else: 203 else:
203 raise Exception("Unsupported target") 204 raise Exception("Unsupported target")
204 205
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 expected_exit_status = 'sigabrt' 799 expected_exit_status = 'sigabrt'
799 node = env.CommandTest( 800 node = env.CommandTest(
800 'sel_ldr_thread_death_test.out', 801 'sel_ldr_thread_death_test.out',
801 command=[sel_ldr_thread_death_test_exe], 802 command=[sel_ldr_thread_death_test_exe],
802 exit_status=expected_exit_status) 803 exit_status=expected_exit_status)
803 804
804 # TODO(tuduce): Make it work on windows. 805 # TODO(tuduce): Make it work on windows.
805 env.AddNodeToTestSuite(node, ['medium_tests'], 806 env.AddNodeToTestSuite(node, ['medium_tests'],
806 'run_sel_ldr_thread_death_test', 807 'run_sel_ldr_thread_death_test',
807 is_broken=env.Bit('windows')) 808 is_broken=env.Bit('windows'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698