OLD | NEW |
---|---|
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
72 'webdata/encryptor/encryptor_unittest.cc', | 94 'webdata/encryptor/encryptor_unittest.cc', |
73 'webdata/encryptor/ie7_password_unittest_win.cc', | 95 'webdata/encryptor/ie7_password_unittest_win.cc', |
74 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 96 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
75 ], | 97 ], |
76 'include_dirs': [ | 98 'include_dirs': [ |
77 '..', | 99 '..', |
78 ], | 100 ], |
79 'dependencies': [ | 101 'dependencies': [ |
80 '../base/base.gyp:base_prefs_test_support', | 102 '../base/base.gyp:base_prefs_test_support', |
81 '../base/base.gyp:test_support_base', | 103 '../base/base.gyp:test_support_base', |
104 # TODO(blundell): If we stick with this approach, need to create | |
105 # a bug for eliminating the need for these and reference the bug | |
106 # here. | |
107 '../chrome/chrome.gyp:common', | |
108 '../chrome/chrome_resources.gyp:packed_resources', | |
82 # TODO(blundell): Eliminate the need for this dependency in code | 109 # TODO(blundell): Eliminate the need for this dependency in code |
83 # that iOS shares. crbug.com/325243 | 110 # that iOS shares. crbug.com/325243 |
84 '../content/content_shell_and_tests.gyp:test_support_content', | 111 '../content/content_shell_and_tests.gyp:test_support_content', |
85 '../sync/sync.gyp:sync', | 112 '../sync/sync.gyp:sync', |
86 '../testing/gmock.gyp:gmock', | 113 '../testing/gmock.gyp:gmock', |
87 '../testing/gtest.gyp:gtest', | 114 '../testing/gtest.gyp:gtest', |
88 '../ui/gfx/gfx.gyp:gfx', | 115 '../ui/gfx/gfx.gyp:gfx', |
89 '../ui/ui.gyp:ui', | 116 '../ui/ui.gyp:ui', |
90 | 117 |
91 # Dependencies of auto_login_parser | 118 # Dependencies of auto_login_parser |
92 'components.gyp:auto_login_parser', | 119 'components.gyp:auto_login_parser', |
93 | 120 |
94 # Dependencies of autofill | 121 # Dependencies of autofill |
95 'components.gyp:autofill_core_browser', | 122 'components.gyp:autofill_core_browser', |
96 'components.gyp:autofill_core_common', | 123 'components.gyp:autofill_core_common', |
97 'components.gyp:autofill_core_test_support', | 124 'components.gyp:autofill_core_test_support', |
125 'component_strings.gyp:component_strings', | |
126 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | |
98 | 127 |
99 # Dependencies of cloud_devices | 128 # Dependencies of cloud_devices |
100 'components.gyp:cloud_devices', | 129 'components.gyp:cloud_devices', |
101 | 130 |
102 # Dependencies of dom_distiller | 131 # Dependencies of dom_distiller |
103 'components.gyp:distilled_page_proto', | 132 'components.gyp:distilled_page_proto', |
104 'components.gyp:dom_distiller_core', | 133 'components.gyp:dom_distiller_core', |
105 'components.gyp:dom_distiller_test_support', | 134 'components.gyp:dom_distiller_test_support', |
106 | 135 |
107 # Dependencies of encryptor | 136 # Dependencies of encryptor |
(...skipping 23 matching lines...) Expand all Loading... | |
131 'components.gyp:translate_core_browser', | 160 'components.gyp:translate_core_browser', |
132 'components.gyp:translate_core_common', | 161 'components.gyp:translate_core_common', |
133 'components.gyp:translate_language_detection', | 162 'components.gyp:translate_language_detection', |
134 | 163 |
135 # Dependencies of variations | 164 # Dependencies of variations |
136 'components.gyp:variations', | 165 'components.gyp:variations', |
137 ], | 166 ], |
138 'conditions': [ | 167 'conditions': [ |
139 ['OS != "ios"', { | 168 ['OS != "ios"', { |
140 'dependencies': [ | 169 'dependencies': [ |
170 # Dependencies of autofill/core/browser/credit_card_unittest.cc. | |
171 # TODO(blundell): Eliminate the need for this conditional | |
172 # dependence. crbug.com/328150 | |
173 '../webkit/webkit_resources.gyp:webkit_resources', | |
tfarina
2014/02/21 19:20:34
we need to see if webkit needs to load these Autof
Ilya Sherman
2014/02/22 00:30:15
Blink no longer needs to load these resources; the
| |
174 | |
141 # Dependencies of browser_context_keyed_service | 175 # Dependencies of browser_context_keyed_service |
142 'components.gyp:browser_context_keyed_service', | 176 'components.gyp:browser_context_keyed_service', |
143 | 177 |
144 # Dependencies of | 178 # Dependencies of |
145 # intercept_navigation_resource_throttle_unittest.cc | 179 # intercept_navigation_resource_throttle_unittest.cc |
146 '../skia/skia.gyp:skia', | 180 '../skia/skia.gyp:skia', |
147 'components.gyp:navigation_interception', | 181 'components.gyp:navigation_interception', |
148 | 182 |
149 # Dependencies of precache/content | 183 # Dependencies of precache/content |
150 'components.gyp:precache_content', | 184 'components.gyp:precache_content', |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
435 'dependencies': [ | 469 'dependencies': [ |
436 '../base/allocator/allocator.gyp:allocator', | 470 '../base/allocator/allocator.gyp:allocator', |
437 ], | 471 ], |
438 }], | 472 }], |
439 ], | 473 ], |
440 }, | 474 }, |
441 ], | 475 ], |
442 }], | 476 }], |
443 ], | 477 ], |
444 } | 478 } |
OLD | NEW |