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

Unified Diff: tests/random/nacl.scons

Issue 537543003: Add a get_random_bytes() syscall to replace the SRPC-based implementation (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix glibc tests Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/nacl/syscall_bindings_trampoline.h ('k') | tests/random/random_test.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/random/nacl.scons
diff --git a/tests/random/nacl.scons b/tests/random/nacl.scons
index d40298fcc865f3e53e04ef0cdf5602bf293411c1..f7f31aaaedf13b4fd6e200646cbe327fbc82a252 100644
--- a/tests/random/nacl.scons
+++ b/tests/random/nacl.scons
@@ -5,19 +5,13 @@
Import('env')
-# When testing the private-only nacl_secure_random(), we must link in
-# a lot of dependencies and initialize libsrpc manually.
-# TODO(mseaborn): Clean this up by removing irt_random.c's use of SRPC.
-env.Append(CPPDEFINES=[['TESTS_USE_IRT',
- str(int(env.Bit('tests_use_irt')))]])
libs = []
if not env.Bit('tests_use_irt'):
if env.Bit('nacl_glibc'):
# libnacl_random_private depends on functions in irt_blockhook.c,
# which we don't have when building against nacl-glibc.
Return()
- libs += ['libnacl_random_private', '${PTHREAD_LIBS}', 'srpc',
- 'platform', 'imc_syscalls']
+ libs += ['libnacl_random_private']
nexe = env.ComponentProgram(
env.ProgramNameForNmf('random_test'), 'random_test.c',
« no previous file with comments | « src/untrusted/nacl/syscall_bindings_trampoline.h ('k') | tests/random/random_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698