| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 "//device/battery", | 69 "//device/battery", |
| 70 "//device/battery:mojo_bindings", | 70 "//device/battery:mojo_bindings", |
| 71 "//device/bluetooth", | 71 "//device/bluetooth", |
| 72 "//device/gamepad", | 72 "//device/gamepad", |
| 73 "//device/generic_sensor", | 73 "//device/generic_sensor", |
| 74 "//device/geolocation", | 74 "//device/geolocation", |
| 75 "//device/geolocation/public/interfaces", | 75 "//device/geolocation/public/interfaces", |
| 76 "//device/nfc:mojo_bindings", | 76 "//device/nfc:mojo_bindings", |
| 77 "//device/power_save_blocker", | 77 "//device/power_save_blocker", |
| 78 "//device/screen_orientation/public/interfaces", | 78 "//device/screen_orientation/public/interfaces", |
| 79 "//device/sensors/public/cpp", | 79 "//device/sensors", |
| 80 "//device/vibration", | 80 "//device/vibration", |
| 81 "//device/vr", | 81 "//device/vr", |
| 82 "//device/wake_lock", | 82 "//device/wake_lock", |
| 83 "//google_apis", | 83 "//google_apis", |
| 84 "//gpu", | 84 "//gpu", |
| 85 "//gpu/command_buffer/client:gles2_implementation", | 85 "//gpu/command_buffer/client:gles2_implementation", |
| 86 "//gpu/command_buffer/client:gles2_interface", | 86 "//gpu/command_buffer/client:gles2_interface", |
| 87 "//gpu/ipc/host", | 87 "//gpu/ipc/host", |
| 88 "//ipc", | 88 "//ipc", |
| 89 "//ipc:mojom", | 89 "//ipc:mojom", |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 "cocoa/system_hotkey_helper_mac.h", | 427 "cocoa/system_hotkey_helper_mac.h", |
| 428 "cocoa/system_hotkey_helper_mac.mm", | 428 "cocoa/system_hotkey_helper_mac.mm", |
| 429 "cocoa/system_hotkey_map.h", | 429 "cocoa/system_hotkey_map.h", |
| 430 "cocoa/system_hotkey_map.mm", | 430 "cocoa/system_hotkey_map.mm", |
| 431 | 431 |
| 432 # NOTE: These files are here instead of in compositor_browser_sources | 432 # NOTE: These files are here instead of in compositor_browser_sources |
| 433 # because the latter is not built on Android, whereas these files are | 433 # because the latter is not built on Android, whereas these files are |
| 434 # needed on all platforms. | 434 # needed on all platforms. |
| 435 "compositor/surface_utils.cc", | 435 "compositor/surface_utils.cc", |
| 436 "compositor/surface_utils.h", | 436 "compositor/surface_utils.h", |
| 437 "device_sensors/ambient_light_mac.cc", | |
| 438 "device_sensors/ambient_light_mac.h", | |
| 439 "device_sensors/data_fetcher_shared_memory.h", | |
| 440 "device_sensors/data_fetcher_shared_memory_android.cc", | |
| 441 "device_sensors/data_fetcher_shared_memory_base.cc", | |
| 442 "device_sensors/data_fetcher_shared_memory_base.h", | |
| 443 "device_sensors/data_fetcher_shared_memory_chromeos.cc", | |
| 444 "device_sensors/data_fetcher_shared_memory_default.cc", | |
| 445 "device_sensors/data_fetcher_shared_memory_mac.cc", | |
| 446 "device_sensors/data_fetcher_shared_memory_win.cc", | |
| 447 "device_sensors/device_sensor_host.cc", | |
| 448 "device_sensors/device_sensor_host.h", | |
| 449 "device_sensors/device_sensor_service.cc", | |
| 450 "device_sensors/device_sensor_service.h", | |
| 451 "device_sensors/device_sensors_consts.h", | |
| 452 "device_sensors/sensor_manager_android.cc", | |
| 453 "device_sensors/sensor_manager_android.h", | |
| 454 "device_sensors/sensor_manager_chromeos.cc", | |
| 455 "device_sensors/sensor_manager_chromeos.h", | |
| 456 "devtools/browser_devtools_agent_host.cc", | 437 "devtools/browser_devtools_agent_host.cc", |
| 457 "devtools/browser_devtools_agent_host.h", | 438 "devtools/browser_devtools_agent_host.h", |
| 458 "devtools/devtools_agent_host_impl.cc", | 439 "devtools/devtools_agent_host_impl.cc", |
| 459 "devtools/devtools_agent_host_impl.h", | 440 "devtools/devtools_agent_host_impl.h", |
| 460 "devtools/devtools_frame_trace_recorder.cc", | 441 "devtools/devtools_frame_trace_recorder.cc", |
| 461 "devtools/devtools_frame_trace_recorder.h", | 442 "devtools/devtools_frame_trace_recorder.h", |
| 462 "devtools/devtools_frontend_host_impl.cc", | 443 "devtools/devtools_frontend_host_impl.cc", |
| 463 "devtools/devtools_frontend_host_impl.h", | 444 "devtools/devtools_frontend_host_impl.h", |
| 464 "devtools/devtools_http_handler.cc", | 445 "devtools/devtools_http_handler.cc", |
| 465 "devtools/devtools_http_handler.h", | 446 "devtools/devtools_http_handler.h", |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1564 if (enable_webrtc) { | 1545 if (enable_webrtc) { |
| 1565 sources += [ | 1546 sources += [ |
| 1566 "media/capture/desktop_capture_device.cc", | 1547 "media/capture/desktop_capture_device.cc", |
| 1567 "media/capture/desktop_capture_device.h", | 1548 "media/capture/desktop_capture_device.h", |
| 1568 ] | 1549 ] |
| 1569 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1550 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 1570 } | 1551 } |
| 1571 } | 1552 } |
| 1572 | 1553 |
| 1573 if (is_win) { | 1554 if (is_win) { |
| 1574 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
| 1575 defines += [ | 1555 defines += [ |
| 1576 # This prevents the inclusion of atlhost.h which paired | 1556 # This prevents the inclusion of atlhost.h which paired |
| 1577 # with the windows 8 sdk it does the wrong thing. | 1557 # with the windows 8 sdk it does the wrong thing. |
| 1578 "__ATLHOST_H__", | 1558 "__ATLHOST_H__", |
| 1579 ] | 1559 ] |
| 1580 deps += [ | 1560 deps += [ |
| 1581 "//third_party/iaccessible2", | 1561 "//third_party/iaccessible2", |
| 1582 "//third_party/isimpledom", | 1562 "//third_party/isimpledom", |
| 1583 ] | 1563 ] |
| 1584 libs += [ | 1564 libs += [ |
| 1585 "comctl32.lib", | 1565 "comctl32.lib", |
| 1586 "dinput8.lib", | 1566 "dinput8.lib", |
| 1587 "dwmapi.lib", | 1567 "dwmapi.lib", |
| 1588 "dxguid.lib", | 1568 "dxguid.lib", |
| 1589 "imm32.lib", | 1569 "imm32.lib", |
| 1590 "oleacc.lib", | 1570 "oleacc.lib", |
| 1591 "sensorsapi.lib", | |
| 1592 "portabledeviceguids.lib", | 1571 "portabledeviceguids.lib", |
| 1593 ] | 1572 ] |
| 1594 } | 1573 } |
| 1595 | 1574 |
| 1596 if (use_udev) { | 1575 if (use_udev) { |
| 1597 deps += [ | 1576 deps += [ |
| 1598 "//device/udev_linux", | 1577 "//device/udev_linux", |
| 1599 "//media/capture", | 1578 "//media/capture", |
| 1600 ] | 1579 ] |
| 1601 } | 1580 } |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1805 "screen_orientation/screen_orientation_delegate_android.h", | 1784 "screen_orientation/screen_orientation_delegate_android.h", |
| 1806 "screen_orientation/screen_orientation_listener_android.cc", | 1785 "screen_orientation/screen_orientation_listener_android.cc", |
| 1807 "screen_orientation/screen_orientation_listener_android.h", | 1786 "screen_orientation/screen_orientation_listener_android.h", |
| 1808 "web_contents/web_contents_android.cc", | 1787 "web_contents/web_contents_android.cc", |
| 1809 "web_contents/web_contents_android.h", | 1788 "web_contents/web_contents_android.h", |
| 1810 "web_contents/web_contents_view_android.cc", | 1789 "web_contents/web_contents_view_android.cc", |
| 1811 "web_contents/web_contents_view_android.h", | 1790 "web_contents/web_contents_view_android.h", |
| 1812 ] | 1791 ] |
| 1813 sources -= [ | 1792 sources -= [ |
| 1814 "browser_ipc_logging.cc", | 1793 "browser_ipc_logging.cc", |
| 1815 "device_sensors/data_fetcher_shared_memory_default.cc", | |
| 1816 "media/session/audio_focus_delegate_default.cc", | 1794 "media/session/audio_focus_delegate_default.cc", |
| 1817 "media/session/audio_focus_manager.cc", | 1795 "media/session/audio_focus_manager.cc", |
| 1818 "media/session/audio_focus_manager.h", | 1796 "media/session/audio_focus_manager.h", |
| 1819 "tracing/tracing_ui.cc", | 1797 "tracing/tracing_ui.cc", |
| 1820 "tracing/tracing_ui.h", | 1798 "tracing/tracing_ui.h", |
| 1821 ] | 1799 ] |
| 1822 deps -= [ "//device/battery" ] | 1800 deps -= [ "//device/battery" ] |
| 1823 deps += [ | 1801 deps += [ |
| 1824 "//content/public/android:jni", | 1802 "//content/public/android:jni", |
| 1825 "//media", | 1803 "//media", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1851 "speech/endpointer/energy_endpointer_params.h", | 1829 "speech/endpointer/energy_endpointer_params.h", |
| 1852 "speech/speech_recognition_engine.cc", | 1830 "speech/speech_recognition_engine.cc", |
| 1853 "speech/speech_recognition_engine.h", | 1831 "speech/speech_recognition_engine.h", |
| 1854 "speech/speech_recognizer_impl.cc", | 1832 "speech/speech_recognizer_impl.cc", |
| 1855 "speech/speech_recognizer_impl.h", | 1833 "speech/speech_recognizer_impl.h", |
| 1856 ] | 1834 ] |
| 1857 deps += [ "//third_party/flac" ] | 1835 deps += [ "//third_party/flac" ] |
| 1858 } | 1836 } |
| 1859 | 1837 |
| 1860 if (is_mac) { | 1838 if (is_mac) { |
| 1861 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
| 1862 deps += [ | 1839 deps += [ |
| 1863 "//media", | 1840 "//media", |
| 1864 "//sandbox/mac:sandbox", | 1841 "//sandbox/mac:sandbox", |
| 1865 "//third_party/mozilla", | 1842 "//third_party/mozilla", |
| 1866 "//third_party/sudden_motion_sensor", | |
| 1867 "//ui/accelerated_widget_mac", | 1843 "//ui/accelerated_widget_mac", |
| 1868 ] | 1844 ] |
| 1869 libs += [ | 1845 libs += [ |
| 1870 "Carbon.framework", | 1846 "Carbon.framework", |
| 1871 "QuartzCore.framework", | 1847 "QuartzCore.framework", |
| 1872 "IOSurface.framework", | 1848 "IOSurface.framework", |
| 1873 ] | 1849 ] |
| 1874 } | 1850 } |
| 1875 | 1851 |
| 1876 if (is_chromeos) { | 1852 if (is_chromeos) { |
| 1877 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
| 1878 deps += [ | 1853 deps += [ |
| 1879 "//chromeos", | 1854 "//chromeos", |
| 1880 "//chromeos:power_manager_proto", | 1855 "//chromeos:power_manager_proto", |
| 1881 ] | 1856 ] |
| 1882 } | 1857 } |
| 1883 | 1858 |
| 1884 if (enable_mojo_media) { | 1859 if (enable_mojo_media) { |
| 1885 deps += [ "//media/mojo/interfaces" ] | 1860 deps += [ "//media/mojo/interfaces" ] |
| 1886 } | 1861 } |
| 1887 | 1862 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2029 if (!is_component_build) { | 2004 if (!is_component_build) { |
| 2030 public_deps = [ | 2005 public_deps = [ |
| 2031 ":browser", | 2006 ":browser", |
| 2032 ] | 2007 ] |
| 2033 } else { | 2008 } else { |
| 2034 public_deps = [ | 2009 public_deps = [ |
| 2035 "//third_party/leveldatabase", | 2010 "//third_party/leveldatabase", |
| 2036 ] | 2011 ] |
| 2037 } | 2012 } |
| 2038 } | 2013 } |
| OLD | NEW |