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

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

Issue 10416014: Route the buiding of libnosys, libpthread through NaClSdkLibrary. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 7 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/irt_stub/nacl.scons ('k') | src/untrusted/pthread/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/nacl.scons
===================================================================
--- src/untrusted/nosys/nacl.scons (revision 8686)
+++ src/untrusted/nosys/nacl.scons (working copy)
@@ -1,5 +1,5 @@
# -*- python -*-
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Copyright (c) 2012 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.
@@ -86,5 +86,9 @@
'waitpid.c',
]
-libnosys = env.ComponentLibrary('libnosys', sources)
+libnosys = env.NaClSdkLibrary(
+ 'libnosys',
+ sources,
+ # only enable shared versions of this library in the shared newlib case
+ no_shared_lib=not env.Bit('pnacl_shared_newlib'))
env.AddLibraryToSdk(libnosys)
« no previous file with comments | « src/untrusted/irt_stub/nacl.scons ('k') | src/untrusted/pthread/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698