summaryrefslogtreecommitdiffstats
path: root/components/nacl/loader/DEPS
diff options
context:
space:
mode:
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 15:05:25 +0000
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 15:05:25 +0000
commit2648d5f9c0fd79753c607777902fc4a7752bd35d (patch)
tree54f1d3334cc79b3804b19ec1c188d3d98ef9ece3 /components/nacl/loader/DEPS
parent296e8b255193d1f48567bbc6bc0e7c9b80bfa5f3 (diff)
downloadchromium_src-2648d5f9c0fd79753c607777902fc4a7752bd35d.zip
chromium_src-2648d5f9c0fd79753c607777902fc4a7752bd35d.tar.gz
chromium_src-2648d5f9c0fd79753c607777902fc4a7752bd35d.tar.bz2
Connect PPAPI IPC channels for non-SFI mode.
By this CL, plugin starts to talk with hosts via IPC. For that purpose, ppapi_proxy is linked to nacl_helper (temporarily). This increase the size of nacl_helper, but when we split nacl_helper for non-sfi mode, it'll be resolved. In SFI mode, this CL shouldn't affect the concept of IPC channel connection between the plugin and the hosts. We still use NaClIPCAdapter to wrap the IPC channel, and NaClDesc for the plugin-side IPC file descriptors. In non-SFI mode, we neither intercept nor rewrite the message using NaClIPCAdapter, and the channels are connected between the plugin and the hosts directly. Note: plugin_main_nacl.cc is renamed to plugin_main.cc, because files with _nacl.cc suffix are automatically excluded from the sources of non-untrusted libs. This increases the size of nacl_helper (temporarily) intentionally. GYP_DEFINES="target_arch=ia32 remove_webcore_debug_symbols=1 linux_strip_symbols=1" GYP_GENERATORS="ninja" gclient runhooks Before: text data bss dec hex filename 1469882 15576 108644 1594102 1852f6 out/Release/nacl_helper After: text data bss dec hex filename 5641443 124636 126980 5893059 59ebc3 out/Release/nacl_helper GYP_DEFINES="target_arch=x64 remove_webcore_debug_symbols=1 linux_strip_symbols=1" GYP_GENERATORS="ninja" gclient runhooks Before: text data bss dec hex filename 2063530 27910 213872 2305312 232d20 out/Release/nacl_helper After: text data bss dec hex filename 6304467 234424 247984 6786875 678f3b out/Release/nacl_helper BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734 TEST=Ran trybot. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252503 Review URL: https://codereview.chromium.org/140573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/nacl/loader/DEPS')
-rw-r--r--components/nacl/loader/DEPS3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/nacl/loader/DEPS b/components/nacl/loader/DEPS
index 8345fef..6167777 100644
--- a/components/nacl/loader/DEPS
+++ b/components/nacl/loader/DEPS
@@ -22,6 +22,9 @@ include_rules = [
"+ppapi/proxy/nacl_message_scanner.h",
"+ppapi/proxy/serialized_handle.h",
+ # For setting FDs in non-SFI mode.
+ "+ppapi/proxy/plugin_main_irt.h",
+
# For sending PpapiHostMsg_ChannelCreated in nacl_ipc_adapter.cc:
"+ppapi/proxy/ppapi_messages.h"
]