DescriptionSplit the PNaCl IRT shim into 3 pieces, and include one piece into IRT.
(*) A "for irt" library, that will get linked into the IRT.
That library just has the auto-generated pnacl_shim.c file.
Also modify ppapi_proxy to include a "irt_shim_ppapi.c",
which makes use of the pnacl_shim.c file to define a private
hook, parallel to the hook provided by irt_ppapi.c.
(*) A "for the browser" library, that the browser-tester
and the PNaCl packager will include for PNaCl-in-the-browser.
This is still called "libpnacl_irt_shim.a" so that we don't
need to change the in-browser linker's commandline. However,
it will be placed in a different directory so that the
Chrome PNaCl packager can pick it up separately from
the AOT library. This for-browser library uses the new hook.
(*) A "AOT" library, that will go into the SDK for offline
pexe -> nexe translation. Still called "libpnacl_irt_shim.a"
as well, confusingly enough, so that we don't need to change
the pnacl-nativeld.py commandlines. Placed in a different
directory from the for-browser library. Does not use the
new hook, so that it only depends on stable interfaces.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3783
R=binji@chromium.org, dmichael@chromium.org, mseaborn@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255807
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix headers #
Total comments: 2
Patch Set 3 : add to irt_ppapi.c #Patch Set 4 : rebase #Patch Set 5 : rebase #Patch Set 6 : jigger stuff #Patch Set 7 : fix up mips #
Total comments: 24
Patch Set 8 : review #
Total comments: 4
Patch Set 9 : cleanups and rebase #
Total comments: 2
Patch Set 10 : rebase #Patch Set 11 : rebase #Messages
Total messages: 28 (0 generated)
|