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

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

Issue 25147002: nacl_init Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 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/init/kernel_service.cc ('k') | src/untrusted/init/name_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/init/nacl.scons
diff --git a/src/untrusted/init/nacl.scons b/src/untrusted/init/nacl.scons
new file mode 100644
index 0000000000000000000000000000000000000000..b5cf4a1d64bb41e1d9674c385c23dc3c52c40c8f
--- /dev/null
+++ b/src/untrusted/init/nacl.scons
@@ -0,0 +1,27 @@
+# -*- python -*-
+# Copyright (c) 2013 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+Import('env')
+
+# Only for newlib for now, since the subprogram's library dependencies
+# and ld.so-as-main would complicate the reverse channel emulation
+# quite a bit. Once we have a better handle on how to merge manifests
+# and we need to test dynamic loading by the subprocess, we can
+# revisit this.
+if env.Bit('nacl_glibc'):
+ Return()
+
+env.ComponentLibrary('process_lib',
+ [ 'process_lib.cc', ])
+
+init_nexe = env.ComponentProgram('init',
+ 'init.cc',
+ EXTRA_LIBS=['process_lib',
+ 'srpc',
+ 'platform',
+ 'imc',
+ 'imc_syscalls',
+ '${PTHREAD_LIBS}',
+ '${NONIRT_LIBS}'])
« no previous file with comments | « src/untrusted/init/kernel_service.cc ('k') | src/untrusted/init/name_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698