OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'irt_sources': [ | 10 'irt_sources': [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 'irt_mutex.c', | 27 'irt_mutex.c', |
28 'irt_cond.c', | 28 'irt_cond.c', |
29 'irt_sem.c', | 29 'irt_sem.c', |
30 'irt_tls.c', | 30 'irt_tls.c', |
31 'irt_blockhook.c', | 31 'irt_blockhook.c', |
32 'irt_clock.c', | 32 'irt_clock.c', |
33 'irt_dev_getpid.c', | 33 'irt_dev_getpid.c', |
34 'irt_exception_handling.c', | 34 'irt_exception_handling.c', |
35 'irt_dev_list_mappings.c', | 35 'irt_dev_list_mappings.c', |
36 'irt_random.c', | 36 'irt_random.c', |
| 37 'irt_pnacl_translator.c', |
37 # support_srcs | 38 # support_srcs |
38 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via | 39 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via |
39 # #includes of .c files. | 40 # #includes of .c files. |
40 '../pthread/nc_mutex.c', | 41 '../pthread/nc_mutex.c', |
41 '../pthread/nc_condvar.c', | 42 '../pthread/nc_condvar.c', |
42 '../nacl/sys_private.c', | 43 '../nacl/sys_private.c', |
43 '../valgrind/dynamic_annotations.c', | 44 '../valgrind/dynamic_annotations.c', |
44 ], | 45 ], |
45 'irt_nonbrowser': [ | 46 'irt_nonbrowser': [ |
46 'irt_core_resource.c', | 47 'irt_core_resource.c', |
47 'irt_entry_core.c', | 48 'irt_entry_core.c', |
48 ], | 49 ], |
49 }, | 50 }, |
50 'targets': [ | 51 'targets': [ |
51 { | 52 { |
52 'target_name': 'irt_core_nexe', | 53 'target_name': 'irt_core_nexe', |
53 'type': 'none', | 54 'type': 'none', |
54 'variables': { | 55 'variables': { |
55 'nexe_target': 'irt_core', | 56 'nexe_target': 'irt_core', |
56 'build_glibc': 0, | 57 'build_glibc': 0, |
57 'build_newlib': 0, | 58 'build_newlib': 0, |
58 'build_irt': 1, | 59 'build_irt': 1, |
59 }, | 60 }, |
60 'sources': ['<@(irt_sources)', '<@(irt_nonbrowser)'], | 61 'sources': ['<@(irt_sources)', '<@(irt_nonbrowser)'], |
61 'link_flags': [ | 62 'link_flags': [ |
| 63 '-lsrpc', |
| 64 '-limc_syscalls', |
62 '-lplatform', | 65 '-lplatform', |
63 '-lgio', | 66 '-lgio', |
64 '-lm', | 67 '-lm', |
65 ], | 68 ], |
66 'dependencies': [ | 69 'dependencies': [ |
67 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 70 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
68 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 71 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
| 72 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
69 '<(DEPTH)/native_client/src/tools/tls_edit/tls_edit.gyp:tls_edit#host', | 73 '<(DEPTH)/native_client/src/tools/tls_edit/tls_edit.gyp:tls_edit#host', |
| 74 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
70 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', | 75 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', |
71 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 76 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
72 ], | 77 ], |
73 }, | 78 }, |
74 { | 79 { |
75 'target_name': 'irt_browser_lib', | 80 'target_name': 'irt_browser_lib', |
76 'type': 'none', | 81 'type': 'none', |
77 'variables': { | 82 'variables': { |
78 'nlib_target': 'libirt_browser.a', | 83 'nlib_target': 'libirt_browser.a', |
79 'build_glibc': 0, | 84 'build_glibc': 0, |
80 'build_newlib': 1, | 85 'build_newlib': 1, |
81 'build_irt': 1, | 86 'build_irt': 1, |
82 }, | 87 }, |
83 'sources': ['<@(irt_sources)'], | 88 'sources': ['<@(irt_sources)'], |
84 'dependencies': [ | 89 'dependencies': [ |
85 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 90 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
86 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', | 91 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', |
87 ], | 92 ], |
88 }, | 93 }, |
89 ], | 94 ], |
90 } | 95 } |
OLD | NEW |