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 ['OS != "ios" and 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', |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 'variations', | 77 'variations', |
78 | 78 |
79 # Dependencies of visitedlink | 79 # Dependencies of visitedlink |
80 'visitedlink_browser', | 80 'visitedlink_browser', |
81 'visitedlink_renderer', | 81 'visitedlink_renderer', |
82 '../content/content_resources.gyp:content_resources', | 82 '../content/content_resources.gyp:content_resources', |
83 | 83 |
84 'web_modal', | 84 'web_modal', |
85 ], | 85 ], |
86 'conditions': [ | 86 'conditions': [ |
| 87 ['OS == "ios"', { |
| 88 'sources/': [ |
| 89 ['exclude', '\\.cc$'], |
| 90 ['include', '^test/run_all_unittests\\.cc$'], |
| 91 # TODO(ios): Include files here as they are made to work, see |
| 92 # http://crbug.com/303011. |
| 93 # TODO(asvitkine): Bring up varations/ unittests on iOS. |
| 94 ['include', '^dom_distiller'], |
| 95 ], |
| 96 'dependencies!': [ |
| 97 'autofill_core_common', |
| 98 'navigation_interception', |
| 99 'visitedlink_renderer', |
| 100 ], |
| 101 }], |
87 ['OS == "android"', { | 102 ['OS == "android"', { |
88 'sources!': [ | 103 'sources!': [ |
89 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 104 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
90 ], | 105 ], |
91 'dependencies!': [ | 106 'dependencies!': [ |
92 'web_modal', | 107 'web_modal', |
93 ], | 108 ], |
94 }], | 109 }], |
95 ['OS == "android" and gtest_target_type == "shared_library"', { | 110 ['OS == "android" and gtest_target_type == "shared_library"', { |
96 'dependencies': [ | 111 'dependencies': [ |
(...skipping 15 matching lines...) Expand all Loading... |
112 }], | 127 }], |
113 ['configuration_policy==1', { | 128 ['configuration_policy==1', { |
114 'sources': [ | 129 'sources': [ |
115 'policy/core/common/schema_unittest.cc', | 130 'policy/core/common/schema_unittest.cc', |
116 ], | 131 ], |
117 }], | 132 }], |
118 ], | 133 ], |
119 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 134 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
120 'msvs_disabled_warnings': [4267, ], | 135 'msvs_disabled_warnings': [4267, ], |
121 }, | 136 }, |
| 137 ], |
| 138 }], |
| 139 ['OS != "ios" and android_webview_build == 0', { |
| 140 'targets': [ |
122 { | 141 { |
123 'target_name': 'components_perftests', | 142 'target_name': 'components_perftests', |
124 'type': '<(gtest_target_type)', | 143 'type': '<(gtest_target_type)', |
125 'dependencies': [ | 144 'dependencies': [ |
126 '../base/base.gyp:base', | 145 '../base/base.gyp:base', |
127 '../base/base.gyp:test_support_perf', | 146 '../base/base.gyp:test_support_perf', |
128 '../content/content.gyp:test_support_content', | 147 '../content/content.gyp:test_support_content', |
129 '../testing/gtest.gyp:gtest', | 148 '../testing/gtest.gyp:gtest', |
130 '../ui/compositor/compositor.gyp:compositor', | 149 '../ui/compositor/compositor.gyp:compositor', |
131 'visitedlink_browser', | 150 'visitedlink_browser', |
(...skipping 29 matching lines...) Expand all Loading... |
161 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', | 180 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', |
162 }, | 181 }, |
163 'includes': [ '../build/apk_test.gypi' ], | 182 'includes': [ '../build/apk_test.gypi' ], |
164 }, | 183 }, |
165 ], | 184 ], |
166 }], | 185 }], |
167 ], | 186 ], |
168 }], | 187 }], |
169 ], | 188 ], |
170 } | 189 } |
OLD | NEW |