From 9821d0de8b140ce1cd1917260afad5f803b43ed1 Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Fri, 16 Apr 2010 22:40:37 +0000 Subject: New experimental Pepper device API. - makes device contexts opaque to the plugin - can get / set multiple attributes and flush with a single call (and underlying IPC message exchange) - currently works in parallel with old API - adapted pepper test plugin to use new API if use_new_npdevice_api=1 TEST=trybots, visual confirmation that pepper test plugin works with new API BUG=none Review URL: http://codereview.chromium.org/1529005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44840 0039d316-1c4b-4281-b951-d872f2087c98 --- build/common.gypi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'build/common.gypi') diff --git a/build/common.gypi b/build/common.gypi index 19de56c..ca1bc7f 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -229,6 +229,9 @@ # arm_neon==0). 'arm_fpu%': 'vfpv3', + # Enable new NPDevice API. + 'enable_new_npdevice_api%': 0, + 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { # This will set gcc_version to XY if you are running gcc X.Y.*. @@ -1239,6 +1242,13 @@ }, }, }], + ['enable_new_npdevice_api==1', { + 'target_defaults': { + 'defines': [ + 'ENABLE_NEW_NPDEVICE_API', + ], + }, + }], ], 'scons_settings': { 'sconsbuild_dir': '<(DEPTH)/sconsbuild', -- cgit v1.1