| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'sources_for_standard_interfaces': [ | 10 'sources_for_standard_interfaces': [ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 'sbrk.c', | 41 'sbrk.c', |
| 42 'sched_yield.c', | 42 'sched_yield.c', |
| 43 'stacktrace.c', | 43 'stacktrace.c', |
| 44 'start.c', | 44 'start.c', |
| 45 'stat.c', | 45 'stat.c', |
| 46 'sysconf.c', | 46 'sysconf.c', |
| 47 'tls.c', | 47 'tls.c', |
| 48 'unlink.c', | 48 'unlink.c', |
| 49 'write.c', | 49 'write.c', |
| 50 ], | 50 ], |
| 51 'sources_for_stubs': [ |
| 52 'stubs/access-stub.c', |
| 53 'stubs/chmod-stub.c', |
| 54 'stubs/chown-stub.c', |
| 55 'stubs/endpwent-stub.c', |
| 56 'stubs/environ-stub.c', |
| 57 'stubs/execle-stub.c', |
| 58 'stubs/execvp-stub.c', |
| 59 'stubs/execl-stub.c', |
| 60 'stubs/execv-stub.c', |
| 61 'stubs/execlp-stub.c', |
| 62 'stubs/execve-stub.c', |
| 63 'stubs/_execve-stub.c', |
| 64 'stubs/fcntl-stub.c', |
| 65 'stubs/fchdir-stub.c', |
| 66 'stubs/fchmod-stub.c', |
| 67 'stubs/fchown-stub.c', |
| 68 'stubs/fdatasync-stub.c', |
| 69 'stubs/fork-stub.c', |
| 70 'stubs/fsync-stub.c', |
| 71 'stubs/ftruncate-stub.c', |
| 72 'stubs/get_current_dir_name-stub.c', |
| 73 'stubs/getegid-stub.c', |
| 74 'stubs/geteuid-stub.c', |
| 75 'stubs/getgid-stub.c', |
| 76 'stubs/getlogin-stub.c', |
| 77 'stubs/getrusage-stub.c', |
| 78 'stubs/getppid-stub.c', |
| 79 'stubs/getpwent-stub.c', |
| 80 'stubs/getpwnam-stub.c', |
| 81 'stubs/getpwnam_r-stub.c', |
| 82 'stubs/getpwuid-stub.c', |
| 83 'stubs/getpwuid_r-stub.c', |
| 84 'stubs/getuid-stub.c', |
| 85 'stubs/getwd-stub.c', |
| 86 'stubs/ioctl-stub.c', |
| 87 'stubs/isatty-stub.c', |
| 88 'stubs/issetugid-stub.c', |
| 89 'stubs/kill-stub.c', |
| 90 'stubs/lchown-stub.c', |
| 91 'stubs/link-stub.c', |
| 92 'stubs/llseek-stub.c', |
| 93 'stubs/lstat-stub.c', |
| 94 'stubs/pclose-stub.c', |
| 95 'stubs/pipe-stub.c', |
| 96 'stubs/popen-stub.c', |
| 97 'stubs/pselect-stub.c', |
| 98 'stubs/raise-stub.c', |
| 99 'stubs/readlink-stub.c', |
| 100 'stubs/remove-stub.c', |
| 101 'stubs/rename-stub.c', |
| 102 'stubs/select-stub.c', |
| 103 'stubs/setegid-stub.c', |
| 104 'stubs/seteuid-stub.c', |
| 105 'stubs/setgid-stub.c', |
| 106 'stubs/setpwent-stub.c', |
| 107 'stubs/settimeofday-stub.c', |
| 108 'stubs/setuid-stub.c', |
| 109 'stubs/signal-stub.c', |
| 110 'stubs/sigprocmask-stub.c', |
| 111 'stubs/symlink-stub.c', |
| 112 'stubs/system-stub.c', |
| 113 'stubs/times-stub.c', |
| 114 'stubs/tmpfile-stub.c', |
| 115 'stubs/truncate-stub.c', |
| 116 'stubs/ttyname-stub.c', |
| 117 'stubs/ttyname_r-stub.c', |
| 118 'stubs/umask-stub.c', |
| 119 'stubs/utime-stub.c', |
| 120 'stubs/utimes-stub.c', |
| 121 'stubs/vfork-stub.c', |
| 122 'stubs/wait-stub.c', |
| 123 'stubs/waitpid-stub.c', |
| 124 ], |
| 51 'sources_for_nacl_extensions': [ | 125 'sources_for_nacl_extensions': [ |
| 52 'gc_hooks.c', | 126 'gc_hooks.c', |
| 53 'nacl_irt.c', | 127 'nacl_irt.c', |
| 54 'nacl_tls_get.c', | 128 'nacl_tls_get.c', |
| 55 'nacl_tls_init.c', | 129 'nacl_tls_init.c', |
| 56 ], | 130 ], |
| 57 'imc_syscalls': [ | 131 'imc_syscalls': [ |
| 58 'imc_accept.c', | 132 'imc_accept.c', |
| 59 'imc_connect.c', | 133 'imc_connect.c', |
| 60 'imc_makeboundsock.c', | 134 'imc_makeboundsock.c', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 'variables': { | 176 'variables': { |
| 103 'nlib_target': 'libnacl.a', | 177 'nlib_target': 'libnacl.a', |
| 104 'build_glibc': 0, | 178 'build_glibc': 0, |
| 105 'build_newlib': 1, | 179 'build_newlib': 1, |
| 106 'build_irt': 1, | 180 'build_irt': 1, |
| 107 'build_pnacl_newlib': 1, | 181 'build_pnacl_newlib': 1, |
| 108 }, | 182 }, |
| 109 'sources': [ | 183 'sources': [ |
| 110 '<@(sources_for_nacl_extensions)', | 184 '<@(sources_for_nacl_extensions)', |
| 111 '<@(sources_for_standard_interfaces)', | 185 '<@(sources_for_standard_interfaces)', |
| 186 '<@(sources_for_stubs)', |
| 112 ], | 187 ], |
| 113 'conditions': [ | 188 'conditions': [ |
| 114 ['target_arch=="arm"', { | 189 ['target_arch=="arm"', { |
| 115 'variables': { | 190 'variables': { |
| 116 'native_sources': [ | 191 'native_sources': [ |
| 117 'aeabi_read_tp.S' | 192 'aeabi_read_tp.S' |
| 118 ] | 193 ] |
| 119 } | 194 } |
| 120 }], | 195 }], |
| 121 ], | 196 ], |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 'build_newlib': 1, | 294 'build_newlib': 1, |
| 220 'build_irt': 1, | 295 'build_irt': 1, |
| 221 }, | 296 }, |
| 222 'sources': ['<@(imc_syscalls)'], | 297 'sources': ['<@(imc_syscalls)'], |
| 223 'dependencies': [ | 298 'dependencies': [ |
| 224 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 299 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 225 ], | 300 ], |
| 226 }, | 301 }, |
| 227 ], | 302 ], |
| 228 } | 303 } |
| OLD | NEW |