Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: src/untrusted/nacl/nacl.scons

Issue 1065963002: Add utime implementation to libnacl (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/untrusted/nacl/nacl.gyp ('k') | src/untrusted/nacl/stubs/utime.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 'sigblock.c', 73 'sigblock.c',
74 'siggetmask.c', 74 'siggetmask.c',
75 'sigmask.c', 75 'sigmask.c',
76 'sigprocmask.c', 76 'sigprocmask.c',
77 'sigsetmask.c', 77 'sigsetmask.c',
78 'stat.c', 78 'stat.c',
79 'symlink.c', 79 'symlink.c',
80 'sysconf.c', 80 'sysconf.c',
81 'truncate.c', 81 'truncate.c',
82 'unlink.c', 82 'unlink.c',
83 'utime.c',
83 'utimes.c', 84 'utimes.c',
84 'write.c', 85 'write.c',
85 ] 86 ]
86 87
87 SRCS_NEWLIB_STUBS = [ 88 SRCS_NEWLIB_STUBS = [
88 'stubs/_execve.c', 89 'stubs/_execve.c',
89 'stubs/accept.c', 90 'stubs/accept.c',
90 'stubs/addmntent.c', 91 'stubs/addmntent.c',
91 'stubs/bind.c', 92 'stubs/bind.c',
92 'stubs/chown.c', 93 'stubs/chown.c',
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 'stubs/tcdrain.c', 197 'stubs/tcdrain.c',
197 'stubs/tcflow.c', 198 'stubs/tcflow.c',
198 'stubs/tcflush.c', 199 'stubs/tcflush.c',
199 'stubs/tcgetattr.c', 200 'stubs/tcgetattr.c',
200 'stubs/tcsendbreak.c', 201 'stubs/tcsendbreak.c',
201 'stubs/tcsetattr.c', 202 'stubs/tcsetattr.c',
202 'stubs/times.c', 203 'stubs/times.c',
203 'stubs/ttyname.c', 204 'stubs/ttyname.c',
204 'stubs/ttyname_r.c', 205 'stubs/ttyname_r.c',
205 'stubs/umask.c', 206 'stubs/umask.c',
206 'stubs/utime.c',
207 'stubs/vfork.c', 207 'stubs/vfork.c',
208 'stubs/wait.c', 208 'stubs/wait.c',
209 'stubs/waitpid.c', 209 'stubs/waitpid.c',
210 ] 210 ]
211 211
212 SRCS_NEWLIB_MISC = [ 212 SRCS_NEWLIB_MISC = [
213 'malloc.c', # malloc wrapper 213 'malloc.c', # malloc wrapper
214 'stacktrace.c', # stack tracing for use with "-finstrument" 214 'stacktrace.c', # stack tracing for use with "-finstrument"
215 'start.c', # contains _start, preventing us from making this a .so 215 'start.c', # contains _start, preventing us from making this a .so
216 'nacl_add_tp.c', 216 'nacl_add_tp.c',
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 # single .o file avoids this scenario. 309 # single .o file avoids this scenario.
310 private_combine = [env.ComponentObject(module, '%s.c' % module) 310 private_combine = [env.ComponentObject(module, '%s.c' % module)
311 for module in ['gc_hooks_private', 311 for module in ['gc_hooks_private',
312 'sys_private']] 312 'sys_private']]
313 sys_private.append(env.Command('combined_private${OBJSUFFIX}', 313 sys_private.append(env.Command('combined_private${OBJSUFFIX}',
314 private_combine, 314 private_combine,
315 '${LD} -relocatable -o ${TARGET} ${SOURCES}')) 315 '${LD} -relocatable -o ${TARGET} ${SOURCES}'))
316 316
317 if not env.Bit('nonsfi_nacl'): 317 if not env.Bit('nonsfi_nacl'):
318 env.ComponentLibrary('libnacl_sys_private', sys_private) 318 env.ComponentLibrary('libnacl_sys_private', sys_private)
OLDNEW
« no previous file with comments | « src/untrusted/nacl/nacl.gyp ('k') | src/untrusted/nacl/stubs/utime.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698