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

Issue 10416014: Route the buiding of libnosys, libpthread through NaClSdkLibrary. (Closed)

Created:
8 years, 7 months ago by Robert Muth (chromium)
Modified:
8 years, 7 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Route the buiding of libnosys, libpthread through NaClSdkLibrary. This is more systematic and allows us to build those libraries in a shared form for pnacl. Added a comment to src/untrusted/irt_stub/nacl.scons explaining why we do not follow the pattern there. Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=8687

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M SConstruct View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/untrusted/irt_stub/nacl.scons View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/untrusted/nosys/nacl.scons View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M src/untrusted/pthread/nacl.scons View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Robert Muth (chromium)
PTAL
8 years, 7 months ago (2012-05-21 20:29:46 UTC) #1
Roland McGrath
https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons File src/untrusted/irt_stub/nacl.scons (right): https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons#newcode8 src/untrusted/irt_stub/nacl.scons:8: libppapi_stub = env.NaClSdkLibrary( It was an explicit choice not ...
8 years, 7 months ago (2012-05-21 20:35:45 UTC) #2
Robert Muth (chromium)
https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons File src/untrusted/irt_stub/nacl.scons (right): https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons#newcode8 src/untrusted/irt_stub/nacl.scons:8: libppapi_stub = env.NaClSdkLibrary( It wont be built unless env.Bit('pnacl_shared_newlib') ...
8 years, 7 months ago (2012-05-21 21:33:27 UTC) #3
Roland McGrath
https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons File src/untrusted/irt_stub/nacl.scons (right): https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons#newcode8 src/untrusted/irt_stub/nacl.scons:8: libppapi_stub = env.NaClSdkLibrary( On 2012/05/21 21:33:27, Robert Muth (chromium) ...
8 years, 7 months ago (2012-05-21 22:08:26 UTC) #4
robertm
https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons File src/untrusted/irt_stub/nacl.scons (right): https://chromiumcodereview.appspot.com/10416014/diff/4002/src/untrusted/irt_stub/nacl.scons#newcode8 src/untrusted/irt_stub/nacl.scons:8: libppapi_stub = env.NaClSdkLibrary( On 2012/05/21 22:08:26, Roland McGrath wrote: ...
8 years, 7 months ago (2012-05-22 13:55:16 UTC) #5
jvoung - send to chromium...
https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct#newcode3421 SConstruct:3421: if kwargs['no_shared_lib']: Can't you still add a arg with ...
8 years, 7 months ago (2012-05-22 20:49:40 UTC) #6
Robert Muth (chromium)
https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct#newcode3421 SConstruct:3421: if kwargs['no_shared_lib']: On 2012/05/22 20:49:40, jvoung wrote: > Can't ...
8 years, 7 months ago (2012-05-22 21:16:36 UTC) #7
jvoung - send to chromium...
lgtm https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/10416014/diff/14006/SConstruct#newcode3421 SConstruct:3421: if kwargs['no_shared_lib']: On 2012/05/22 21:16:36, Robert Muth (chromium) ...
8 years, 7 months ago (2012-05-22 23:22:12 UTC) #8
robertm
8 years, 7 months ago (2012-05-22 23:26:37 UTC) #9
https://chromiumcodereview.appspot.com/10416014/diff/7007/src/untrusted/nosys...
File src/untrusted/nosys/nacl.scons (right):

https://chromiumcodereview.appspot.com/10416014/diff/7007/src/untrusted/nosys...
src/untrusted/nosys/nacl.scons:93: no_shared_lib=not
env.Bit('pnacl_shared_newlib'))
On 2012/05/22 23:22:13, jvoung wrote:
> nit: A little bit odd having negation on both sides.
> no_... = not ...

yeah I do not like it either but make the flag positive, e.g. do_build_shared
does not really work unless I change all instances of NaClSdkLibrary()

Powered by Google App Engine
This is Rietveld 408576698