OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'conditions': [ | 6 'conditions': [ |
7 ['android_webview_build == 0', { | 7 ['android_webview_build == 0', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'components_unittests', | 10 'target_name': 'components_unittests', |
11 'type': '<(gtest_target_type)', | 11 'type': '<(gtest_target_type)', |
12 'sources': [ | 12 'sources': [ |
13 'autofill/core/common/form_data_unittest.cc', | 13 'autofill/core/common/form_data_unittest.cc', |
14 'autofill/core/common/form_field_data_unittest.cc', | 14 'autofill/core/common/form_field_data_unittest.cc', |
15 'auto_login_parser/auto_login_parser_unittest.cc', | 15 'auto_login_parser/auto_login_parser_unittest.cc', |
16 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', | 16 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', |
17 'browser_context_keyed_service/dependency_graph_unittest.cc', | 17 'browser_context_keyed_service/dependency_graph_unittest.cc', |
18 'dom_distiller/core/dom_distiller_database_unittest.cc', | 18 'dom_distiller/core/dom_distiller_database_unittest.cc', |
19 'dom_distiller/core/dom_distiller_store_unittest.cc', | 19 'dom_distiller/core/dom_distiller_store_unittest.cc', |
20 'dom_distiller/core/article_entry_unittest.cc', | 20 'dom_distiller/core/article_entry_unittest.cc', |
21 'json_schema/json_schema_validator_unittest.cc', | 21 'json_schema/json_schema_validator_unittest.cc', |
22 'json_schema/json_schema_validator_unittest_base.cc', | 22 'json_schema/json_schema_validator_unittest_base.cc', |
23 'json_schema/json_schema_validator_unittest_base.h', | 23 'json_schema/json_schema_validator_unittest_base.h', |
24 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', | 24 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', |
25 'sessions/serialized_navigation_entry_unittest.cc', | 25 'sessions/serialized_navigation_entry_unittest.cc', |
26 'test/run_all_unittests.cc', | 26 'test/run_all_unittests.cc', |
| 27 'translate/common/translate_metrics_unittest.cc', |
| 28 'translate/common/translate_util_unittest.cc', |
| 29 'translate/language_detection/language_detection_util_unittest.cc', |
27 # TODO(asvitkine): These should be tested on iOS too. | 30 # TODO(asvitkine): These should be tested on iOS too. |
28 'variations/entropy_provider_unittest.cc', | 31 'variations/entropy_provider_unittest.cc', |
29 'variations/metrics_util_unittest.cc', | 32 'variations/metrics_util_unittest.cc', |
30 'variations/variations_associated_data_unittest.cc', | 33 'variations/variations_associated_data_unittest.cc', |
31 'variations/variations_seed_processor_unittest.cc', | 34 'variations/variations_seed_processor_unittest.cc', |
32 'visitedlink/test/visitedlink_unittest.cc', | 35 'visitedlink/test/visitedlink_unittest.cc', |
33 'webdata/encryptor/encryptor_password_mac_unittest.cc', | 36 'webdata/encryptor/encryptor_password_mac_unittest.cc', |
34 'webdata/encryptor/encryptor_unittest.cc', | 37 'webdata/encryptor/encryptor_unittest.cc', |
35 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 38 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
36 ], | 39 ], |
(...skipping 30 matching lines...) Expand all Loading... |
67 'navigation_interception', | 70 'navigation_interception', |
68 | 71 |
69 # Dependencies of policy | 72 # Dependencies of policy |
70 'policy_component', | 73 'policy_component', |
71 | 74 |
72 # Dependencies of sessions | 75 # Dependencies of sessions |
73 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 76 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
74 'sessions', | 77 'sessions', |
75 'sessions_test_support', | 78 'sessions_test_support', |
76 | 79 |
| 80 # Dependencies of translate. |
| 81 'translate_common', |
| 82 'translate_language_detection', |
| 83 |
77 # Dependencies of variations | 84 # Dependencies of variations |
78 'variations', | 85 'variations', |
79 | 86 |
80 # Dependencies of visitedlink | 87 # Dependencies of visitedlink |
81 'visitedlink_browser', | 88 'visitedlink_browser', |
82 'visitedlink_renderer', | 89 'visitedlink_renderer', |
83 '../content/content_resources.gyp:content_resources', | 90 '../content/content_resources.gyp:content_resources', |
84 | 91 |
85 'web_modal', | 92 'web_modal', |
86 ], | 93 ], |
87 'conditions': [ | 94 'conditions': [ |
88 ['OS == "ios"', { | 95 ['OS == "ios"', { |
89 'sources/': [ | 96 'sources/': [ |
90 ['exclude', '\\.cc$'], | 97 ['exclude', '\\.cc$'], |
91 ['include', '^test/run_all_unittests\\.cc$'], | 98 ['include', '^test/run_all_unittests\\.cc$'], |
92 # TODO(ios): Include files here as they are made to work, see | 99 # TODO(ios): Include files here as they are made to work, see |
93 # http://crbug.com/303011. | 100 # http://crbug.com/303011. |
94 # TODO(asvitkine): Bring up varations/ unittests on iOS. | 101 # TODO(asvitkine): Bring up varations/ unittests on iOS. |
95 ['include', '^dom_distiller'], | 102 ['include', '^dom_distiller'], |
| 103 ['include', '^translate'], |
96 ], | 104 ], |
97 'dependencies!': [ | 105 'dependencies!': [ |
98 'autofill_core_common', | 106 'autofill_core_common', |
99 'navigation_interception', | 107 'navigation_interception', |
100 'visitedlink_renderer', | 108 'visitedlink_renderer', |
101 ], | 109 ], |
102 }], | 110 }], |
103 ['OS == "android"', { | 111 ['OS == "android"', { |
104 'sources!': [ | 112 'sources!': [ |
105 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 113 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', | 189 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', |
182 }, | 190 }, |
183 'includes': [ '../build/apk_test.gypi' ], | 191 'includes': [ '../build/apk_test.gypi' ], |
184 }, | 192 }, |
185 ], | 193 ], |
186 }], | 194 }], |
187 ], | 195 ], |
188 }], | 196 }], |
189 ], | 197 ], |
190 } | 198 } |
OLD | NEW |