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

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: 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_capturer_android.cc',
686 'screen_capture/android/screen_capturer_android.h',
687 'screen_capture/android/screen_capture_factory_android.cc',
688 'screen_capture/android/screen_capture_factory_android.h',
689 ],
690 'dependencies': [
691 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
692 '../third_party/webrtc/base/base.gyp:rtc_base',
693 ],
694 }],
683 ['OS=="android"', { 695 ['OS=="android"', {
684 'dependencies': [ 696 'dependencies': [
685 'media_android_jni_headers', 697 'media_android_jni_headers',
686 'media_java', 698 'media_java',
687 'player_android', 699 'player_android',
688 'video_capture_android_jni_headers', 700 'video_capture_android_jni_headers',
701 'screen_capture_android_jni_headers',
689 ], 702 ],
690 'sources': [ 703 'sources': [
691 'base/media.cc', 704 'base/media.cc',
692 'base/media.h', 705 'base/media.h',
693 'base/media_stub.cc', 706 'base/media_stub.cc',
694 ], 707 ],
695 'sources!': [ 708 'sources!': [
696 'filters/opus_audio_decoder.cc', 709 'filters/opus_audio_decoder.cc',
697 'filters/opus_audio_decoder.h', 710 'filters/opus_audio_decoder.h',
698 'renderers/default_renderer_factory.cc', 711 'renderers/default_renderer_factory.cc',
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1709 'sources': [ 1722 'sources': [
1710 'base/android/java/src/org/chromium/media/VideoCapture.java', 1723 'base/android/java/src/org/chromium/media/VideoCapture.java',
1711 'base/android/java/src/org/chromium/media/VideoCaptureFactory.java', 1724 'base/android/java/src/org/chromium/media/VideoCaptureFactory.java',
1712 ], 1725 ],
1713 'variables': { 1726 'variables': {
1714 'jni_gen_package': 'media', 1727 'jni_gen_package': 'media',
1715 }, 1728 },
1716 'includes': ['../build/jni_generator.gypi'], 1729 'includes': ['../build/jni_generator.gypi'],
1717 }, 1730 },
1718 { 1731 {
1732 # GN: //media/base/android:screen_capture_android_jni_headers
1733 'target_name': 'screen_capture_android_jni_headers',
1734 'type': 'none',
1735 'sources': [
1736 'base/android/java/src/org/chromium/media/ScreenCapture.java',
1737 'base/android/java/src/org/chromium/media/ScreenCaptureFactory.java' ,
1738 ],
1739 'variables': {
1740 'jni_gen_package': 'media',
1741 },
1742 'includes': ['../build/jni_generator.gypi'],
1743 },
1744 {
1719 # GN: //media/base/android:android 1745 # GN: //media/base/android:android
1720 'target_name': 'player_android', 1746 'target_name': 'player_android',
1721 'type': 'static_library', 1747 'type': 'static_library',
1722 'sources': [ 1748 'sources': [
1723 'base/android/audio_decoder_job.cc', 1749 'base/android/audio_decoder_job.cc',
1724 'base/android/audio_decoder_job.h', 1750 'base/android/audio_decoder_job.h',
1725 'base/android/browser_cdm_factory_android.cc', 1751 'base/android/browser_cdm_factory_android.cc',
1726 'base/android/browser_cdm_factory_android.h', 1752 'base/android/browser_cdm_factory_android.h',
1727 'base/android/demuxer_android.h', 1753 'base/android/demuxer_android.h',
1728 'base/android/demuxer_stream_player_params.cc', 1754 'base/android/demuxer_stream_player_params.cc',
(...skipping 27 matching lines...) Expand all
1756 'base/android/media_url_interceptor.h', 1782 'base/android/media_url_interceptor.h',
1757 'base/android/video_decoder_job.cc', 1783 'base/android/video_decoder_job.cc',
1758 'base/android/video_decoder_job.h', 1784 'base/android/video_decoder_job.h',
1759 'base/android/webaudio_media_codec_bridge.cc', 1785 'base/android/webaudio_media_codec_bridge.cc',
1760 'base/android/webaudio_media_codec_bridge.h', 1786 'base/android/webaudio_media_codec_bridge.h',
1761 'base/android/webaudio_media_codec_info.h', 1787 'base/android/webaudio_media_codec_info.h',
1762 ], 1788 ],
1763 'dependencies': [ 1789 'dependencies': [
1764 '../base/base.gyp:base', 1790 '../base/base.gyp:base',
1765 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h ', 1791 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h ',
1792 '../third_party/webrtc/base/base.gyp:rtc_base',
1766 '../ui/gl/gl.gyp:gl', 1793 '../ui/gl/gl.gyp:gl',
1767 '../url/url.gyp:url_lib', 1794 '../url/url.gyp:url_lib',
1768 'media_android_jni_headers', 1795 'media_android_jni_headers',
1769 ], 1796 ],
1770 'include_dirs': [ 1797 'include_dirs': [
1771 # Needed by media_drm_bridge.cc. 1798 # Needed by media_drm_bridge.cc.
1772 '<(SHARED_INTERMEDIATE_DIR)', 1799 '<(SHARED_INTERMEDIATE_DIR)',
1773 ], 1800 ],
1774 'defines': [ 1801 'defines': [
1775 'MEDIA_IMPLEMENTATION', 1802 'MEDIA_IMPLEMENTATION',
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 '../build/isolate.gypi', 1981 '../build/isolate.gypi',
1955 ], 1982 ],
1956 'sources': [ 1983 'sources': [
1957 'audio_unittests.isolate', 1984 'audio_unittests.isolate',
1958 ], 1985 ],
1959 }, 1986 },
1960 ], 1987 ],
1961 }], 1988 }],
1962 ], 1989 ],
1963 } 1990 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698