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

Side by Side Diff: src/nonsfi/linux/nacl.scons

Issue 1212613002: Non-SFI mode: Add Linux asynchronous signal support (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Added a TODO to remove code after roll Created 5 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
« no previous file with comments | « src/nonsfi/linux/linux_syscall_defines.h ('k') | src/public/linux_syscalls/sys/syscall.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2014 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('env') 6 Import('env')
7 7
8 if not env.Bit('nonsfi_nacl'): 8 if not env.Bit('nonsfi_nacl'):
9 Return() 9 Return()
10 10
11 # Specifying the target arch is necessary for using inline assembly. 11 # Specifying the target arch is necessary for using inline assembly.
12 if env.Bit('build_x86_32'): 12 if env.Bit('build_x86_32'):
13 env.Append(CCFLAGS=['--target=i686-unknown-nacl']) 13 env.Append(CCFLAGS=['--target=i686-unknown-nacl'])
14 elif env.Bit('build_arm'): 14 elif env.Bit('build_arm'):
15 env.Append(CCFLAGS=['--target=armv7a-unknown-nacl-gnueabihf', '-mfloat-abi=har d']) 15 env.Append(CCFLAGS=['--target=armv7a-unknown-nacl-gnueabihf', '-mfloat-abi=har d'])
16 else: 16 else:
17 raise Exception('Unsupported architecture') 17 raise Exception('Unsupported architecture')
18 env.ComponentLibrary('libnacl_sys_private', ['linux_sys_private.c', 18 env.ComponentLibrary('libnacl_sys_private', ['linux_sys_private.c',
19 'directory.c', 19 'directory.c',
20 'irt_exception_handling.c']) 20 'irt_signal_handling.c'])
OLDNEW
« no previous file with comments | « src/nonsfi/linux/linux_syscall_defines.h ('k') | src/public/linux_syscalls/sys/syscall.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698