Add a test for sel_main_chrome.c

The existing sel_main_chrome_test.c only checked that
sel_main_chrome.c can be linked successfully, and did not try to run
it.  Since I broke sel_main_chrome.c in r8988 (fixed in r8997), it's
time to improve the test to catch this kind of mistake.

We extend the test to use sel_main_chrome.c to run hello_world.nexe
and check its output.

Change library_deps.py to declare some of the "sel" library's
dependencies.

Fix nacl_valgrind_hooks.h to be #includable from C++.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=2758
TEST=run_sel_main_chrome_test

Review URL: https://chromiumcodereview.appspot.com/10604003

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client/site_scons@9032 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
1 file changed
tree: 279464cbd162a033bedd8e98555d5a2ffd1ccc15
  1. site_tools/
  2. gyp_extract.py
  3. site_init.py
  4. usage_log.py