NaCl cleanup: Stop linking the old, glibc-based Non-SFI runtime into nacl_helper
commit5a73fdf2b78c60442dfdc6d90472ca93f4346578
authormseaborn <mseaborn@chromium.org>
Mon, 27 Jul 2015 20:40:15 +0000 (27 13:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Jul 2015 20:40:42 +0000 (27 20:40 +0000)
tree46c3b705bf8e60082a857102ab6b626ca2843a6c
parent56e2b8200e628e7b6ced4732b7a6f83e8af97acb
NaCl cleanup: Stop linking the old, glibc-based Non-SFI runtime into nacl_helper

This reduces the binary size a lot:

  Before:
    $ size out/Release/nacl_helper
       text    data     bss     dec     hex filename
    6667042  234376  267544 7168962  6d63c2 out/Release/nacl_helper

  After:
    $ size out/Release/nacl_helper
       text    data     bss     dec     hex filename
    1986678   23233  224176 2234087  2216e7 out/Release/nacl_helper

I've done the smallest change necessary for reducing the binary size,
by removing the use of NonSfiListener from nacl_helper_linux.cc.
Further cleanup should be done after this.

This requires removing all of the "TransitionalNonSfi" tests that were
testing the old glibc-based runtime.

BUG=513041
TEST=browser_tests

Review URL: https://codereview.chromium.org/1250043002

Cr-Commit-Position: refs/heads/master@{#340551}
chrome/test/nacl/nacl_browsertest.cc
chrome/test/nacl/nacl_browsertest_util.cc
chrome/test/nacl/nacl_browsertest_util.h
chrome/test/ppapi/ppapi_browsertest.cc
chrome/test/ppapi/ppapi_test.cc
chrome/test/ppapi/ppapi_test.h
components/nacl/loader/nacl_helper_linux.cc