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

Side by Side Diff: components/components_tests.gyp

Issue 172473002: Move many of the Autofill unittests into components_unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 }, 11 },
12 'conditions': [ 12 'conditions': [
13 ['android_webview_build == 0', { 13 ['android_webview_build == 0', {
14 'targets': [ 14 'targets': [
15 { 15 {
16 'target_name': 'components_unittests', 16 'target_name': 'components_unittests',
17 'type': '<(gtest_target_type)', 17 'type': '<(gtest_target_type)',
18 'sources': [ 18 'sources': [
19 'auto_login_parser/auto_login_parser_unittest.cc', 19 'auto_login_parser/auto_login_parser_unittest.cc',
20 'autofill/core/browser/address_field_unittest.cc',
21 'autofill/core/browser/address_unittest.cc',
22 'autofill/core/browser/android/auxiliary_profile_unittest_android.cc ',
23 'autofill/core/browser/autofill_country_unittest.cc',
24 'autofill/core/browser/autofill_data_model_unittest.cc',
25 'autofill/core/browser/autofill_download_url_unittest.cc',
26 'autofill/core/browser/autofill_field_unittest.cc',
27 'autofill/core/browser/autofill_merge_unittest.cc',
28 'autofill/core/browser/autofill_profile_unittest.cc',
29 'autofill/core/browser/autofill_regexes_unittest.cc',
30 'autofill/core/browser/autofill_type_unittest.cc',
31 'autofill/core/browser/autofill_xml_parser_unittest.cc',
32 'autofill/core/browser/contact_info_unittest.cc',
33 'autofill/core/browser/credit_card_field_unittest.cc',
34 'autofill/core/browser/credit_card_unittest.cc',
35 'autofill/core/browser/form_field_unittest.cc',
36 'autofill/core/browser/form_structure_unittest.cc',
37 'autofill/core/browser/password_generator_unittest.cc',
38 'autofill/core/browser/phone_field_unittest.cc',
39 'autofill/core/browser/phone_number_unittest.cc',
40 'autofill/core/browser/phone_number_i18n_unittest.cc',
41 'autofill/core/browser/validation_unittest.cc',
20 'autofill/core/browser/webdata/autofill_entry_unittest.cc', 42 'autofill/core/browser/webdata/autofill_entry_unittest.cc',
21 'autofill/core/browser/webdata/web_data_service_unittest.cc', 43 'autofill/core/browser/webdata/web_data_service_unittest.cc',
22 'autofill/core/common/form_data_unittest.cc', 44 'autofill/core/common/form_data_unittest.cc',
23 'autofill/core/common/form_field_data_unittest.cc', 45 'autofill/core/common/form_field_data_unittest.cc',
24 'autofill/core/common/password_form_fill_data_unittest.cc', 46 'autofill/core/common/password_form_fill_data_unittest.cc',
25 'browser_context_keyed_service/browser_context_dependency_manager_un ittest.cc', 47 'browser_context_keyed_service/browser_context_dependency_manager_un ittest.cc',
26 'browser_context_keyed_service/dependency_graph_unittest.cc', 48 'browser_context_keyed_service/dependency_graph_unittest.cc',
27 'cloud_devices/printer_description_unittest.cc', 49 'cloud_devices/printer_description_unittest.cc',
28 'dom_distiller/core/article_entry_unittest.cc', 50 'dom_distiller/core/article_entry_unittest.cc',
29 'dom_distiller/core/distiller_unittest.cc', 51 'dom_distiller/core/distiller_unittest.cc',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 'encryptor/encryptor_unittest.cc', 112 'encryptor/encryptor_unittest.cc',
91 'encryptor/ie7_password_unittest_win.cc', 113 'encryptor/ie7_password_unittest_win.cc',
92 'web_modal/web_contents_modal_dialog_manager_unittest.cc', 114 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
93 ], 115 ],
94 'include_dirs': [ 116 'include_dirs': [
95 '..', 117 '..',
96 ], 118 ],
97 'dependencies': [ 119 'dependencies': [
98 '../base/base.gyp:base_prefs_test_support', 120 '../base/base.gyp:base_prefs_test_support',
99 '../base/base.gyp:test_support_base', 121 '../base/base.gyp:test_support_base',
122 # TODO(blundell): Create a bug for eliminating the need for this
123 # and reference the bug here.
124 '../chrome/chrome_resources.gyp:packed_extra_resources',
100 # TODO(blundell): Eliminate the need for this dependency in code 125 # TODO(blundell): Eliminate the need for this dependency in code
101 # that iOS shares. crbug.com/325243 126 # that iOS shares. crbug.com/325243
102 '../content/content_shell_and_tests.gyp:test_support_content', 127 '../content/content_shell_and_tests.gyp:test_support_content',
103 '../sync/sync.gyp:sync', 128 '../sync/sync.gyp:sync',
104 '../testing/gmock.gyp:gmock', 129 '../testing/gmock.gyp:gmock',
105 '../testing/gtest.gyp:gtest', 130 '../testing/gtest.gyp:gtest',
106 '../ui/gfx/gfx.gyp:gfx', 131 '../ui/gfx/gfx.gyp:gfx',
107 '../ui/ui.gyp:ui', 132 '../ui/ui.gyp:ui',
108 133
109 # Dependencies of auto_login_parser 134 # Dependencies of auto_login_parser
110 'components.gyp:auto_login_parser', 135 'components.gyp:auto_login_parser',
111 136
112 # Dependencies of autofill 137 # Dependencies of autofill
113 'components.gyp:autofill_core_browser', 138 'components.gyp:autofill_core_browser',
114 'components.gyp:autofill_core_common', 139 'components.gyp:autofill_core_common',
115 'components.gyp:autofill_core_test_support', 140 'components.gyp:autofill_core_test_support',
141 'component_strings.gyp:component_strings',
142 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
116 143
117 # Dependencies of cloud_devices 144 # Dependencies of cloud_devices
118 'components.gyp:cloud_devices', 145 'components.gyp:cloud_devices',
119 146
120 # Dependencies of dom_distiller 147 # Dependencies of dom_distiller
121 'components.gyp:distilled_page_proto', 148 'components.gyp:distilled_page_proto',
122 'components.gyp:dom_distiller_core', 149 'components.gyp:dom_distiller_core',
123 'components.gyp:dom_distiller_test_support', 150 'components.gyp:dom_distiller_test_support',
124 151
125 # Dependencies of encryptor 152 # Dependencies of encryptor
(...skipping 26 matching lines...) Expand all
152 'components.gyp:translate_core_browser', 179 'components.gyp:translate_core_browser',
153 'components.gyp:translate_core_common', 180 'components.gyp:translate_core_common',
154 'components.gyp:translate_language_detection', 181 'components.gyp:translate_language_detection',
155 182
156 # Dependencies of variations 183 # Dependencies of variations
157 'components.gyp:variations', 184 'components.gyp:variations',
158 ], 185 ],
159 'conditions': [ 186 'conditions': [
160 ['OS != "ios"', { 187 ['OS != "ios"', {
161 'dependencies': [ 188 'dependencies': [
189 # Dependencies of autofill/core/browser/credit_card_unittest.cc.
190 # TODO(blundell): Eliminate the need for this conditional
191 # dependence. crbug.com/328150
192 '../webkit/webkit_resources.gyp:webkit_resources',
193
162 # Dependencies of browser_context_keyed_service 194 # Dependencies of browser_context_keyed_service
163 'components.gyp:browser_context_keyed_service', 195 'components.gyp:browser_context_keyed_service',
164 196
165 # Dependencies of 197 # Dependencies of
166 # intercept_navigation_resource_throttle_unittest.cc 198 # intercept_navigation_resource_throttle_unittest.cc
167 '../skia/skia.gyp:skia', 199 '../skia/skia.gyp:skia',
168 'components.gyp:navigation_interception', 200 'components.gyp:navigation_interception',
169 201
170 # Dependencies of precache/content 202 # Dependencies of precache/content
171 'components.gyp:precache_content', 203 'components.gyp:precache_content',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 'nacl/browser/pnacl_host_unittest.cc', 261 'nacl/browser/pnacl_host_unittest.cc',
230 'nacl/browser/pnacl_translation_cache_unittest.cc', 262 'nacl/browser/pnacl_translation_cache_unittest.cc',
231 'nacl/browser/test_nacl_browser_delegate.cc', 263 'nacl/browser/test_nacl_browser_delegate.cc',
232 ], 264 ],
233 'dependencies': [ 265 'dependencies': [
234 'nacl.gyp:nacl_browser', 266 'nacl.gyp:nacl_browser',
235 'nacl.gyp:nacl_common', 267 'nacl.gyp:nacl_common',
236 ], 268 ],
237 }], 269 }],
238 ['OS == "mac"', { 270 ['OS == "mac"', {
271 'dependencies': [
272 # TODO(blundell): Create a bug for eliminating the need for this
273 # and reference the bug here.
274 '../chrome/chrome.gyp:common',
275 ],
239 'link_settings': { 276 'link_settings': {
240 'libraries': [ 277 'libraries': [
241 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', 278 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
242 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 279 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
243 '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framewo rk', 280 '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framewo rk',
244 ], 281 ],
245 }, 282 },
246 'sources!': [ 283 'sources!': [
247 'password_manager/core/browser/password_store_default_unittest.c c', 284 'password_manager/core/browser/password_store_default_unittest.c c',
248 ], 285 ],
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 'dependencies': [ 522 'dependencies': [
486 '../base/allocator/allocator.gyp:allocator', 523 '../base/allocator/allocator.gyp:allocator',
487 ], 524 ],
488 }], 525 }],
489 ], 526 ],
490 }, 527 },
491 ], 528 ],
492 }], 529 }],
493 ], 530 ],
494 } 531 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698