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

Side by Side Diff: media/media.gyp

Issue 1140113002: Implement screen capture for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make ScreenCapturerAndroid inherit VideoCaptureDevice Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # Override to dynamically link the cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 ], 673 ],
674 }], 674 }],
675 ['enable_browser_cdms==1', { 675 ['enable_browser_cdms==1', {
676 'sources': [ 676 'sources': [
677 'base/browser_cdm.cc', 677 'base/browser_cdm.cc',
678 'base/browser_cdm.h', 678 'base/browser_cdm.h',
679 'base/browser_cdm_factory.cc', 679 'base/browser_cdm_factory.cc',
680 'base/browser_cdm_factory.h', 680 'base/browser_cdm_factory.h',
681 ], 681 ],
682 }], 682 }],
683 ['enable_webrtc==1 and OS=="android"', {
684 'sources': [
685 'screen_capture/android/screen_capturer2_android.cc',
686 'screen_capture/android/screen_capturer2_android.h',
687 'screen_capture/android/screen_capture_factory_android.cc',
688 'screen_capture/android/screen_capture_factory_android.h',
689 ],
690 }],
683 ['OS=="android"', { 691 ['OS=="android"', {
684 'dependencies': [ 692 'dependencies': [
685 'media_android_jni_headers', 693 'media_android_jni_headers',
686 'media_java', 694 'media_java',
687 'player_android', 695 'player_android',
688 'video_capture_android_jni_headers', 696 'video_capture_android_jni_headers',
697 'screen_capture_android_jni_headers',
689 ], 698 ],
690 'sources': [ 699 'sources': [
691 'base/media.cc', 700 'base/media.cc',
692 'base/media.h', 701 'base/media.h',
693 'base/media_stub.cc', 702 'base/media_stub.cc',
694 ], 703 ],
695 'sources!': [ 704 'sources!': [
696 'filters/opus_audio_decoder.cc', 705 'filters/opus_audio_decoder.cc',
697 'filters/opus_audio_decoder.h', 706 'filters/opus_audio_decoder.h',
698 'renderers/default_renderer_factory.cc', 707 'renderers/default_renderer_factory.cc',
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1709 'sources': [ 1718 'sources': [
1710 'base/android/java/src/org/chromium/media/VideoCapture.java', 1719 'base/android/java/src/org/chromium/media/VideoCapture.java',
1711 'base/android/java/src/org/chromium/media/VideoCaptureFactory.java', 1720 'base/android/java/src/org/chromium/media/VideoCaptureFactory.java',
1712 ], 1721 ],
1713 'variables': { 1722 'variables': {
1714 'jni_gen_package': 'media', 1723 'jni_gen_package': 'media',
1715 }, 1724 },
1716 'includes': ['../build/jni_generator.gypi'], 1725 'includes': ['../build/jni_generator.gypi'],
1717 }, 1726 },
1718 { 1727 {
1728 # GN: //media/base/android:screen_capture_android_jni_headers
1729 'target_name': 'screen_capture_android_jni_headers',
1730 'type': 'none',
1731 'sources': [
1732 'base/android/java/src/org/chromium/media/ScreenCapture.java',
1733 'base/android/java/src/org/chromium/media/ScreenCaptureFactory.java' ,
1734 ],
1735 'variables': {
1736 'jni_gen_package': 'media',
1737 },
1738 'includes': ['../build/jni_generator.gypi'],
1739 },
1740 {
1719 # GN: //media/base/android:android 1741 # GN: //media/base/android:android
1720 'target_name': 'player_android', 1742 'target_name': 'player_android',
1721 'type': 'static_library', 1743 'type': 'static_library',
1722 'sources': [ 1744 'sources': [
1723 'base/android/audio_decoder_job.cc', 1745 'base/android/audio_decoder_job.cc',
1724 'base/android/audio_decoder_job.h', 1746 'base/android/audio_decoder_job.h',
1725 'base/android/browser_cdm_factory_android.cc', 1747 'base/android/browser_cdm_factory_android.cc',
1726 'base/android/browser_cdm_factory_android.h', 1748 'base/android/browser_cdm_factory_android.h',
1727 'base/android/demuxer_android.h', 1749 'base/android/demuxer_android.h',
1728 'base/android/demuxer_stream_player_params.cc', 1750 'base/android/demuxer_stream_player_params.cc',
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 '../build/isolate.gypi', 1976 '../build/isolate.gypi',
1955 ], 1977 ],
1956 'sources': [ 1978 'sources': [
1957 'audio_unittests.isolate', 1979 'audio_unittests.isolate',
1958 ], 1980 ],
1959 }, 1981 },
1960 ], 1982 ],
1961 }], 1983 }],
1962 ], 1984 ],
1963 } 1985 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698