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/wake_lock", | 81 "//device/wake_lock", |
82 "//gin", | 82 "//gin", |
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 "cocoa/system_hotkey_helper_mac.h", | 425 "cocoa/system_hotkey_helper_mac.h", |
426 "cocoa/system_hotkey_helper_mac.mm", | 426 "cocoa/system_hotkey_helper_mac.mm", |
427 "cocoa/system_hotkey_map.h", | 427 "cocoa/system_hotkey_map.h", |
428 "cocoa/system_hotkey_map.mm", | 428 "cocoa/system_hotkey_map.mm", |
429 | 429 |
430 # NOTE: These files are here instead of in compositor_browser_sources | 430 # NOTE: These files are here instead of in compositor_browser_sources |
431 # because the latter is not built on Android, whereas these files are | 431 # because the latter is not built on Android, whereas these files are |
432 # needed on all platforms. | 432 # needed on all platforms. |
433 "compositor/surface_utils.cc", | 433 "compositor/surface_utils.cc", |
434 "compositor/surface_utils.h", | 434 "compositor/surface_utils.h", |
435 "device_sensors/ambient_light_mac.cc", | |
436 "device_sensors/ambient_light_mac.h", | |
437 "device_sensors/data_fetcher_shared_memory.h", | |
438 "device_sensors/data_fetcher_shared_memory_android.cc", | |
439 "device_sensors/data_fetcher_shared_memory_base.cc", | |
440 "device_sensors/data_fetcher_shared_memory_base.h", | |
441 "device_sensors/data_fetcher_shared_memory_chromeos.cc", | |
442 "device_sensors/data_fetcher_shared_memory_default.cc", | |
443 "device_sensors/data_fetcher_shared_memory_mac.cc", | |
444 "device_sensors/data_fetcher_shared_memory_win.cc", | |
445 "device_sensors/device_sensor_host.cc", | |
446 "device_sensors/device_sensor_host.h", | |
447 "device_sensors/device_sensor_service.cc", | |
448 "device_sensors/device_sensor_service.h", | |
449 "device_sensors/device_sensors_consts.h", | |
450 "device_sensors/sensor_manager_android.cc", | |
451 "device_sensors/sensor_manager_android.h", | |
452 "device_sensors/sensor_manager_chromeos.cc", | |
453 "device_sensors/sensor_manager_chromeos.h", | |
454 "devtools/browser_devtools_agent_host.cc", | 435 "devtools/browser_devtools_agent_host.cc", |
455 "devtools/browser_devtools_agent_host.h", | 436 "devtools/browser_devtools_agent_host.h", |
456 "devtools/devtools_agent_host_impl.cc", | 437 "devtools/devtools_agent_host_impl.cc", |
457 "devtools/devtools_agent_host_impl.h", | 438 "devtools/devtools_agent_host_impl.h", |
458 "devtools/devtools_frame_trace_recorder.cc", | 439 "devtools/devtools_frame_trace_recorder.cc", |
459 "devtools/devtools_frame_trace_recorder.h", | 440 "devtools/devtools_frame_trace_recorder.h", |
460 "devtools/devtools_frontend_host_impl.cc", | 441 "devtools/devtools_frontend_host_impl.cc", |
461 "devtools/devtools_frontend_host_impl.h", | 442 "devtools/devtools_frontend_host_impl.h", |
462 "devtools/devtools_http_handler.cc", | 443 "devtools/devtools_http_handler.cc", |
463 "devtools/devtools_http_handler.h", | 444 "devtools/devtools_http_handler.h", |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1547 if (enable_webrtc) { | 1528 if (enable_webrtc) { |
1548 sources += [ | 1529 sources += [ |
1549 "media/capture/desktop_capture_device.cc", | 1530 "media/capture/desktop_capture_device.cc", |
1550 "media/capture/desktop_capture_device.h", | 1531 "media/capture/desktop_capture_device.h", |
1551 ] | 1532 ] |
1552 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1533 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
1553 } | 1534 } |
1554 } | 1535 } |
1555 | 1536 |
1556 if (is_win) { | 1537 if (is_win) { |
1557 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
1558 defines += [ | 1538 defines += [ |
1559 # This prevents the inclusion of atlhost.h which paired | 1539 # This prevents the inclusion of atlhost.h which paired |
1560 # with the windows 8 sdk it does the wrong thing. | 1540 # with the windows 8 sdk it does the wrong thing. |
1561 "__ATLHOST_H__", | 1541 "__ATLHOST_H__", |
1562 ] | 1542 ] |
1563 deps += [ | 1543 deps += [ |
1564 "//third_party/iaccessible2", | 1544 "//third_party/iaccessible2", |
1565 "//third_party/isimpledom", | 1545 "//third_party/isimpledom", |
1566 ] | 1546 ] |
1567 libs += [ | 1547 libs += [ |
1568 "comctl32.lib", | 1548 "comctl32.lib", |
1569 "dinput8.lib", | 1549 "dinput8.lib", |
1570 "dwmapi.lib", | 1550 "dwmapi.lib", |
1571 "dxguid.lib", | 1551 "dxguid.lib", |
1572 "imm32.lib", | 1552 "imm32.lib", |
1573 "oleacc.lib", | 1553 "oleacc.lib", |
1574 "sensorsapi.lib", | |
1575 "portabledeviceguids.lib", | 1554 "portabledeviceguids.lib", |
1576 ] | 1555 ] |
1577 } | 1556 } |
1578 | 1557 |
1579 if (use_udev) { | 1558 if (use_udev) { |
1580 deps += [ | 1559 deps += [ |
1581 "//device/udev_linux", | 1560 "//device/udev_linux", |
1582 "//media/capture", | 1561 "//media/capture", |
1583 ] | 1562 ] |
1584 } | 1563 } |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1788 "screen_orientation/screen_orientation_delegate_android.h", | 1767 "screen_orientation/screen_orientation_delegate_android.h", |
1789 "screen_orientation/screen_orientation_listener_android.cc", | 1768 "screen_orientation/screen_orientation_listener_android.cc", |
1790 "screen_orientation/screen_orientation_listener_android.h", | 1769 "screen_orientation/screen_orientation_listener_android.h", |
1791 "web_contents/web_contents_android.cc", | 1770 "web_contents/web_contents_android.cc", |
1792 "web_contents/web_contents_android.h", | 1771 "web_contents/web_contents_android.h", |
1793 "web_contents/web_contents_view_android.cc", | 1772 "web_contents/web_contents_view_android.cc", |
1794 "web_contents/web_contents_view_android.h", | 1773 "web_contents/web_contents_view_android.h", |
1795 ] | 1774 ] |
1796 sources -= [ | 1775 sources -= [ |
1797 "browser_ipc_logging.cc", | 1776 "browser_ipc_logging.cc", |
1798 "device_sensors/data_fetcher_shared_memory_default.cc", | |
1799 "media/session/audio_focus_delegate_default.cc", | 1777 "media/session/audio_focus_delegate_default.cc", |
1800 "media/session/audio_focus_manager.cc", | 1778 "media/session/audio_focus_manager.cc", |
1801 "media/session/audio_focus_manager.h", | 1779 "media/session/audio_focus_manager.h", |
1802 "tracing/tracing_ui.cc", | 1780 "tracing/tracing_ui.cc", |
1803 "tracing/tracing_ui.h", | 1781 "tracing/tracing_ui.h", |
1804 ] | 1782 ] |
1805 deps -= [ "//device/battery" ] | 1783 deps -= [ "//device/battery" ] |
1806 deps += [ | 1784 deps += [ |
1807 "//content/public/android:jni", | 1785 "//content/public/android:jni", |
1808 "//media", | 1786 "//media", |
(...skipping 25 matching lines...) Expand all Loading... |
1834 "speech/endpointer/energy_endpointer_params.h", | 1812 "speech/endpointer/energy_endpointer_params.h", |
1835 "speech/speech_recognition_engine.cc", | 1813 "speech/speech_recognition_engine.cc", |
1836 "speech/speech_recognition_engine.h", | 1814 "speech/speech_recognition_engine.h", |
1837 "speech/speech_recognizer_impl.cc", | 1815 "speech/speech_recognizer_impl.cc", |
1838 "speech/speech_recognizer_impl.h", | 1816 "speech/speech_recognizer_impl.h", |
1839 ] | 1817 ] |
1840 deps += [ "//third_party/flac" ] | 1818 deps += [ "//third_party/flac" ] |
1841 } | 1819 } |
1842 | 1820 |
1843 if (is_mac) { | 1821 if (is_mac) { |
1844 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
1845 deps += [ | 1822 deps += [ |
1846 "//media", | 1823 "//media", |
1847 "//sandbox/mac:sandbox", | 1824 "//sandbox/mac:sandbox", |
1848 "//third_party/mozilla", | 1825 "//third_party/mozilla", |
1849 "//third_party/sudden_motion_sensor", | |
1850 "//ui/accelerated_widget_mac", | 1826 "//ui/accelerated_widget_mac", |
1851 ] | 1827 ] |
1852 libs += [ | 1828 libs += [ |
1853 "Carbon.framework", | 1829 "Carbon.framework", |
1854 "QuartzCore.framework", | 1830 "QuartzCore.framework", |
1855 "IOSurface.framework", | 1831 "IOSurface.framework", |
1856 ] | 1832 ] |
1857 } | 1833 } |
1858 | 1834 |
1859 if (is_chromeos) { | 1835 if (is_chromeos) { |
1860 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | |
1861 deps += [ | 1836 deps += [ |
1862 "//chromeos", | 1837 "//chromeos", |
1863 "//chromeos:power_manager_proto", | 1838 "//chromeos:power_manager_proto", |
1864 ] | 1839 ] |
1865 } | 1840 } |
1866 | 1841 |
1867 if (enable_mojo_media) { | 1842 if (enable_mojo_media) { |
1868 deps += [ "//media/mojo/interfaces" ] | 1843 deps += [ "//media/mojo/interfaces" ] |
1869 } | 1844 } |
1870 | 1845 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 if (!is_component_build) { | 1993 if (!is_component_build) { |
2019 public_deps = [ | 1994 public_deps = [ |
2020 ":browser", | 1995 ":browser", |
2021 ] | 1996 ] |
2022 } else { | 1997 } else { |
2023 public_deps = [ | 1998 public_deps = [ |
2024 "//third_party/leveldatabase", | 1999 "//third_party/leveldatabase", |
2025 ] | 2000 ] |
2026 } | 2001 } |
2027 } | 2002 } |
OLD | NEW |