Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index afcb0d3a98c0f2087994fbc51f33d91246c9c327..7742293b61b6aeff8ed8cb80540f29b863260678 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -718,6 +718,8 @@ |
'media_android_jni_headers', |
'media_java', |
'player_android', |
+ 'screen_capture_java', |
+ 'screen_capture_android_jni_headers', |
'video_capture_android_jni_headers', |
], |
'sources!': [ |
@@ -1759,6 +1761,7 @@ |
'capture_java', |
'media_java', |
'media_unittests', |
+ 'screen_capture_java', |
], |
'variables': { |
'test_suite_name': 'media_unittests', |
@@ -1774,6 +1777,7 @@ |
'capture_java', |
'media_java', |
'media_perftests', |
+ 'screen_capture_java', |
], |
'variables': { |
'test_suite_name': 'media_perftests', |
@@ -1812,6 +1816,18 @@ |
}, |
'includes': ['../build/jni_generator.gypi'], |
}, |
+ { |
+ # GN: //media/capture/video/android:screen_capture_jni_headers |
+ 'target_name': 'screen_capture_android_jni_headers', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'capture/content/android/java/src/org/chromium/media/ScreenCapture.java', |
+ ], |
+ 'variables': { |
+ 'jni_gen_package': 'media', |
+ }, |
+ 'includes': ['../build/jni_generator.gypi'], |
+ }, |
{ |
# GN: //media/base/android:android |
'target_name': 'player_android', |
@@ -1872,6 +1888,8 @@ |
'base/android/video_decoder_job.h', |
'base/android/video_media_codec_decoder.cc', |
'base/android/video_media_codec_decoder.h', |
+ 'capture/content/android/screen_capture_jni_registrar.cc', |
+ 'capture/content/android/screen_capture_jni_registrar.h', |
'capture/video/android/capture_jni_registrar.cc', |
'capture/video/android/capture_jni_registrar.h', |
], |
@@ -1934,6 +1952,21 @@ |
'includes': ['../build/java.gypi'], |
}, |
{ |
+ # GN: //media/capture/content/android:screen_capture_java |
+ 'target_name': 'screen_capture_java', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'variables': { |
+ 'java_in_dir': 'capture/content/android/java', |
+ }, |
+ 'includes': ['../build/java.gypi'], |
+ }, |
+ { |
# GN: //media/base/android:media_android_captureapitype |
'target_name': 'media_android_captureapitype', |
'type': 'none', |