Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 97e29a183f56a734b4b68cde81602ece74f9302a..958c7790b8b32e4870ae612d0d3a02427a9913eb 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -698,12 +698,23 @@ |
], |
}], |
['OS=="android"', { |
+ 'sources': [ |
+ 'capture/content/android/screen_capture_device_android.cc', |
+ 'capture/content/android/screen_capture_device_android.h', |
+ 'capture/content/android/screen_capture_factory_android.cc', |
+ 'capture/content/android/screen_capture_factory_android.h', |
+ 'capture/content/android/screen_capture_machine_android.cc', |
+ 'capture/content/android/screen_capture_machine_android.h', |
+ ], |
+ }], |
+ ['OS=="android"', { |
'dependencies': [ |
'capture_java', |
'media_android_jni_headers', |
'media_java', |
'player_android', |
'video_capture_android_jni_headers', |
+ 'screen_capture_android_jni_headers', |
], |
'sources!': [ |
'base/audio_video_metadata_extractor.cc', |
@@ -1769,6 +1780,19 @@ |
'includes': ['../build/jni_generator.gypi'], |
}, |
{ |
+ # GN: //media/base/android:screen_capture_android_jni_headers |
+ 'target_name': 'screen_capture_android_jni_headers', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'base/android/java/src/org/chromium/media/ScreenCapture.java', |
+ 'base/android/java/src/org/chromium/media/ScreenCaptureFactory.java', |
+ ], |
+ 'variables': { |
+ 'jni_gen_package': 'media', |
+ }, |
+ 'includes': ['../build/jni_generator.gypi'], |
+ }, |
+ { |
# GN: //media/base/android:android |
'target_name': 'player_android', |
'type': 'static_library', |