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

Side by Side 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: address review comments Created 4 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 'filters/vpx_video_decoder.cc', 706 'filters/vpx_video_decoder.cc',
707 'filters/vpx_video_decoder.h', 707 'filters/vpx_video_decoder.h',
708 ], 708 ],
709 }], 709 }],
710 ['OS=="android"', { 710 ['OS=="android"', {
711 'dependencies': [ 711 'dependencies': [
712 'capture_java', 712 'capture_java',
713 'media_android_jni_headers', 713 'media_android_jni_headers',
714 'media_java', 714 'media_java',
715 'player_android', 715 'player_android',
716 'screen_capture_java',
717 'screen_capture_android_jni_headers',
716 'video_capture_android_jni_headers', 718 'video_capture_android_jni_headers',
717 ], 719 ],
718 'sources!': [ 720 'sources!': [
719 'base/audio_video_metadata_extractor.cc', 721 'base/audio_video_metadata_extractor.cc',
720 'base/audio_video_metadata_extractor.h', 722 'base/audio_video_metadata_extractor.h',
721 'base/media_file_checker.cc', 723 'base/media_file_checker.cc',
722 'base/media_file_checker.h', 724 'base/media_file_checker.h',
723 'filters/decrypting_audio_decoder.cc', 725 'filters/decrypting_audio_decoder.cc',
724 'filters/decrypting_audio_decoder.h', 726 'filters/decrypting_audio_decoder.h',
725 'filters/decrypting_video_decoder.cc', 727 'filters/decrypting_video_decoder.cc',
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 ['OS=="android"', { 1726 ['OS=="android"', {
1725 'targets': [ 1727 'targets': [
1726 { 1728 {
1727 # TODO(GN) 1729 # TODO(GN)
1728 'target_name': 'media_unittests_apk', 1730 'target_name': 'media_unittests_apk',
1729 'type': 'none', 1731 'type': 'none',
1730 'dependencies': [ 1732 'dependencies': [
1731 'capture_java', 1733 'capture_java',
1732 'media_java', 1734 'media_java',
1733 'media_unittests', 1735 'media_unittests',
1736 'screen_capture_java',
1734 ], 1737 ],
1735 'variables': { 1738 'variables': {
1736 'test_suite_name': 'media_unittests', 1739 'test_suite_name': 'media_unittests',
1737 'isolate_file': 'media_unittests.isolate', 1740 'isolate_file': 'media_unittests.isolate',
1738 }, 1741 },
1739 'includes': ['../build/apk_test.gypi'], 1742 'includes': ['../build/apk_test.gypi'],
1740 }, 1743 },
1741 { 1744 {
1742 # TODO(GN) 1745 # TODO(GN)
1743 'target_name': 'media_perftests_apk', 1746 'target_name': 'media_perftests_apk',
1744 'type': 'none', 1747 'type': 'none',
1745 'dependencies': [ 1748 'dependencies': [
1746 'capture_java', 1749 'capture_java',
1747 'media_java', 1750 'media_java',
1748 'media_perftests', 1751 'media_perftests',
1752 'screen_capture_java',
1749 ], 1753 ],
1750 'variables': { 1754 'variables': {
1751 'test_suite_name': 'media_perftests', 1755 'test_suite_name': 'media_perftests',
1752 'isolate_file': 'media_perftests.isolate', 1756 'isolate_file': 'media_perftests.isolate',
1753 }, 1757 },
1754 'includes': ['../build/apk_test.gypi'], 1758 'includes': ['../build/apk_test.gypi'],
1755 }, 1759 },
1756 { 1760 {
1757 # GN: //media/base/android:media_jni_headers 1761 # GN: //media/base/android:media_jni_headers
1758 'target_name': 'media_android_jni_headers', 1762 'target_name': 'media_android_jni_headers',
(...skipping 18 matching lines...) Expand all
1777 'type': 'none', 1781 'type': 'none',
1778 'sources': [ 1782 'sources': [
1779 'capture/video/android/java/src/org/chromium/media/VideoCapture.java ', 1783 'capture/video/android/java/src/org/chromium/media/VideoCapture.java ',
1780 'capture/video/android/java/src/org/chromium/media/VideoCaptureFacto ry.java', 1784 'capture/video/android/java/src/org/chromium/media/VideoCaptureFacto ry.java',
1781 ], 1785 ],
1782 'variables': { 1786 'variables': {
1783 'jni_gen_package': 'media', 1787 'jni_gen_package': 'media',
1784 }, 1788 },
1785 'includes': ['../build/jni_generator.gypi'], 1789 'includes': ['../build/jni_generator.gypi'],
1786 }, 1790 },
1791 {
1792 # GN: //media/capture/video/android:screen_capture_jni_headers
1793 'target_name': 'screen_capture_android_jni_headers',
1794 'type': 'none',
1795 'sources': [
1796 'capture/content/android/java/src/org/chromium/media/ScreenCapture.j ava',
1797 ],
1798 'variables': {
1799 'jni_gen_package': 'media',
1800 },
1801 'includes': ['../build/jni_generator.gypi'],
1802 },
1787 { 1803 {
1788 # GN: //media/base/android:android 1804 # GN: //media/base/android:android
1789 'target_name': 'player_android', 1805 'target_name': 'player_android',
1790 'type': 'static_library', 1806 'type': 'static_library',
1791 'sources': [ 1807 'sources': [
1792 'base/android/access_unit_queue.cc', 1808 'base/android/access_unit_queue.cc',
1793 'base/android/access_unit_queue.h', 1809 'base/android/access_unit_queue.h',
1794 'base/android/android_cdm_factory.cc', 1810 'base/android/android_cdm_factory.cc',
1795 'base/android/android_cdm_factory.h', 1811 'base/android/android_cdm_factory.h',
1796 'base/android/audio_decoder_job.cc', 1812 'base/android/audio_decoder_job.cc',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1837 'base/android/media_task_runner.cc', 1853 'base/android/media_task_runner.cc',
1838 'base/android/media_task_runner.h', 1854 'base/android/media_task_runner.h',
1839 'base/android/media_url_interceptor.h', 1855 'base/android/media_url_interceptor.h',
1840 'base/android/provision_fetcher.h', 1856 'base/android/provision_fetcher.h',
1841 'base/android/sdk_media_codec_bridge.cc', 1857 'base/android/sdk_media_codec_bridge.cc',
1842 'base/android/sdk_media_codec_bridge.h', 1858 'base/android/sdk_media_codec_bridge.h',
1843 'base/android/video_decoder_job.cc', 1859 'base/android/video_decoder_job.cc',
1844 'base/android/video_decoder_job.h', 1860 'base/android/video_decoder_job.h',
1845 'base/android/video_media_codec_decoder.cc', 1861 'base/android/video_media_codec_decoder.cc',
1846 'base/android/video_media_codec_decoder.h', 1862 'base/android/video_media_codec_decoder.h',
1863 'capture/content/android/screen_capture_jni_registrar.cc',
1864 'capture/content/android/screen_capture_jni_registrar.h',
1847 'capture/video/android/capture_jni_registrar.cc', 1865 'capture/video/android/capture_jni_registrar.cc',
1848 'capture/video/android/capture_jni_registrar.h', 1866 'capture/video/android/capture_jni_registrar.h',
1849 ], 1867 ],
1850 'conditions': [ 1868 'conditions': [
1851 # Only 64 bit builds are using android-21 NDK library, check common. gypi 1869 # Only 64 bit builds are using android-21 NDK library, check common. gypi
1852 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64 el"', { 1870 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64 el"', {
1853 'sources': [ 1871 'sources': [
1854 'base/android/ndk_media_codec_bridge.cc', 1872 'base/android/ndk_media_codec_bridge.cc',
1855 'base/android/ndk_media_codec_bridge.h', 1873 'base/android/ndk_media_codec_bridge.h',
1856 'base/android/ndk_media_codec_wrapper.cc', 1874 'base/android/ndk_media_codec_wrapper.cc',
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 ], 1917 ],
1900 'export_dependent_settings': [ 1918 'export_dependent_settings': [
1901 '../base/base.gyp:base', 1919 '../base/base.gyp:base',
1902 ], 1920 ],
1903 'variables': { 1921 'variables': {
1904 'java_in_dir': 'base/android/java', 1922 'java_in_dir': 'base/android/java',
1905 }, 1923 },
1906 'includes': ['../build/java.gypi'], 1924 'includes': ['../build/java.gypi'],
1907 }, 1925 },
1908 { 1926 {
1927 # GN: //media/capture/content/android:screen_capture_java
1928 'target_name': 'screen_capture_java',
1929 'type': 'none',
1930 'dependencies': [
1931 '../base/base.gyp:base',
1932 ],
1933 'export_dependent_settings': [
1934 '../base/base.gyp:base',
1935 ],
1936 'variables': {
1937 'java_in_dir': 'capture/content/android/java',
1938 },
1939 'includes': ['../build/java.gypi'],
1940 },
1941 {
1909 # GN: //media/base/android:media_android_captureapitype 1942 # GN: //media/base/android:media_android_captureapitype
1910 'target_name': 'media_android_captureapitype', 1943 'target_name': 'media_android_captureapitype',
1911 'type': 'none', 1944 'type': 'none',
1912 'variables': { 1945 'variables': {
1913 'source_file': 'capture/video/video_capture_device.h', 1946 'source_file': 'capture/video/video_capture_device.h',
1914 }, 1947 },
1915 'includes': [ '../build/android/java_cpp_enum.gypi' ], 1948 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1916 }, 1949 },
1917 { 1950 {
1918 # GN: //media/base/android:media_android_imageformat 1951 # GN: //media/base/android:media_android_imageformat
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 'dependencies': [ 2323 'dependencies': [
2291 '../build/linux/system.gyp:libdrm', 2324 '../build/linux/system.gyp:libdrm',
2292 ] 2325 ]
2293 }], 2326 }],
2294 ], 2327 ],
2295 } 2328 }
2296 ] 2329 ]
2297 }], 2330 }],
2298 ], 2331 ],
2299 } 2332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698