diff options
author | teravest <teravest@chromium.org> | 2014-12-29 14:52:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-29 22:53:25 +0000 |
commit | 8e2d2b71e51c0022a2ad7b3535122e7ca01ac6db (patch) | |
tree | c5ec556fe832d53df109e85008d2fb5ecb16e63f /chrome/chrome_tests.gypi | |
parent | 825de713b336d895396c5f9b84ed6a85f2e29f7b (diff) | |
download | chromium_src-8e2d2b71e51c0022a2ad7b3535122e7ca01ac6db.zip chromium_src-8e2d2b71e51c0022a2ad7b3535122e7ca01ac6db.tar.gz chromium_src-8e2d2b71e51c0022a2ad7b3535122e7ca01ac6db.tar.bz2 |
Pepper: Add a Pepper+NaCl+Mojo test.
This change injects a NaClDesc into an FD available to the untrusted
plugin for making Mojo calls. This is the foundation for adding support
for Mojo to Pepper plugins.
It's important to note, from a security perspective, that this exposes
implementations of the functions in mojo/public/c/system that run
outside the NaCl sandbox to plugins.
I have a working prototype change where a Pepper plugin makes calls to a
Mojo service implementated in the browser which uses the logic here.
However, this seems like the best place to get started checking things
in.
This interface doesn't go through the IRT for performing Mojo calls;
that will be added in a future change.
This test works on Linux, Mac, and x86-32 Windows. x86-64 Windows
support will be added when http://crbug.com/440012 is resolved.
BUG=414804
Review URL: https://codereview.chromium.org/701273002
Cr-Commit-Position: refs/heads/master@{#309722}
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index eebc53f..9c6a7c90 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -1990,6 +1990,7 @@ '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_background_keepalive', '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_media_galleries', '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_packaged_app', + '../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo', ], 'conditions': [ ['chromeos==1', { |