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

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: Rebase 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 37aa9b598df5c452d5e3c387ce95f5acff15c8bf..d61c5a796efb087ee001ef34915e7418732f78b8 100644
--- a/src/untrusted/nacl/nacl.scons
+++ b/src/untrusted/nacl/nacl.scons
@@ -267,12 +267,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('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