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 # This module shouldn't be built in an environment that uses glibc. | 9 # This module shouldn't be built in an environment that uses glibc. |
10 if env.Bit('nacl_glibc'): | 10 if env.Bit('nacl_glibc'): |
(...skipping 26 matching lines...) Expand all Loading... |
37 'irt_cond.c', | 37 'irt_cond.c', |
38 'irt_sem.c', | 38 'irt_sem.c', |
39 'irt_tls.c', | 39 'irt_tls.c', |
40 'irt_blockhook.c', | 40 'irt_blockhook.c', |
41 'irt_clock.c', | 41 'irt_clock.c', |
42 'irt_dev_getpid.c', | 42 'irt_dev_getpid.c', |
43 'irt_exception_handling.c', | 43 'irt_exception_handling.c', |
44 'irt_dev_list_mappings.c', | 44 'irt_dev_list_mappings.c', |
45 'irt_random.c', | 45 'irt_random.c', |
46 'irt_core_resource.c', | 46 'irt_core_resource.c', |
47 'irt_pnacl_translator.c', | 47 'irt_pnacl_translator_compile.c', |
| 48 'irt_pnacl_translator_link.c', |
48 ] | 49 ] |
49 | 50 |
50 # These are the objects and libraries that go into every IRT image. | 51 # These are the objects and libraries that go into every IRT image. |
51 irt_support_objs = [blob_env.ComponentObject(x) for x in irt_support_sources] | 52 irt_support_objs = [blob_env.ComponentObject(x) for x in irt_support_sources] |
52 | 53 |
53 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via | 54 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via |
54 # #includes of .c files. | 55 # #includes of .c files. |
55 irt_support_objs += [ | 56 irt_support_objs += [ |
56 blob_env.ComponentObject(module, | 57 blob_env.ComponentObject(module, |
57 '${MAIN_DIR}/src/untrusted/pthread/%s.c' % module) | 58 '${MAIN_DIR}/src/untrusted/pthread/%s.c' % module) |
(...skipping 19 matching lines...) Expand all Loading... |
77 | 78 |
78 irt_core_nexe = blob_env.ApplyTLSEdit( | 79 irt_core_nexe = blob_env.ApplyTLSEdit( |
79 'irt_core.nexe', | 80 'irt_core.nexe', |
80 irt_core_raw) | 81 irt_core_raw) |
81 | 82 |
82 irt_core_library = blob_env.Install('${STAGING_DIR}', irt_core_nexe) | 83 irt_core_library = blob_env.Install('${STAGING_DIR}', irt_core_nexe) |
83 blob_env.Alias('irt_core', irt_core_library) | 84 blob_env.Alias('irt_core', irt_core_library) |
84 blob_env.ComponentProgramAlias(irt_core_library) | 85 blob_env.ComponentProgramAlias(irt_core_library) |
85 | 86 |
86 env.SDKInstallBin('irt_core.nexe', irt_core_library) | 87 env.SDKInstallBin('irt_core.nexe', irt_core_library) |
OLD | NEW |