Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: media/media.gyp

Issue 11860002: Add video capture on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: ready for review Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/media.gyp
===================================================================
--- media/media.gyp (revision 178068)
+++ media/media.gyp (working copy)
@@ -313,6 +313,8 @@
'filters/video_frame_generator.h',
'filters/video_renderer_base.cc',
'filters/video_renderer_base.h',
+ 'video/capture/android/video_capture_device_android.cc',
+ 'video/capture/android/video_capture_device_android.h',
'video/capture/fake_video_capture_device.cc',
'video/capture/fake_video_capture_device.h',
'video/capture/linux/video_capture_device_linux.cc',
@@ -460,6 +462,12 @@
'-lOpenSLES',
],
},
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/media',
+ ],
+ 'dependencies': [
+ 'video_capture_android_jni_headers',
+ ],
}],
# A simple WebM encoder for animated avatars on ChromeOS.
['chromeos==1', {
@@ -550,7 +558,7 @@
}],
],
}],
- ['os_posix == 1 and OS != "android"', {
+ ['os_posix == 1', {
# Video capture isn't supported in Android yet.
qinmin 2013/01/22 21:31:42 change this comment
wjia(left Chromium) 2013/01/22 22:40:01 Done and merge it with same condition above.
'sources!': [
'video/capture/video_capture_device_dummy.cc',
@@ -1241,6 +1249,17 @@
'includes': [ '../build/jni_generator.gypi' ],
},
{
+ 'target_name': 'video_capture_android_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'base/android/java/src/org/chromium/media/VideoCapture.java',
+ ],
+ 'variables': {
+ 'jni_gen_dir': 'media',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ {
'target_name': 'player_android',
'type': 'static_library',
'sources': [

Powered by Google App Engine
This is Rietveld 408576698