OLD | NEW |
(Empty) | |
| 1 # -*- python -*- |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 Import('env') |
| 7 |
| 8 # Only for newlib for now, since the subprogram's library dependencies |
| 9 # and ld.so-as-main would complicate the reverse channel emulation |
| 10 # quite a bit. Once we have a better handle on how to merge manifests |
| 11 # and we need to test dynamic loading by the subprocess, we can |
| 12 # revisit this. |
| 13 if env.Bit('nacl_glibc'): |
| 14 Return() |
| 15 |
| 16 env.ComponentLibrary('process_lib', |
| 17 [ 'process_lib.cc', ]) |
| 18 |
| 19 init_nexe = env.ComponentProgram('init', |
| 20 'init.cc', |
| 21 EXTRA_LIBS=['process_lib', |
| 22 'srpc', |
| 23 'platform', |
| 24 'imc', |
| 25 'imc_syscalls', |
| 26 '${PTHREAD_LIBS}', |
| 27 '${NONIRT_LIBS}']) |
OLD | NEW |