summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.gypi
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 23:39:57 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 23:39:57 +0000
commit4e3f0ab69737fa199e544cd11726583d84944d65 (patch)
treef96c62b72cc5df1f58ac544a960a1b1f0abb038e /webkit/glue/webkit_glue.gypi
parent6e771985c39613c83dfa6d7e8dbfc8ecfdaa8660 (diff)
downloadchromium_src-4e3f0ab69737fa199e544cd11726583d84944d65.zip
chromium_src-4e3f0ab69737fa199e544cd11726583d84944d65.tar.gz
chromium_src-4e3f0ab69737fa199e544cd11726583d84944d65.tar.bz2
Make target running GLES2 autogen script.
Also lays groundwork for rebuilding Pepper OpenGL ES bindings as part of the build. BUG=none TEST=run "make ppapi_gles_bindings" or "make ppapi_gles_implementation". Review URL: http://codereview.chromium.org/5212006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.gypi')
-rw-r--r--webkit/glue/webkit_glue.gypi29
1 files changed, 29 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi
index 31744a0..3333035 100644
--- a/webkit/glue/webkit_glue.gypi
+++ b/webkit/glue/webkit_glue.gypi
@@ -153,6 +153,35 @@
],
},
{
+ 'target_name': 'ppapi_gles_implementation',
+ 'type': 'none',
+ 'suppress_wildcard': 1,
+ 'conditions': [
+ ['enable_gpu==1', {
+ 'actions': [
+ {
+ 'action_name': 'generate_ppapi_gles_implementation',
+ 'variables': {
+ 'gles_script': '<(DEPTH)/gpu/command_buffer/build_gles2_cmd_buffer.py',
+ },
+ 'inputs': [
+ '<(gles_script)',
+ ],
+ 'outputs': [
+ '<(DEPTH)/webkit/plugins/ppapi/ppb_opengles_impl.cc',
+ ],
+ 'action': [
+ 'python',
+ '<(gles_script)',
+ '--alternate-mode=chrome_ppapi'
+ ],
+ 'message': 'Generating Pepper OpenGL ES implementation',
+ }
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'glue',
'type': '<(library)',
'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09',