OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 import("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
10 import("//third_party/WebKit/public/public_features.gni") | 10 import("//third_party/WebKit/public/public_features.gni") |
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 "media/android/media_throttler.cc", | 858 "media/android/media_throttler.cc", |
859 "media/android/media_throttler.h", | 859 "media/android/media_throttler.h", |
860 "media/android/media_web_contents_observer_android.cc", | 860 "media/android/media_web_contents_observer_android.cc", |
861 "media/android/media_web_contents_observer_android.h", | 861 "media/android/media_web_contents_observer_android.h", |
862 "media/audible_metrics.cc", | 862 "media/audible_metrics.cc", |
863 "media/audible_metrics.h", | 863 "media/audible_metrics.h", |
864 "media/audio_stream_monitor.cc", | 864 "media/audio_stream_monitor.cc", |
865 "media/audio_stream_monitor.h", | 865 "media/audio_stream_monitor.h", |
866 "media/capture/audio_mirroring_manager.cc", | 866 "media/capture/audio_mirroring_manager.cc", |
867 "media/capture/audio_mirroring_manager.h", | 867 "media/capture/audio_mirroring_manager.h", |
868 "media/capture/cursor_renderer.h", | |
869 "media/capture/cursor_renderer_aura.cc", | |
870 "media/capture/cursor_renderer_aura.h", | |
871 "media/capture/cursor_renderer_mac.h", | |
872 "media/capture/cursor_renderer_mac.mm", | |
873 "media/capture/desktop_capture_device_uma_types.cc", | 868 "media/capture/desktop_capture_device_uma_types.cc", |
874 "media/capture/desktop_capture_device_uma_types.h", | 869 "media/capture/desktop_capture_device_uma_types.h", |
875 "media/capture/image_capture_impl.cc", | 870 "media/capture/image_capture_impl.cc", |
876 "media/capture/image_capture_impl.h", | 871 "media/capture/image_capture_impl.h", |
877 "media/capture/web_contents_audio_input_stream.cc", | 872 "media/capture/web_contents_audio_input_stream.cc", |
878 "media/capture/web_contents_audio_input_stream.h", | 873 "media/capture/web_contents_audio_input_stream.h", |
879 "media/capture/web_contents_audio_muter.cc", | 874 "media/capture/web_contents_audio_muter.cc", |
880 "media/capture/web_contents_audio_muter.h", | 875 "media/capture/web_contents_audio_muter.h", |
881 "media/capture/web_contents_tracker.cc", | 876 "media/capture/web_contents_tracker.cc", |
882 "media/capture/web_contents_tracker.h", | 877 "media/capture/web_contents_tracker.h", |
883 "media/capture/web_contents_video_capture_device.cc", | |
884 "media/capture/web_contents_video_capture_device.h", | |
885 "media/capture/window_activity_tracker.cc", | |
886 "media/capture/window_activity_tracker.h", | |
887 "media/capture/window_activity_tracker_aura.cc", | |
888 "media/capture/window_activity_tracker_aura.h", | |
889 "media/capture/window_activity_tracker_mac.h", | |
890 "media/capture/window_activity_tracker_mac.mm", | |
891 "media/cdm_registry_impl.cc", | 878 "media/cdm_registry_impl.cc", |
892 "media/cdm_registry_impl.h", | 879 "media/cdm_registry_impl.h", |
893 "media/media_devices_permission_checker.cc", | 880 "media/media_devices_permission_checker.cc", |
894 "media/media_devices_permission_checker.h", | 881 "media/media_devices_permission_checker.h", |
895 "media/media_interface_proxy.cc", | 882 "media/media_interface_proxy.cc", |
896 "media/media_interface_proxy.h", | 883 "media/media_interface_proxy.h", |
897 "media/media_internals.cc", | 884 "media/media_internals.cc", |
898 "media/media_internals.h", | 885 "media/media_internals.h", |
899 "media/media_internals_handler.cc", | 886 "media/media_internals_handler.cc", |
900 "media/media_internals_handler.h", | 887 "media/media_internals_handler.h", |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1501 "webrtc/webrtc_internals_ui_observer.h", | 1488 "webrtc/webrtc_internals_ui_observer.h", |
1502 ] | 1489 ] |
1503 | 1490 |
1504 deps += [ | 1491 deps += [ |
1505 "//jingle:jingle_glue", | 1492 "//jingle:jingle_glue", |
1506 "//third_party/libjingle/webrtc:libjingle_webrtc", | 1493 "//third_party/libjingle/webrtc:libjingle_webrtc", |
1507 "//third_party/webrtc/base:rtc_base", | 1494 "//third_party/webrtc/base:rtc_base", |
1508 "//third_party/webrtc/media:rtc_media_base", | 1495 "//third_party/webrtc/media:rtc_media_base", |
1509 "//third_party/webrtc/modules/desktop_capture:primitives", | 1496 "//third_party/webrtc/modules/desktop_capture:primitives", |
1510 ] | 1497 ] |
1511 if (!is_ios) { | 1498 |
1512 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | |
1513 } | |
1514 if (is_linux || is_mac || is_win) { | 1499 if (is_linux || is_mac || is_win) { |
1515 sources += [ | 1500 sources += [ |
1516 "media/capture/desktop_capture_device.cc", | 1501 "media/capture/desktop_capture_device.cc", |
1517 "media/capture/desktop_capture_device.h", | 1502 "media/capture/desktop_capture_device.h", |
1518 ] | 1503 ] |
1519 if (use_aura) { | |
1520 sources += [ | |
1521 "media/capture/aura_window_capture_machine.cc", | |
1522 "media/capture/aura_window_capture_machine.h", | |
1523 "media/capture/desktop_capture_device_aura.cc", | |
1524 "media/capture/desktop_capture_device_aura.h", | |
1525 ] | |
1526 } | |
1527 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1504 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
1528 } | 1505 } |
1529 } | 1506 } |
1530 | 1507 |
| 1508 # Desktop screen capture implementations that are not dependent on WebRTC. |
| 1509 if (is_linux || is_mac || is_win) { |
| 1510 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
| 1511 sources += [ |
| 1512 "media/capture/cursor_renderer.h", |
| 1513 "media/capture/web_contents_video_capture_device.cc", |
| 1514 "media/capture/web_contents_video_capture_device.h", |
| 1515 "media/capture/window_activity_tracker.cc", |
| 1516 "media/capture/window_activity_tracker.h", |
| 1517 ] |
| 1518 if (use_aura) { |
| 1519 sources += [ |
| 1520 "media/capture/aura_window_capture_machine.cc", |
| 1521 "media/capture/aura_window_capture_machine.h", |
| 1522 "media/capture/cursor_renderer_aura.cc", |
| 1523 "media/capture/cursor_renderer_aura.h", |
| 1524 "media/capture/desktop_capture_device_aura.cc", |
| 1525 "media/capture/desktop_capture_device_aura.h", |
| 1526 "media/capture/window_activity_tracker_aura.cc", |
| 1527 "media/capture/window_activity_tracker_aura.h", |
| 1528 ] |
| 1529 } |
| 1530 if (is_mac) { |
| 1531 sources += [ |
| 1532 "media/capture/cursor_renderer_mac.h", |
| 1533 "media/capture/cursor_renderer_mac.mm", |
| 1534 "media/capture/window_activity_tracker_mac.h", |
| 1535 "media/capture/window_activity_tracker_mac.mm", |
| 1536 ] |
| 1537 } |
| 1538 } |
| 1539 |
1531 if (is_win) { | 1540 if (is_win) { |
1532 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 1541 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
1533 defines += [ | 1542 defines += [ |
1534 # This prevents the inclusion of atlhost.h which paired | 1543 # This prevents the inclusion of atlhost.h which paired |
1535 # with the windows 8 sdk it does the wrong thing. | 1544 # with the windows 8 sdk it does the wrong thing. |
1536 "__ATLHOST_H__", | 1545 "__ATLHOST_H__", |
1537 ] | 1546 ] |
1538 deps += [ | 1547 deps += [ |
1539 "//third_party/iaccessible2", | 1548 "//third_party/iaccessible2", |
1540 "//third_party/isimpledom", | 1549 "//third_party/isimpledom", |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 ] | 1788 ] |
1780 deps -= [ "//device/battery" ] | 1789 deps -= [ "//device/battery" ] |
1781 deps += [ | 1790 deps += [ |
1782 "//content/public/android:jni", | 1791 "//content/public/android:jni", |
1783 "//media", | 1792 "//media", |
1784 "//media/capture/content/android", | 1793 "//media/capture/content/android", |
1785 "//media/capture/video/android", | 1794 "//media/capture/video/android", |
1786 "//mojo/android:libsystem_java", | 1795 "//mojo/android:libsystem_java", |
1787 "//ui/android", | 1796 "//ui/android", |
1788 ] | 1797 ] |
1789 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 1798 defines += [ |
| 1799 "APPCACHE_USE_SIMPLE_CACHE", |
| 1800 "ENABLE_SCREEN_CAPTURE=1", |
| 1801 ] |
1790 libs += [ "jnigraphics" ] | 1802 libs += [ "jnigraphics" ] |
1791 } else { | 1803 } else { |
1792 # Not Android. | 1804 # Not Android. |
1793 sources += [ | 1805 sources += [ |
1794 # Most speech code is non-Android. | 1806 # Most speech code is non-Android. |
1795 "speech/audio_buffer.cc", | 1807 "speech/audio_buffer.cc", |
1796 "speech/audio_buffer.h", | 1808 "speech/audio_buffer.h", |
1797 "speech/audio_encoder.cc", | 1809 "speech/audio_encoder.cc", |
1798 "speech/audio_encoder.h", | 1810 "speech/audio_encoder.h", |
1799 "speech/chunked_byte_buffer.cc", | 1811 "speech/chunked_byte_buffer.cc", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1852 sources += [ | 1864 sources += [ |
1853 "compositor/mus_browser_compositor_output_surface.cc", | 1865 "compositor/mus_browser_compositor_output_surface.cc", |
1854 "compositor/mus_browser_compositor_output_surface.h", | 1866 "compositor/mus_browser_compositor_output_surface.h", |
1855 "renderer_host/delegated_frame_host_client_aura.cc", | 1867 "renderer_host/delegated_frame_host_client_aura.cc", |
1856 "renderer_host/delegated_frame_host_client_aura.h", | 1868 "renderer_host/delegated_frame_host_client_aura.h", |
1857 "renderer_host/render_widget_host_view_event_handler.cc", | 1869 "renderer_host/render_widget_host_view_event_handler.cc", |
1858 "renderer_host/render_widget_host_view_event_handler.h", | 1870 "renderer_host/render_widget_host_view_event_handler.h", |
1859 ] | 1871 ] |
1860 } else { # Not aura. | 1872 } else { # Not aura. |
1861 sources -= [ | 1873 sources -= [ |
1862 "media/capture/cursor_renderer_aura.cc", | |
1863 "media/capture/cursor_renderer_aura.h", | |
1864 "media/capture/window_activity_tracker_aura.cc", | |
1865 "media/capture/window_activity_tracker_aura.h", | |
1866 "renderer_host/compositor_resize_lock_aura.cc", | 1874 "renderer_host/compositor_resize_lock_aura.cc", |
1867 "renderer_host/compositor_resize_lock_aura.h", | 1875 "renderer_host/compositor_resize_lock_aura.h", |
1868 "renderer_host/input/synthetic_gesture_target_aura.cc", | 1876 "renderer_host/input/synthetic_gesture_target_aura.cc", |
1869 "renderer_host/input/synthetic_gesture_target_aura.h", | 1877 "renderer_host/input/synthetic_gesture_target_aura.h", |
1870 "renderer_host/input/touch_selection_controller_client_aura.cc", | 1878 "renderer_host/input/touch_selection_controller_client_aura.cc", |
1871 "renderer_host/input/touch_selection_controller_client_aura.h", | 1879 "renderer_host/input/touch_selection_controller_client_aura.h", |
1872 "renderer_host/native_web_keyboard_event_aura.cc", | 1880 "renderer_host/native_web_keyboard_event_aura.cc", |
1873 "renderer_host/render_widget_host_view_aura.cc", | 1881 "renderer_host/render_widget_host_view_aura.cc", |
1874 "renderer_host/render_widget_host_view_aura.h", | 1882 "renderer_host/render_widget_host_view_aura.h", |
1875 "renderer_host/ui_events_helper.cc", | 1883 "renderer_host/ui_events_helper.cc", |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1992 if (!is_component_build) { | 2000 if (!is_component_build) { |
1993 public_deps = [ | 2001 public_deps = [ |
1994 ":browser", | 2002 ":browser", |
1995 ] | 2003 ] |
1996 } else { | 2004 } else { |
1997 public_deps = [ | 2005 public_deps = [ |
1998 "//third_party/leveldatabase", | 2006 "//third_party/leveldatabase", |
1999 ] | 2007 ] |
2000 } | 2008 } |
2001 } | 2009 } |
OLD | NEW |