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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', | 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', |
12 }, | 12 }, |
13 'conditions': [ | 13 'conditions': [ |
14 ['android_webview_build == 0', { | 14 ['android_webview_build == 0', { |
15 'targets': [ | 15 'targets': [ |
16 { | 16 { |
17 # GN version: //components/components_unittests | 17 # GN version: //components/components_unittests |
18 'target_name': 'components_unittests', | 18 'target_name': 'components_unittests', |
19 'type': '<(gtest_target_type)', | 19 'type': '<(gtest_target_type)', |
20 'sources': [ | 20 'sources': [ |
21 # Note: sources list duplicated in GN build. In the GN build, | 21 # Note: sources list duplicated in GN build. In the GN build, |
erikwright (departed)
2014/10/29 18:18:24
Do you need to update GN files?
mukesh agrawal
2014/10/30 18:41:28
Done.
| |
22 # each component has its own unit tests target defined in its | 22 # each component has its own unit tests target defined in its |
23 # directory that are then linked into the final content_unittests. | 23 # directory that are then linked into the final content_unittests. |
24 'auto_login_parser/auto_login_parser_unittest.cc', | 24 'auto_login_parser/auto_login_parser_unittest.cc', |
25 'autofill/content/browser/content_autofill_driver_unittest.cc', | 25 'autofill/content/browser/content_autofill_driver_unittest.cc', |
26 'autofill/content/browser/request_autocomplete_manager_unittest.cc', | 26 'autofill/content/browser/request_autocomplete_manager_unittest.cc', |
27 'autofill/content/browser/wallet/full_wallet_unittest.cc', | 27 'autofill/content/browser/wallet/full_wallet_unittest.cc', |
28 'autofill/content/browser/wallet/instrument_unittest.cc', | 28 'autofill/content/browser/wallet/instrument_unittest.cc', |
29 'autofill/content/browser/wallet/wallet_address_unittest.cc', | 29 'autofill/content/browser/wallet/wallet_address_unittest.cc', |
30 'autofill/content/browser/wallet/wallet_client_unittest.cc', | 30 'autofill/content/browser/wallet/wallet_client_unittest.cc', |
31 'autofill/content/browser/wallet/wallet_items_unittest.cc', | 31 'autofill/content/browser/wallet/wallet_items_unittest.cc', |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 'variations/metrics_util_unittest.cc', | 263 'variations/metrics_util_unittest.cc', |
264 'variations/net/variations_http_header_provider_unittest.cc', | 264 'variations/net/variations_http_header_provider_unittest.cc', |
265 'variations/study_filtering_unittest.cc', | 265 'variations/study_filtering_unittest.cc', |
266 'variations/variations_associated_data_unittest.cc', | 266 'variations/variations_associated_data_unittest.cc', |
267 'variations/variations_seed_processor_unittest.cc', | 267 'variations/variations_seed_processor_unittest.cc', |
268 'variations/variations_seed_simulator_unittest.cc', | 268 'variations/variations_seed_simulator_unittest.cc', |
269 'visitedlink/test/visitedlink_unittest.cc', | 269 'visitedlink/test/visitedlink_unittest.cc', |
270 'web_cache/browser/web_cache_manager_unittest.cc', | 270 'web_cache/browser/web_cache_manager_unittest.cc', |
271 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 271 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
272 'webdata/common/web_database_migration_unittest.cc', | 272 'webdata/common/web_database_migration_unittest.cc', |
273 'wifi_sync/wifi_security_class_unittest.cc', | |
273 ], | 274 ], |
274 'include_dirs': [ | 275 'include_dirs': [ |
275 '..', | 276 '..', |
276 ], | 277 ], |
277 'dependencies': [ | 278 'dependencies': [ |
278 '../base/base.gyp:base_prefs_test_support', | 279 '../base/base.gyp:base_prefs_test_support', |
279 '../base/base.gyp:test_support_base', | 280 '../base/base.gyp:test_support_base', |
280 # TODO(blundell): Eliminate this dependency by having | 281 # TODO(blundell): Eliminate this dependency by having |
281 # components_unittests have its own pakfile. crbug.com/348563 | 282 # components_unittests have its own pakfile. crbug.com/348563 |
282 '../chrome/chrome_resources.gyp:packed_extra_resources', | 283 '../chrome/chrome_resources.gyp:packed_extra_resources', |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
457 'components.gyp:translate_core_common', | 458 'components.gyp:translate_core_common', |
458 'components.gyp:translate_core_language_detection', | 459 'components.gyp:translate_core_language_detection', |
459 | 460 |
460 # Dependencies of url_fixer | 461 # Dependencies of url_fixer |
461 'components.gyp:url_fixer', | 462 'components.gyp:url_fixer', |
462 '../url/url.gyp:url_lib', | 463 '../url/url.gyp:url_lib', |
463 | 464 |
464 # Dependencies of variations | 465 # Dependencies of variations |
465 'components.gyp:variations', | 466 'components.gyp:variations', |
466 'components.gyp:variations_http_provider', | 467 'components.gyp:variations_http_provider', |
468 | |
469 # Dependencies of wifi_sync | |
470 'components.gyp:wifi_sync', | |
467 ], | 471 ], |
468 'conditions': [ | 472 'conditions': [ |
469 ['toolkit_views == 1', { | 473 ['toolkit_views == 1', { |
470 'sources': [ | 474 'sources': [ |
471 'bookmarks/browser/bookmark_node_data_unittest.cc', | 475 'bookmarks/browser/bookmark_node_data_unittest.cc', |
472 'constrained_window/constrained_window_views_unittest.cc', | 476 'constrained_window/constrained_window_views_unittest.cc', |
473 ], | 477 ], |
474 'dependencies': [ | 478 'dependencies': [ |
475 '<(DEPTH)/ui/views/views.gyp:views_test_support', | 479 '<(DEPTH)/ui/views/views.gyp:views_test_support', |
476 'components.gyp:constrained_window', | 480 'components.gyp:constrained_window', |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1009 'dependencies': [ | 1013 'dependencies': [ |
1010 '../base/allocator/allocator.gyp:allocator', | 1014 '../base/allocator/allocator.gyp:allocator', |
1011 ], | 1015 ], |
1012 }], | 1016 }], |
1013 ], | 1017 ], |
1014 }, | 1018 }, |
1015 ], | 1019 ], |
1016 }], | 1020 }], |
1017 ], | 1021 ], |
1018 } | 1022 } |
OLD | NEW |