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

Unified Diff: src/untrusted/nacl/nacl.scons

Issue 686723003: Non-SFI mode: Implement nacl_irt_random only for nacl_helper_nonsfi. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 1 month 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
Index: src/untrusted/nacl/nacl.scons
diff --git a/src/untrusted/nacl/nacl.scons b/src/untrusted/nacl/nacl.scons
index a9ae58774dff39b8b1b0e1174c2366091c7aa628..e8a0082f09466b31b8ede3abce7f58a663a196b6 100644
--- a/src/untrusted/nacl/nacl.scons
+++ b/src/untrusted/nacl/nacl.scons
@@ -188,12 +188,13 @@ env.AddHeaderToSdk(['nacl_list_mappings.h'])
env.ComponentLibrary(
'libnacl_list_mappings_private', ['list_mappings_private.c'])
-env.ComponentLibrary(
- 'libnacl_random_private',
- [env.ComponentObject('irt_random',
- '${MAIN_DIR}/src/untrusted/irt/irt_random.c'),
- env.ComponentObject('irt_nameservice',
- '${MAIN_DIR}/src/untrusted/irt/irt_nameservice.c')])
+if not env.Bit('posix') and not env.Bit('nonsfi_nacl'):
+ env.ComponentLibrary(
+ 'libnacl_random_private',
+ [env.ComponentObject('irt_random',
+ '${MAIN_DIR}/src/untrusted/irt/irt_random.c'),
+ env.ComponentObject('irt_nameservice',
+ '${MAIN_DIR}/src/untrusted/irt/irt_nameservice.c')])
imc_syscalls = [

Powered by Google App Engine
This is Rietveld 408576698