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

Unified Diff: media/media.gyp

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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',

Powered by Google App Engine
This is Rietveld 408576698