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

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, 2 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
« src/nonsfi/irt/irt_random.c ('K') | « src/nonsfi/loader/build.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'):
Mark Seaborn 2014/11/04 01:19:52 Should just be "if not env.Bit('nonsfi_nacl')" to
hidehiko 2014/11/04 11:16:59 This is the condition for the nonsfi nacl_random_p
Mark Seaborn 2014/11/05 19:01:15 I still think you should remove the env.Bit('posix
hidehiko 2014/11/06 13:22:24 I see. Thank you for clarification. Removed "posix
+ 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 = [
« src/nonsfi/irt/irt_random.c ('K') | « src/nonsfi/loader/build.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698