Aaron
This isn't officially supported, but you could probably hack it
together. (No promises, though.) Take a look at the
use_global_namespace target here, which brings in all of the things
needed by tests:
http://code.google.com/p/google-js-test/source/browse/gjstest/internal/js/targets.mk
Also browse gjstest/internal/cpp, which sets up magic functions needed
for the JS to call into the C++.