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.
11 "//components/auto_login_parser",
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/breakpad/app",
19 "//components/breakpad/browser",
20 "//components/captive_portal",
21 "//components/cdm/browser",
22 "//components/cdm/common",
23 "//components/cdm/renderer",
24 "//components/cloud_devices/common",
25 "//components/component_updater",
26 "//components/crx_file",
27 "//components/data_reduction_proxy/browser",
28 "//components/data_reduction_proxy/common",
29 "//components/dom_distiller/core",
30 "//components/domain_reliability",
31 "//components/enhanced_bookmarks",
32 "//components/favicon/core",
33 "//components/favicon_base",
34 "//components/feedback",
35 "//components/gcm_driver",
36 "//components/google/core/browser",
37 "//components/history/core/browser",
38 "//components/history/core/common",
39 "//components/history/core/test",
40 "//components/infobars/core",
41 "//components/infobars/test:test_support",
42 "//components/invalidation",
43 "//components/json_schema",
44 "//components/keyed_service/content",
45 "//components/language_usage_metrics",
46 "//components/leveldb_proto",
47 "//components/metrics",
48 "//components/navigation_interception",
49 "//components/navigation_metrics",
50 "//components/network_time",
51 "//components/omaha_query_params",
52 "//components/omnibox",
54 "//components/os_crypt",
55 "//components/pairing",
56 "//components/password_manager/content/browser",
57 "//components/password_manager/core/browser",
58 "//components/password_manager/core/common",
59 "//components/plugins/renderer",
60 "//components/policy",
62 "//components/precache/core",
63 "//components/precache/content",
64 "//components/pref_registry",
65 "//components/query_parser",
66 "//components/rappor",
67 "//components/renderer_context_menu",
68 "//components/resources:components_resources",
69 "//components/search",
70 "//components/search_engines",
71 "//components/search_provider_logos",
72 "//components/sessions",
73 "//components/signin/core/browser",
74 "//components/startup_metric_utils",
75 "//components/strings",
76 "//components/sync_driver",
77 "//components/tracing",
78 "//components/translate/content/browser",
79 "//components/translate/content/common",
80 "//components/translate/content/renderer",
81 "//components/translate/core/browser",
82 "//components/translate/core/common",
83 "//components/url_fixer",
84 "//components/url_matcher",
85 "//components/usb_service",
86 "//components/user_manager",
87 "//components/user_prefs",
88 "//components/variations",
89 "//components/visitedlink/browser",
90 "//components/visitedlink/common",
91 "//components/visitedlink/renderer",
92 "//components/web_modal",
93 "//components/webdata/common",
97 if (!is_win && !is_mac) {
98 deps -= [ "//components/wifi" ]
101 deps -= [ "//components/pairing" ]
105 deps -= [ "//components/keyed_service/content" ]
110 "//components/autofill/content/browser", # Blocked on content/blink.
111 "//components/autofill/content/common", # Blocked on content.
112 "//components/autofill/content/renderer", # Blocked on content/blink.
113 "//components/breakpad/app", # Should work, needs checking.
114 "//components/breakpad/browser", # Should work, needs checking.
115 "//components/captive_portal", # Should work, needs checking.
116 "//components/cloud_devices/common", # Should work, needs checking.
117 "//components/cdm/browser", # Blocked on content.
118 "//components/cdm/common", # Blocked on content.
119 "//components/cdm/renderer", # Blocked on content.
120 "//components/data_reduction_proxy/browser", # Should work, needs checking.
121 "//components/data_reduction_proxy/common", # Should work, needs checking.
122 "//components/dom_distiller/core", # Blocked on content.
123 "//components/domain_reliability", # Blocked on content.
124 "//components/favicon_base", # Should work, needs checking.
125 "//components/favicon/core", # Blocked on keyed service.
126 "//components/feedback", # Blocked on content.
127 "//components/gcm_driver", # Should work, needs checking.
128 "//components/google/core/browser", # Should work, needs checking.
129 "//components/history/core/browser", # Should work, needs checking.
130 "//components/history/core/common", # Should work, needs checking.
131 "//components/history/core/test", # Should work, needs checking.
132 "//components/infobars/core", # Should work, needs checking.
133 "//components/infobars/test:test_support", # Should work, needs checking.
134 "//components/invalidation", # Should work, needs checking.
135 "//components/json_schema", # Should work, needs checking.
136 "//components/keyed_service/content", # Blocked on content.
137 "//components/navigation_interception", # Blocked on content.
138 "//components/omnibox", # Should work, needs checking.
139 "//components/password_manager/content/browser", # Blocked on content.
140 "//components/password_manager/core/browser", # Should work, needs checking.
141 "//components/password_manager/core/common", # Should work, needs checking.
142 "//components/plugins/renderer", # Blocked on blink.
143 "//components/power", # Blocked on content.
144 "//components/policy", # Blocked on content (indirectly via autofill).
145 "//components/precache/content", # Blocked on content.
146 "//components/precache/core", # Should work, needs checking.
147 "//components/rappor", # Should work, needs checking.
148 "//components/renderer_context_menu", # Blocked on content.
149 "//components/search_engines", # Should work, needs checking.
150 "//components/search_provider_logos", # Should work, needs checking.
151 "//components/sessions", # Blocked on content.
152 "//components/signin/core/browser", # Should work, needs checking.
153 "//components/translate/content/browser", # Blocked on content.
154 "//components/translate/content/common", # Blocked on content.
155 "//components/translate/content/renderer", # Blocked on content.
156 "//components/usb_service", # Blocked on content.
157 "//components/user_prefs", # Blocked on content.
158 "//components/visitedlink/browser", # Blocked on content.
159 "//components/visitedlink/common", # Blocked on content.
160 "//components/visitedlink/renderer", # Blocked on blink
161 "//components/web_modal", # Blocked on content.
165 if (!is_ios && !is_android) {
167 "//components/copresence",
168 "//components/storage_monitor",
173 # TODO(GYP) enable when it links.
176 # To add a unit test to this target, make a "unit_test" source_set in your
177 # component (it's important to use a source_set instead of a static library or
178 # no tests will run) and add a reference here. You can add more than one unit
179 # test target if convenient.
180 test("components_unittests") {
182 "test/run_all_unittests.cc",
185 # Add only ":unit_tests" dependencies here. If your tests have dependencies
186 # (this would at least include the component itself), they should be on the
187 # test source set and not here.
189 "//components/auto_login_parser:unit_tests",
190 "//components/autofill/content/browser:unit_tests",
191 "//components/autofill/core/browser:unit_tests",
192 "//components/autofill/core/common:unit_tests",
193 "//components/bookmarks/browser:unit_tests",
194 "//components/captive_portal:unit_tests",
195 "//components/cloud_devices/common:unit_tests",
196 "//components/crx_file:unit_tests",
197 "//components/data_reduction_proxy/browser:unit_tests",
198 "//components/data_reduction_proxy/common:unit_tests",
199 "//components/dom_distiller/core:unit_tests",
200 "//components/domain_reliability:unit_tests",
201 "//components/omnibox:unit_tests",
204 # TODO(GYP) need this target.
205 #'breakpad/app/crash_keys_win_unittest.cc',
207 # Precache tests need these defines.
208 #configs += [ "//components/precache/core:precache_config" ]