Blink roll 178200:178213
[chromium-blink-merge.git] / components / BUILD.gn
blobfa70043c3816d39873c9049a64bf6c379ce1c907
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
3 # found in the LICENSE file.
5 # Collection of all components. You wouldn't link to this, but this is rather
6 # to reference the files so they can be compiled by the build system.
7 group("all_components") {
8   visibility = "//:*"  # Only for the root targets to bring in.
10   deps = [
11     "//components/autocomplete",
12     "//components/autofill/content/browser",
13     "//components/autofill/content/common",
14     "//components/autofill/content/renderer",
15     "//components/bookmarks/browser",
16     "//components/bookmarks/common",
17     "//components/bookmarks/test",
18     "//components/captive_portal",
19     "//components/cloud_devices/common",
20     "//components/data_reduction_proxy/browser",
21     "//components/data_reduction_proxy/common",
22     "//components/dom_distiller/core",
23     "//components/domain_reliability",
24     "//components/enhanced_bookmarks",
25     "//components/favicon/core",
26     "//components/favicon_base",
27     "//components/feedback",
28     "//components/history/core/browser",
29     "//components/history/core/common",
30     "//components/history/core/test",
31     "//components/json_schema",
32     "//components/language_usage_metrics",
33     "//components/leveldb_proto",
34     "//components/metrics",
35     "//components/navigation_metrics",
36     "//components/omaha_query_params",
37     "//components/onc",
38     "//components/os_crypt",
39     "//components/policy",
40     "//components/pref_registry",
41     "//components/query_parser",
42     "//components/rappor",
43     "//components/resources:components_resources",
44     "//components/startup_metric_utils",
45     "//components/strings",
46     "//components/tracing",
47     "//components/translate/content/browser",
48     "//components/translate/content/common",
49     "//components/translate/content/renderer",
50     "//components/translate/core/browser",
51     "//components/translate/core/common",
52     "//components/url_fixer",
53     "//components/url_matcher",
54     "//components/usb_service",
55     "//components/user_prefs",
56     "//components/variations",
57     "//components/visitedlink/browser",
58     "//components/visitedlink/common",
59     "//components/visitedlink/renderer",
60     "//components/web_modal",
61     "//components/webdata/common",
62   ]
64   if (is_win || is_mac) {
65     deps += [
66       "//components/wifi",
67     ]
68   }
70   if (!is_ios) {
71     deps += [ "//components/keyed_service/content" ]
72   }
74   if (is_android) {
75     deps -= [
76       "//components/autocomplete",  # Should work, needs checking.
77       "//components/autofill/content/browser",  # Blocked on content/blink.
78       "//components/autofill/content/common",  # Blocked on content.
79       "//components/autofill/content/renderer",  # Blocked on content/blink.
80       "//components/captive_portal",  # Should work, needs checking.
81       "//components/cloud_devices/common",  # Should work, needs checking.
82       "//components/data_reduction_proxy/browser",  # Should work, needs checking.
83       "//components/data_reduction_proxy/common",  # Should work, needs checking.
84       "//components/dom_distiller/core",  # Blocked on content.
85       "//components/domain_reliability",  # Blocked on content.
86       "//components/favicon_base",  # Should work, needs checking.
87       "//components/favicon/core",  # Blocked on keyed service.
88       "//components/feedback",  # Blocked on content.
89       "//components/history/core/browser",  # Should work, needs checking.
90       "//components/history/core/common",  # Should work, needs checking.
91       "//components/history/core/test",  # Should work, needs checking.
92       "//components/json_schema",  # Should work, needs checking.
93       "//components/keyed_service/content",  # Blocked on content.
94       "//components/policy",  # Blocked on content (indirectly via autofill).
95       "//components/rappor",  # Should work, needs checking.
96       "//components/translate/content/browser",  # Blocked on content.
97       "//components/translate/content/common",  # Blocked on content.
98       "//components/translate/content/renderer",  # Blocked on content.
99       "//components/usb_service",  # Blocked on content.
100       "//components/user_prefs",  # Blocked on content.
101       "//components/visitedlink/browser",  # Blocked on content.
102       "//components/visitedlink/common",  # Blocked on content.
103       "//components/visitedlink/renderer",  # Blocked on blink
104       "//components/web_modal",  # Blocked on content.
105     ]
106   }
108   if (!is_ios && !is_android) {
109     deps += [
110       "//components/storage_monitor",
111     ]
112   }