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

Side by Side Diff: src/shared/platform/build.scons

Issue 1985153002: Delete shared/platform/osx/strnlen_osx.c. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 7 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/shared/platform/BUILD.gn ('k') | src/shared/platform/osx/strnlen_osx.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 # 2 #
3 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 3 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 7
8 import os 8 import os
9 import platform 9 import platform
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 'linux/nacl_semaphore.c', 61 'linux/nacl_semaphore.c',
62 ] 62 ]
63 kernel_version = map(int, platform.release().split('.', 2)[:2]) 63 kernel_version = map(int, platform.release().split('.', 2)[:2])
64 if kernel_version < [3, 0]: 64 if kernel_version < [3, 0]:
65 cputime_test_enabled = False 65 cputime_test_enabled = False
66 elif env.Bit('mac'): 66 elif env.Bit('mac'):
67 platform_inputs += [ 67 platform_inputs += [
68 'osx/nacl_clock.c', 68 'osx/nacl_clock.c',
69 'osx/nacl_host_dir.c', 69 'osx/nacl_host_dir.c',
70 'osx/nacl_semaphore.c', 70 'osx/nacl_semaphore.c',
71 'osx/strnlen_osx.c',
72 ] 71 ]
73 time_slop_args += [ '-s', '10' ] 72 time_slop_args += [ '-s', '10' ]
74 73
75 if env.Bit('posix'): 74 if env.Bit('posix'):
76 platform_inputs += [ 75 platform_inputs += [
77 'posix/aligned_malloc.c', 76 'posix/aligned_malloc.c',
78 'posix/condition_variable.c', 77 'posix/condition_variable.c',
79 'posix/lock.c', 78 'posix/lock.c',
80 'posix/nacl_error.c', 79 'posix/nacl_error.c',
81 'posix/nacl_exit.c', 80 'posix/nacl_exit.c',
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 env.MakeTempDir(prefix='tmp_platform', dir=d)], 255 env.MakeTempDir(prefix='tmp_platform', dir=d)],
257 size=test_size) 256 size=test_size)
258 257
259 env.AddNodeToTestSuite(node, 258 env.AddNodeToTestSuite(node,
260 [test_size + '_tests'], 259 [test_size + '_tests'],
261 'run_nacl_host_desc_big_file_test', 260 'run_nacl_host_desc_big_file_test',
262 is_broken=env.UsingEmulator()) 261 is_broken=env.UsingEmulator())
263 # Qemu appears to not honor big file support and fails the lseek w/ EINVAL 262 # Qemu appears to not honor big file support and fails the lseek w/ EINVAL
264 263
265 env.EnsureRequiredBuildWarnings() 264 env.EnsureRequiredBuildWarnings()
OLDNEW
« no previous file with comments | « src/shared/platform/BUILD.gn ('k') | src/shared/platform/osx/strnlen_osx.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698