| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//gpu/vulkan/features.gni") | 8 import("//gpu/vulkan/features.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
| 11 import("//printing/features/features.gni") | 11 import("//printing/features/features.gni") |
| 12 import("//third_party/WebKit/public/public_features.gni") | 12 import("//third_party/WebKit/public/public_features.gni") |
| 13 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 13 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 14 import("//content/content.gni") |
| 14 | 15 |
| 15 source_set("browser") { | 16 content_source_set("browser") { |
| 16 # Only the public target should depend on this. All other targets (even | 17 # Only the public target should depend on this. All other targets (even |
| 17 # internal content ones) should depend on the public one. | 18 # internal content ones) should depend on the public one. |
| 18 visibility = [ | 19 visibility = [ |
| 19 ":for_content_tests", # See top of //content/BUILD.gn for why. | 20 ":for_content_tests", # See top of //content/BUILD.gn for why. |
| 20 "//content/app:*", | 21 "//content/app:*", |
| 21 "//content/public/browser:browser_sources", | 22 "//content/public/browser:browser_sources", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 configs += [ | 25 configs += [ |
| 25 "//build/config:precompiled_headers", | 26 "//build/config:precompiled_headers", |
| (...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1580 "webui/web_ui_message_handler.cc", | 1581 "webui/web_ui_message_handler.cc", |
| 1581 "webui/web_ui_url_loader_factory.cc", | 1582 "webui/web_ui_url_loader_factory.cc", |
| 1582 "webui/web_ui_url_loader_factory.h", | 1583 "webui/web_ui_url_loader_factory.h", |
| 1583 "zygote_host/zygote_communication_linux.cc", | 1584 "zygote_host/zygote_communication_linux.cc", |
| 1584 "zygote_host/zygote_communication_linux.h", | 1585 "zygote_host/zygote_communication_linux.h", |
| 1585 "zygote_host/zygote_handle_linux.cc", | 1586 "zygote_host/zygote_handle_linux.cc", |
| 1586 "zygote_host/zygote_host_impl_linux.cc", | 1587 "zygote_host/zygote_host_impl_linux.cc", |
| 1587 "zygote_host/zygote_host_impl_linux.h", | 1588 "zygote_host/zygote_host_impl_linux.h", |
| 1588 ] | 1589 ] |
| 1589 | 1590 |
| 1591 jumbo_excluded_sources = [ |
| 1592 # Shares constant names with dom_storage/local_storage_context_mojo.cpp |
| 1593 "dom_storage/dom_storage_context_impl.cc", |
| 1594 |
| 1595 # If someone includes net/url_request/url_request_context_getter.h |
| 1596 # in this file, then Bind generation fails when binding |
| 1597 # NavigationURLLoaderImplCore::Start. |
| 1598 "loader/navigation_url_loader_impl.cc", |
| 1599 ] |
| 1600 |
| 1601 if (is_win) { |
| 1602 jumbo_excluded_sources += [ |
| 1603 # Mojo header node.h undefs SendMessage so things that include |
| 1604 # Windows headers can't be grouped with anything that might |
| 1605 # include node.h from mojo. Until we have figured out a way |
| 1606 # for mojo headers and Windows headers to live side by side. |
| 1607 "renderer_host/legacy_render_widget_host_win.cc", |
| 1608 "renderer_host/render_widget_host_view_aura.cc", |
| 1609 ] |
| 1610 } |
| 1611 |
| 1590 if (toolkit_views) { | 1612 if (toolkit_views) { |
| 1591 deps += [ "//ui/events" ] | 1613 deps += [ "//ui/events" ] |
| 1592 } | 1614 } |
| 1593 | 1615 |
| 1594 # ChromeOS also defines linux but their memory-monitors conflict. | 1616 # ChromeOS also defines linux but their memory-monitors conflict. |
| 1595 if (is_chromeos) { | 1617 if (is_chromeos) { |
| 1596 sources += [ | 1618 sources += [ |
| 1597 "memory/memory_monitor_chromeos.cc", | 1619 "memory/memory_monitor_chromeos.cc", |
| 1598 "memory/memory_monitor_chromeos.h", | 1620 "memory/memory_monitor_chromeos.h", |
| 1599 ] | 1621 ] |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1708 ] | 1730 ] |
| 1709 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1731 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 1710 } | 1732 } |
| 1711 } | 1733 } |
| 1712 | 1734 |
| 1713 if (is_win) { | 1735 if (is_win) { |
| 1714 defines += [ | 1736 defines += [ |
| 1715 # This prevents the inclusion of atlhost.h which paired | 1737 # This prevents the inclusion of atlhost.h which paired |
| 1716 # with the windows 8 sdk it does the wrong thing. | 1738 # with the windows 8 sdk it does the wrong thing. |
| 1717 "__ATLHOST_H__", | 1739 "__ATLHOST_H__", |
| 1740 |
| 1741 # Must be defined to get access to M_PI and M_PI_2 in VS. |
| 1742 "_USE_MATH_DEFINES", |
| 1718 ] | 1743 ] |
| 1719 deps += [ | 1744 deps += [ |
| 1720 "//third_party/iaccessible2", | 1745 "//third_party/iaccessible2", |
| 1721 "//third_party/isimpledom", | 1746 "//third_party/isimpledom", |
| 1722 ] | 1747 ] |
| 1723 libs += [ | 1748 libs += [ |
| 1724 "comctl32.lib", | 1749 "comctl32.lib", |
| 1725 "dinput8.lib", | 1750 "dinput8.lib", |
| 1726 "dwmapi.lib", | 1751 "dwmapi.lib", |
| 1727 "dxguid.lib", | 1752 "dxguid.lib", |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2182 if (!is_component_build) { | 2207 if (!is_component_build) { |
| 2183 public_deps = [ | 2208 public_deps = [ |
| 2184 ":browser", | 2209 ":browser", |
| 2185 ] | 2210 ] |
| 2186 } else { | 2211 } else { |
| 2187 public_deps = [ | 2212 public_deps = [ |
| 2188 "//third_party/leveldatabase", | 2213 "//third_party/leveldatabase", |
| 2189 ] | 2214 ] |
| 2190 } | 2215 } |
| 2191 } | 2216 } |
| OLD | NEW |