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

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

Powered by Google App Engine
This is Rietveld 408576698