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

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 comments Created 4 years, 6 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 'filters/vpx_video_decoder.cc', 711 'filters/vpx_video_decoder.cc',
712 'filters/vpx_video_decoder.h', 712 'filters/vpx_video_decoder.h',
713 ], 713 ],
714 }], 714 }],
715 ['OS=="android"', { 715 ['OS=="android"', {
716 'dependencies': [ 716 'dependencies': [
717 'capture_java', 717 'capture_java',
718 'media_android_jni_headers', 718 'media_android_jni_headers',
719 'media_java', 719 'media_java',
720 'player_android', 720 'player_android',
721 'screen_capture_java',
722 'screen_capture_android_jni_headers',
721 'video_capture_android_jni_headers', 723 'video_capture_android_jni_headers',
722 ], 724 ],
723 'sources!': [ 725 'sources!': [
724 'base/audio_video_metadata_extractor.cc', 726 'base/audio_video_metadata_extractor.cc',
725 'base/audio_video_metadata_extractor.h', 727 'base/audio_video_metadata_extractor.h',
726 'base/media_file_checker.cc', 728 'base/media_file_checker.cc',
727 'base/media_file_checker.h', 729 'base/media_file_checker.h',
728 'filters/decrypting_audio_decoder.cc', 730 'filters/decrypting_audio_decoder.cc',
729 'filters/decrypting_audio_decoder.h', 731 'filters/decrypting_audio_decoder.h',
730 'filters/decrypting_video_decoder.cc', 732 'filters/decrypting_video_decoder.cc',
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 ['OS=="android"', { 1754 ['OS=="android"', {
1753 'targets': [ 1755 'targets': [
1754 { 1756 {
1755 # TODO(GN) 1757 # TODO(GN)
1756 'target_name': 'media_unittests_apk', 1758 'target_name': 'media_unittests_apk',
1757 'type': 'none', 1759 'type': 'none',
1758 'dependencies': [ 1760 'dependencies': [
1759 'capture_java', 1761 'capture_java',
1760 'media_java', 1762 'media_java',
1761 'media_unittests', 1763 'media_unittests',
1764 'screen_capture_java',
1762 ], 1765 ],
1763 'variables': { 1766 'variables': {
1764 'test_suite_name': 'media_unittests', 1767 'test_suite_name': 'media_unittests',
1765 'isolate_file': 'media_unittests.isolate', 1768 'isolate_file': 'media_unittests.isolate',
1766 }, 1769 },
1767 'includes': ['../build/apk_test.gypi'], 1770 'includes': ['../build/apk_test.gypi'],
1768 }, 1771 },
1769 { 1772 {
1770 # TODO(GN) 1773 # TODO(GN)
1771 'target_name': 'media_perftests_apk', 1774 'target_name': 'media_perftests_apk',
1772 'type': 'none', 1775 'type': 'none',
1773 'dependencies': [ 1776 'dependencies': [
1774 'capture_java', 1777 'capture_java',
1775 'media_java', 1778 'media_java',
1776 'media_perftests', 1779 'media_perftests',
1780 'screen_capture_java',
1777 ], 1781 ],
1778 'variables': { 1782 'variables': {
1779 'test_suite_name': 'media_perftests', 1783 'test_suite_name': 'media_perftests',
1780 'isolate_file': 'media_perftests.isolate', 1784 'isolate_file': 'media_perftests.isolate',
1781 }, 1785 },
1782 'includes': ['../build/apk_test.gypi'], 1786 'includes': ['../build/apk_test.gypi'],
1783 }, 1787 },
1784 { 1788 {
1785 # GN: //media/base/android:media_jni_headers 1789 # GN: //media/base/android:media_jni_headers
1786 'target_name': 'media_android_jni_headers', 1790 'target_name': 'media_android_jni_headers',
(...skipping 18 matching lines...) Expand all
1805 'type': 'none', 1809 'type': 'none',
1806 'sources': [ 1810 'sources': [
1807 'capture/video/android/java/src/org/chromium/media/VideoCapture.java ', 1811 'capture/video/android/java/src/org/chromium/media/VideoCapture.java ',
1808 'capture/video/android/java/src/org/chromium/media/VideoCaptureFacto ry.java', 1812 'capture/video/android/java/src/org/chromium/media/VideoCaptureFacto ry.java',
1809 ], 1813 ],
1810 'variables': { 1814 'variables': {
1811 'jni_gen_package': 'media', 1815 'jni_gen_package': 'media',
1812 }, 1816 },
1813 'includes': ['../build/jni_generator.gypi'], 1817 'includes': ['../build/jni_generator.gypi'],
1814 }, 1818 },
1819 {
1820 # GN: //media/capture/video/android:screen_capture_jni_headers
1821 'target_name': 'screen_capture_android_jni_headers',
1822 'type': 'none',
1823 'sources': [
1824 'capture/content/android/java/src/org/chromium/media/ScreenCapture.j ava',
1825 ],
1826 'variables': {
1827 'jni_gen_package': 'media',
1828 },
1829 'includes': ['../build/jni_generator.gypi'],
1830 },
1815 { 1831 {
1816 # GN: //media/base/android:android 1832 # GN: //media/base/android:android
1817 'target_name': 'player_android', 1833 'target_name': 'player_android',
1818 'type': 'static_library', 1834 'type': 'static_library',
1819 'sources': [ 1835 'sources': [
1820 'base/android/access_unit_queue.cc', 1836 'base/android/access_unit_queue.cc',
1821 'base/android/access_unit_queue.h', 1837 'base/android/access_unit_queue.h',
1822 'base/android/android_cdm_factory.cc', 1838 'base/android/android_cdm_factory.cc',
1823 'base/android/android_cdm_factory.h', 1839 'base/android/android_cdm_factory.h',
1824 'base/android/audio_decoder_job.cc', 1840 'base/android/audio_decoder_job.cc',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1865 'base/android/media_task_runner.cc', 1881 'base/android/media_task_runner.cc',
1866 'base/android/media_task_runner.h', 1882 'base/android/media_task_runner.h',
1867 'base/android/media_url_interceptor.h', 1883 'base/android/media_url_interceptor.h',
1868 'base/android/provision_fetcher.h', 1884 'base/android/provision_fetcher.h',
1869 'base/android/sdk_media_codec_bridge.cc', 1885 'base/android/sdk_media_codec_bridge.cc',
1870 'base/android/sdk_media_codec_bridge.h', 1886 'base/android/sdk_media_codec_bridge.h',
1871 'base/android/video_decoder_job.cc', 1887 'base/android/video_decoder_job.cc',
1872 'base/android/video_decoder_job.h', 1888 'base/android/video_decoder_job.h',
1873 'base/android/video_media_codec_decoder.cc', 1889 'base/android/video_media_codec_decoder.cc',
1874 'base/android/video_media_codec_decoder.h', 1890 'base/android/video_media_codec_decoder.h',
1891 'capture/content/android/screen_capture_jni_registrar.cc',
1892 'capture/content/android/screen_capture_jni_registrar.h',
1875 'capture/video/android/capture_jni_registrar.cc', 1893 'capture/video/android/capture_jni_registrar.cc',
1876 'capture/video/android/capture_jni_registrar.h', 1894 'capture/video/android/capture_jni_registrar.h',
1877 ], 1895 ],
1878 'conditions': [ 1896 'conditions': [
1879 # Only 64 bit builds are using android-21 NDK library, check common. gypi 1897 # Only 64 bit builds are using android-21 NDK library, check common. gypi
1880 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64 el"', { 1898 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64 el"', {
1881 'sources': [ 1899 'sources': [
1882 'base/android/ndk_media_codec_bridge.cc', 1900 'base/android/ndk_media_codec_bridge.cc',
1883 'base/android/ndk_media_codec_bridge.h', 1901 'base/android/ndk_media_codec_bridge.h',
1884 'base/android/ndk_media_codec_wrapper.cc', 1902 'base/android/ndk_media_codec_wrapper.cc',
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1927 ], 1945 ],
1928 'export_dependent_settings': [ 1946 'export_dependent_settings': [
1929 '../base/base.gyp:base', 1947 '../base/base.gyp:base',
1930 ], 1948 ],
1931 'variables': { 1949 'variables': {
1932 'java_in_dir': 'base/android/java', 1950 'java_in_dir': 'base/android/java',
1933 }, 1951 },
1934 'includes': ['../build/java.gypi'], 1952 'includes': ['../build/java.gypi'],
1935 }, 1953 },
1936 { 1954 {
1955 # GN: //media/capture/content/android:screen_capture_java
1956 'target_name': 'screen_capture_java',
1957 'type': 'none',
1958 'dependencies': [
1959 '../base/base.gyp:base',
1960 ],
1961 'export_dependent_settings': [
1962 '../base/base.gyp:base',
1963 ],
1964 'variables': {
1965 'java_in_dir': 'capture/content/android/java',
1966 },
1967 'includes': ['../build/java.gypi'],
1968 },
1969 {
1937 # GN: //media/base/android:media_android_captureapitype 1970 # GN: //media/base/android:media_android_captureapitype
1938 'target_name': 'media_android_captureapitype', 1971 'target_name': 'media_android_captureapitype',
1939 'type': 'none', 1972 'type': 'none',
1940 'variables': { 1973 'variables': {
1941 'source_file': 'capture/video/video_capture_device.h', 1974 'source_file': 'capture/video/video_capture_device.h',
1942 }, 1975 },
1943 'includes': [ '../build/android/java_cpp_enum.gypi' ], 1976 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1944 }, 1977 },
1945 { 1978 {
1946 # GN: //media/base/android:media_android_imageformat 1979 # GN: //media/base/android:media_android_imageformat
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 'dependencies': [ 2351 'dependencies': [
2319 '../build/linux/system.gyp:libdrm', 2352 '../build/linux/system.gyp:libdrm',
2320 ] 2353 ]
2321 }], 2354 }],
2322 ], 2355 ],
2323 } 2356 }
2324 ] 2357 ]
2325 }], 2358 }],
2326 ], 2359 ],
2327 } 2360 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698