diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 20:28:18 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 20:28:18 +0000 |
commit | 246fc49935cd37deba43624861f236acc016aa48 (patch) | |
tree | 8dbc89fc8304cfa0409dc83ccb8b94b01d3def8f /ppapi/ppapi_ipc_untrusted.gyp | |
parent | 906960ba1d7a27bb458fca480a20aa33c61ebdb6 (diff) | |
download | chromium_src-246fc49935cd37deba43624861f236acc016aa48.zip chromium_src-246fc49935cd37deba43624861f236acc016aa48.tar.gz chromium_src-246fc49935cd37deba43624861f236acc016aa48.tar.bz2 |
PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally
This does a couple of things:
- It defines a new wrapper for passing any kind of handle through the PPAPI proxy (SerializedHandle).
- It updates nacl_ipc_adapter to have a more general way to pick apart messages based on their static types (which include the types of all the params).
- It adds support for PPB_Graphics2D and PPB_Graphics3D to the NaCl IPC proxy (e.g., NaCl SDK examples pi_generator and tumbler work in the new proxy with this patch).
The downside is it requires pulling parts of ppapi/shared_impl and ppapi/proxy in to the NaCl Win64 build.
BUG=116317
TEST=
Review URL: https://chromiumcodereview.appspot.com/10828023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_ipc_untrusted.gyp')
-rw-r--r-- | ppapi/ppapi_ipc_untrusted.gyp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ppapi/ppapi_ipc_untrusted.gyp b/ppapi/ppapi_ipc_untrusted.gyp new file mode 100644 index 0000000..ec6fdf9 --- /dev/null +++ b/ppapi/ppapi_ipc_untrusted.gyp @@ -0,0 +1,44 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../native_client/build/untrusted.gypi', + 'ppapi_ipc.gypi', + ], + 'conditions': [ + ['disable_nacl==0 and disable_nacl_untrusted==0', { + 'targets': [ + { + 'target_name': 'ppapi_ipc_untrusted', + 'type': 'none', + 'variables': { + 'ppapi_ipc_target': 1, + 'nacl_win64_target': 0, + 'nacl_untrusted_build': 1, + 'nlib_target': 'libppapi_ipc_untrusted.a', + 'build_glibc': 0, + 'build_newlib': 1, + }, + 'defines': [ + 'NACL_PPAPI_IPC_PROXY', + ], + 'include_dirs': [ + '..', + ], + 'dependencies': [ + '../native_client/tools.gyp:prep_toolchain', + '../base/base_untrusted.gyp:base_untrusted', + '../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted', + '../ipc/ipc_untrusted.gyp:ipc_untrusted', + '../ppapi/ppapi_shared_untrusted.gyp:ppapi_shared_untrusted', + ], + }, + ], + }], + ], +} |