summaryrefslogtreecommitdiffstats
path: root/content/content.gyp
diff options
context:
space:
mode:
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-03 03:14:41 +0000
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-03 03:14:41 +0000
commit29504fc3a5bff02772fca7ed74ec6e98ee88047c (patch)
tree3efc6f30ae0db48e58135ba841104645b3346e0e /content/content.gyp
parentef914574955b6866371c28a5ba8aec6a5336301f (diff)
downloadchromium_src-29504fc3a5bff02772fca7ed74ec6e98ee88047c.zip
chromium_src-29504fc3a5bff02772fca7ed74ec6e98ee88047c.tar.gz
chromium_src-29504fc3a5bff02772fca7ed74ec6e98ee88047c.tar.bz2
Expose extra SurfaceTextureBridge methods.
Add JNI calls to attach and detach from GL contexts. Also add a function to create a Surface/ANativeWindow for the SurfaceTexture. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165780 Review URL: https://chromiumcodereview.appspot.com/11315024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content.gyp')
-rw-r--r--content/content.gyp11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/content.gyp b/content/content.gyp
index e7da4dc..046293d 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -303,10 +303,21 @@
'includes': [ '../build/jar_file_jni_generator.gypi' ],
},
{
+ 'target_name': 'surface_jni_headers',
+ 'type': 'none',
+ 'variables': {
+ 'jni_gen_dir': 'content',
+ 'input_java_class': 'android/view/Surface.class',
+ 'input_jar_file': '<(android_sdk)/android.jar',
+ },
+ 'includes': [ '../build/jar_file_jni_generator.gypi' ],
+ },
+ {
'target_name': 'content_jni_headers',
'type': 'none',
'dependencies': [
'surface_texture_jni_headers',
+ 'surface_jni_headers',
],
'includes': [ 'content_jni.gypi' ],
},