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

Side by Side Diff: content/browser/BUILD.gn

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 "webui/web_ui_message_handler.cc", 1644 "webui/web_ui_message_handler.cc",
1644 "webui/web_ui_url_loader_factory.cc", 1645 "webui/web_ui_url_loader_factory.cc",
1645 "webui/web_ui_url_loader_factory.h", 1646 "webui/web_ui_url_loader_factory.h",
1646 "zygote_host/zygote_communication_linux.cc", 1647 "zygote_host/zygote_communication_linux.cc",
1647 "zygote_host/zygote_communication_linux.h", 1648 "zygote_host/zygote_communication_linux.h",
1648 "zygote_host/zygote_handle_linux.cc", 1649 "zygote_host/zygote_handle_linux.cc",
1649 "zygote_host/zygote_host_impl_linux.cc", 1650 "zygote_host/zygote_host_impl_linux.cc",
1650 "zygote_host/zygote_host_impl_linux.h", 1651 "zygote_host/zygote_host_impl_linux.h",
1651 ] 1652 ]
1652 1653
1654 jumbo_excluded_sources = [
1655 # Shares constant names with dom_storage/local_storage_context_mojo.cpp
1656 "dom_storage/dom_storage_context_impl.cc",
1657
1658 # If someone includes net/url_request/url_request_context_getter.h
1659 # in this file, then Bind generation fails when binding
1660 # NavigationURLLoaderImplCore::Start.
1661 "loader/navigation_url_loader_impl.cc",
1662
1663 # Too many RecordCancelled.
1664 "web_contents/aura/overscroll_navigation_overlay.cc",
1665
1666 # Too many GetEventAckName.
1667 "renderer_host/input/legacy_input_router_impl.cc",
1668
1669 # Too many kNoDocumentURLErrorMessage, kShutdownErrorMessage,
1670 # GetWebContents()
1671 "service_worker/service_worker_provider_host.cc",
1672 ]
1673
1674 if (is_win) {
1675 jumbo_excluded_sources += [
1676 # Mojo header node.h undefs SendMessage so things that include
1677 # Windows headers can't be grouped with anything that might
1678 # include node.h from mojo. Until we have figured out a way
1679 # for mojo headers and Windows headers to live side by side.
1680 "renderer_host/legacy_render_widget_host_win.cc",
1681 "renderer_host/render_widget_host_view_aura.cc",
1682 ]
1683 }
1684
1653 if (toolkit_views) { 1685 if (toolkit_views) {
1654 deps += [ "//ui/events" ] 1686 deps += [ "//ui/events" ]
1655 } 1687 }
1656 1688
1657 # ChromeOS also defines linux but their memory-monitors conflict. 1689 # ChromeOS also defines linux but their memory-monitors conflict.
1658 if (is_chromeos) { 1690 if (is_chromeos) {
1659 sources += [ 1691 sources += [
1660 "memory/memory_monitor_chromeos.cc", 1692 "memory/memory_monitor_chromeos.cc",
1661 "memory/memory_monitor_chromeos.h", 1693 "memory/memory_monitor_chromeos.h",
1662 ] 1694 ]
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 1810 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
1779 public_deps += [ "//third_party/webrtc_overrides:init_webrtc" ] 1811 public_deps += [ "//third_party/webrtc_overrides:init_webrtc" ]
1780 } 1812 }
1781 } 1813 }
1782 1814
1783 if (is_win) { 1815 if (is_win) {
1784 defines += [ 1816 defines += [
1785 # This prevents the inclusion of atlhost.h which paired 1817 # This prevents the inclusion of atlhost.h which paired
1786 # with the windows 8 sdk it does the wrong thing. 1818 # with the windows 8 sdk it does the wrong thing.
1787 "__ATLHOST_H__", 1819 "__ATLHOST_H__",
1820
1821 # Must be defined to get access to M_PI and M_PI_2 in VS.
1822 "_USE_MATH_DEFINES",
1788 ] 1823 ]
1789 deps += [ 1824 deps += [
1790 "//third_party/iaccessible2", 1825 "//third_party/iaccessible2",
1791 "//third_party/isimpledom", 1826 "//third_party/isimpledom",
1792 ] 1827 ]
1793 libs += [ 1828 libs += [
1794 "comctl32.lib", 1829 "comctl32.lib",
1795 "dinput8.lib", 1830 "dinput8.lib",
1796 "dwmapi.lib", 1831 "dwmapi.lib",
1797 "dxguid.lib", 1832 "dxguid.lib",
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 if (!is_component_build) { 2287 if (!is_component_build) {
2253 public_deps = [ 2288 public_deps = [
2254 ":browser", 2289 ":browser",
2255 ] 2290 ]
2256 } else { 2291 } else {
2257 public_deps = [ 2292 public_deps = [
2258 "//third_party/leveldatabase", 2293 "//third_party/leveldatabase",
2259 ] 2294 ]
2260 } 2295 }
2261 } 2296 }
OLDNEW
« no previous file with comments | « cc/tiles/software_image_decode_cache.cc ('k') | content/browser/accessibility/accessibility_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698