| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 | 6 |
| 7 Import('env') | 7 Import('env') |
| 8 | 8 |
| 9 # NACL_GC_WRAP_SYSCALL uses ({...}) syntax. | 9 # NACL_GC_WRAP_SYSCALL uses ({...}) syntax. |
| 10 env.FilterOut(CCFLAGS=['-pedantic']) | 10 env.FilterOut(CCFLAGS=['-pedantic']) |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 | 277 |
| 278 imc_syscalls = [ | 278 imc_syscalls = [ |
| 279 'imc_accept.c', | 279 'imc_accept.c', |
| 280 'imc_connect.c', | 280 'imc_connect.c', |
| 281 'imc_makeboundsock.c', | 281 'imc_makeboundsock.c', |
| 282 'imc_mem_obj_create.c', | 282 'imc_mem_obj_create.c', |
| 283 'imc_recvmsg.c', | 283 'imc_recvmsg.c', |
| 284 'imc_sendmsg.c', | 284 'imc_sendmsg.c', |
| 285 'imc_socketpair.c', | 285 'imc_socketpair.c', |
| 286 'nameservice.c', | |
| 287 ] | 286 ] |
| 288 | 287 |
| 289 libimc_syscalls = env.NaClSdkLibrary('libimc_syscalls', imc_syscalls) | 288 libimc_syscalls = env.NaClSdkLibrary('libimc_syscalls', imc_syscalls) |
| 290 | 289 |
| 291 sys_private = [ | 290 sys_private = [ |
| 292 'null.c', | 291 'null.c', |
| 293 'sysbrk.c', | 292 'sysbrk.c', |
| 294 ] | 293 ] |
| 295 | 294 |
| 296 if not env.Bit('nacl_glibc'): | 295 if not env.Bit('nacl_glibc'): |
| (...skipping 13 matching lines...) Expand all Loading... |
| 310 # single .o file avoids this scenario. | 309 # single .o file avoids this scenario. |
| 311 private_combine = [env.ComponentObject(module, '%s.c' % module) | 310 private_combine = [env.ComponentObject(module, '%s.c' % module) |
| 312 for module in ['gc_hooks_private', | 311 for module in ['gc_hooks_private', |
| 313 'sys_private']] | 312 'sys_private']] |
| 314 sys_private.append(env.Command('combined_private${OBJSUFFIX}', | 313 sys_private.append(env.Command('combined_private${OBJSUFFIX}', |
| 315 private_combine, | 314 private_combine, |
| 316 '${LD} -relocatable -o ${TARGET} ${SOURCES}')) | 315 '${LD} -relocatable -o ${TARGET} ${SOURCES}')) |
| 317 | 316 |
| 318 if not env.Bit('nonsfi_nacl'): | 317 if not env.Bit('nonsfi_nacl'): |
| 319 env.ComponentLibrary('libnacl_sys_private', sys_private) | 318 env.ComponentLibrary('libnacl_sys_private', sys_private) |
| OLD | NEW |