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

Side by Side Diff: components/components_tests.gyp

Issue 398423007: Add initial components unit tests to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 { 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 'target_name': 'components_unittests', 18 'target_name': 'components_unittests',
18 'type': '<(gtest_target_type)', 19 'type': '<(gtest_target_type)',
19 'sources': [ 20 'sources': [
21 # Note: sources list duplicated in GN build. In the GN build,
22 # each component has its own unit tests target defined in its
23 # directory that are then linked into the final content_unittests.
20 'auto_login_parser/auto_login_parser_unittest.cc', 24 'auto_login_parser/auto_login_parser_unittest.cc',
21 'autocomplete/autocomplete_input_unittest.cc', 25 'autocomplete/autocomplete_input_unittest.cc',
22 'autofill/content/browser/content_autofill_driver_unittest.cc', 26 'autofill/content/browser/content_autofill_driver_unittest.cc',
23 'autofill/content/browser/request_autocomplete_manager_unittest.cc', 27 'autofill/content/browser/request_autocomplete_manager_unittest.cc',
24 'autofill/content/browser/wallet/full_wallet_unittest.cc', 28 'autofill/content/browser/wallet/full_wallet_unittest.cc',
25 'autofill/content/browser/wallet/instrument_unittest.cc', 29 'autofill/content/browser/wallet/instrument_unittest.cc',
26 'autofill/content/browser/wallet/wallet_address_unittest.cc', 30 'autofill/content/browser/wallet/wallet_address_unittest.cc',
27 'autofill/content/browser/wallet/wallet_client_unittest.cc', 31 'autofill/content/browser/wallet/wallet_client_unittest.cc',
28 'autofill/content/browser/wallet/wallet_items_unittest.cc', 32 'autofill/content/browser/wallet/wallet_items_unittest.cc',
29 'autofill/content/browser/wallet/wallet_service_url_unittest.cc', 33 'autofill/content/browser/wallet/wallet_service_url_unittest.cc',
(...skipping 27 matching lines...) Expand all
57 'autofill/core/browser/phone_number_i18n_unittest.cc', 61 'autofill/core/browser/phone_number_i18n_unittest.cc',
58 'autofill/core/browser/phone_number_unittest.cc', 62 'autofill/core/browser/phone_number_unittest.cc',
59 'autofill/core/browser/validation_unittest.cc', 63 'autofill/core/browser/validation_unittest.cc',
60 'autofill/core/browser/webdata/autofill_profile_syncable_service_uni ttest.cc', 64 'autofill/core/browser/webdata/autofill_profile_syncable_service_uni ttest.cc',
61 'autofill/core/browser/webdata/autofill_table_unittest.cc', 65 'autofill/core/browser/webdata/autofill_table_unittest.cc',
62 'autofill/core/browser/webdata/web_data_service_unittest.cc', 66 'autofill/core/browser/webdata/web_data_service_unittest.cc',
63 'autofill/core/common/form_data_unittest.cc', 67 'autofill/core/common/form_data_unittest.cc',
64 'autofill/core/common/form_field_data_unittest.cc', 68 'autofill/core/common/form_field_data_unittest.cc',
65 'autofill/core/common/password_form_fill_data_unittest.cc', 69 'autofill/core/common/password_form_fill_data_unittest.cc',
66 'autofill/core/common/save_password_progress_logger_unittest.cc', 70 'autofill/core/common/save_password_progress_logger_unittest.cc',
71 # Note: GN tests converted to here, need to do the rest.
67 'bookmarks/browser/bookmark_codec_unittest.cc', 72 'bookmarks/browser/bookmark_codec_unittest.cc',
68 'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc', 73 'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc',
69 'bookmarks/browser/bookmark_index_unittest.cc', 74 'bookmarks/browser/bookmark_index_unittest.cc',
70 'bookmarks/browser/bookmark_model_unittest.cc', 75 'bookmarks/browser/bookmark_model_unittest.cc',
71 'bookmarks/browser/bookmark_utils_unittest.cc', 76 'bookmarks/browser/bookmark_utils_unittest.cc',
72 'breakpad/app/crash_keys_win_unittest.cc', 77 'breakpad/app/crash_keys_win_unittest.cc',
73 'captive_portal/captive_portal_detector_unittest.cc', 78 'captive_portal/captive_portal_detector_unittest.cc',
74 'cloud_devices/common/cloud_devices_urls_unittest.cc', 79 'cloud_devices/common/cloud_devices_urls_unittest.cc',
75 'cloud_devices/common/printer_description_unittest.cc', 80 'cloud_devices/common/printer_description_unittest.cc',
76 'data_reduction_proxy/browser/data_reduction_proxy_auth_request_hand ler_unittest.cc', 81 'data_reduction_proxy/browser/data_reduction_proxy_auth_request_hand ler_unittest.cc',
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 'dependencies': [ 845 'dependencies': [
841 '../base/allocator/allocator.gyp:allocator', 846 '../base/allocator/allocator.gyp:allocator',
842 ], 847 ],
843 }], 848 }],
844 ], 849 ],
845 }, 850 },
846 ], 851 ],
847 }], 852 }],
848 ], 853 ],
849 } 854 }
OLDNEW
« components/autofill/core/common/BUILD.gn ('K') | « components/autofill/core/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698