summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-16 22:40:37 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-16 22:40:37 +0000
commit9821d0de8b140ce1cd1917260afad5f803b43ed1 (patch)
tree748eb7558cd58a8591c1ba92b30a4ddf9605580d /build
parent8549f5e3dd6e920fd7c72a44ba3d89b15cc03e41 (diff)
downloadchromium_src-9821d0de8b140ce1cd1917260afad5f803b43ed1.zip
chromium_src-9821d0de8b140ce1cd1917260afad5f803b43ed1.tar.gz
chromium_src-9821d0de8b140ce1cd1917260afad5f803b43ed1.tar.bz2
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
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi10
1 files changed, 10 insertions, 0 deletions
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',