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

Unified Diff: src/minsfi/trusted/build.scons

Issue 539683002: MinSFI: Add loader (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixed nits 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/include/minsfi_priv.h ('k') | src/minsfi/trusted/entry.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/minsfi/trusted/build.scons
diff --git a/src/untrusted/irt/nacl_headers.scons b/src/minsfi/trusted/build.scons
similarity index 55%
copy from src/untrusted/irt/nacl_headers.scons
copy to src/minsfi/trusted/build.scons
index 3fcd78795d12ff77bdf3b4b2657b8fdf132d0c11..054d13a38defe20b438861dac451e878df954b09 100644
--- a/src/untrusted/irt/nacl_headers.scons
+++ b/src/minsfi/trusted/build.scons
@@ -5,6 +5,11 @@
Import('env')
-# Doing the following in irt/nacl.scons does not work because it would
-# not get applied to Scons's nacl_env.
-env.AddHeaderToSdk(['irt.h', 'irt_dev.h'], subdir=None)
+if not env.Bit('posix') or not env.Bit('minsfi'):
+ Return()
+
+env.ComponentLibrary('minsfi_runtime', [
+ 'entry.c',
+ 'loader.c',
+ 'state.c',
+ ])
« no previous file with comments | « src/include/minsfi_priv.h ('k') | src/minsfi/trusted/entry.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698