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 | 7 |
8 # Collection of all components. You wouldn't link to this, but this is rather | 8 # Collection of all components. You wouldn't link to this, but this is rather |
9 # to reference the files so they can be compiled by the build system. | 9 # to reference the files so they can be compiled by the build system. |
10 group("all_components") { | 10 group("all_components") { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
186 "//components/web_modal", # Blocked on content. | 186 "//components/web_modal", # Blocked on content. |
187 ] | 187 ] |
188 } | 188 } |
189 | 189 |
190 if (!is_ios && !is_android) { | 190 if (!is_ios && !is_android) { |
191 deps += [ | 191 deps += [ |
192 "//components/copresence", | 192 "//components/copresence", |
193 "//components/storage_monitor", | 193 "//components/storage_monitor", |
194 ] | 194 ] |
195 } | 195 } |
196 | |
197 if (toolkit_views) { | |
198 deps += [ | |
199 "//components/constrained_window", | |
200 ] | |
201 } | |
196 } | 202 } |
197 | 203 |
198 # TODO(GYP) enable when it links. | 204 # TODO(GYP) enable when it links. |
199 if (false) { | 205 if (false) { |
200 | 206 |
201 # To add a unit test to this target, make a "unit_test" source_set in your | 207 # To add a unit test to this target, make a "unit_test" source_set in your |
202 # component (it's important to use a source_set instead of a static library or | 208 # component (it's important to use a source_set instead of a static library or |
203 # no tests will run) and add a reference here. You can add more than one unit | 209 # no tests will run) and add a reference here. You can add more than one unit |
204 # test target if convenient. | 210 # test target if convenient. |
205 test("components_unittests") { | 211 test("components_unittests") { |
206 sources = [ | 212 sources = [ |
207 "test/run_all_unittests.cc", | 213 "test/run_all_unittests.cc", |
208 ] | 214 ] |
209 | 215 |
210 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 216 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
211 # (this would at least include the component itself), they should be on the | 217 # (this would at least include the component itself), they should be on the |
212 # test source set and not here. | 218 # test source set and not here. |
213 deps = [ | 219 deps = [ |
214 "//components/auto_login_parser:unit_tests", | 220 "//components/auto_login_parser:unit_tests", |
215 "//components/autofill/content/browser:unit_tests", | 221 "//components/autofill/content/browser:unit_tests", |
216 "//components/autofill/core/browser:unit_tests", | 222 "//components/autofill/core/browser:unit_tests", |
217 "//components/autofill/core/common:unit_tests", | 223 "//components/autofill/core/common:unit_tests", |
218 "//components/bookmarks/browser:unit_tests", | 224 "//components/bookmarks/browser:unit_tests", |
219 "//components/captive_portal:unit_tests", | 225 "//components/captive_portal:unit_tests", |
220 "//components/cloud_devices/common:unit_tests", | 226 "//components/cloud_devices/common:unit_tests", |
221 "//components/component_updater:unit_tests", | 227 "//components/component_updater:unit_tests", |
228 "//components/constrained_window:unit_tests", | |
msw
2014/10/22 21:32:43
Does this need to be contingent on |toolkit_views|
oshima
2014/10/22 22:39:08
Done.
| |
222 "//components/content_settings/core/browser:unit_tests", | 229 "//components/content_settings/core/browser:unit_tests", |
223 "//components/content_settings/core/common:unit_tests", | 230 "//components/content_settings/core/common:unit_tests", |
224 "//components/crx_file:unit_tests", | 231 "//components/crx_file:unit_tests", |
225 "//components/data_reduction_proxy/core/browser:unit_tests", | 232 "//components/data_reduction_proxy/core/browser:unit_tests", |
226 "//components/data_reduction_proxy/core/common:unit_tests", | 233 "//components/data_reduction_proxy/core/common:unit_tests", |
227 "//components/dom_distiller/core:unit_tests", | 234 "//components/dom_distiller/core:unit_tests", |
228 "//components/domain_reliability:unit_tests", | 235 "//components/domain_reliability:unit_tests", |
229 "//components/omnibox:unit_tests", | 236 "//components/omnibox:unit_tests", |
230 "//components/ownership:unit_tests", | 237 "//components/ownership:unit_tests", |
231 "//components/proximity_auth:unit_tests", | 238 "//components/proximity_auth:unit_tests", |
232 ] | 239 ] |
233 | 240 |
234 # TODO(GYP) need this target. | 241 # TODO(GYP) need this target. |
235 #'breakpad/app/crash_keys_win_unittest.cc', | 242 #'breakpad/app/crash_keys_win_unittest.cc', |
236 | 243 |
237 # Precache tests need these defines. | 244 # Precache tests need these defines. |
238 #configs += [ "//components/precache/core:precache_config" ] | 245 #configs += [ "//components/precache/core:precache_config" ] |
239 } | 246 } |
240 | 247 |
241 } | 248 } |
OLD | NEW |