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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'ui_test_support', | 8 'target_name': 'ui_test_support', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'includes': [ | 10 'includes': [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 'base/animation/animation_unittest.cc', | 60 'base/animation/animation_unittest.cc', |
61 'base/animation/multi_animation_unittest.cc', | 61 'base/animation/multi_animation_unittest.cc', |
62 'base/animation/slide_animation_unittest.cc', | 62 'base/animation/slide_animation_unittest.cc', |
63 'base/clipboard/clipboard_unittest.cc', | 63 'base/clipboard/clipboard_unittest.cc', |
64 'base/clipboard/custom_data_helper_unittest.cc', | 64 'base/clipboard/custom_data_helper_unittest.cc', |
65 'base/cocoa/base_view_unittest.mm', | 65 'base/cocoa/base_view_unittest.mm', |
66 'base/cocoa/fullscreen_window_manager_unittest.mm', | 66 'base/cocoa/fullscreen_window_manager_unittest.mm', |
67 'base/cocoa/events_mac_unittest.mm', | 67 'base/cocoa/events_mac_unittest.mm', |
68 'base/cocoa/focus_tracker_unittest.mm', | 68 'base/cocoa/focus_tracker_unittest.mm', |
69 'base/dialogs/select_file_dialog_win_unittest.cc', | 69 'base/dialogs/select_file_dialog_win_unittest.cc', |
70 'base/event_unittest.cc', | |
71 'base/gtk/gtk_expanded_container_unittest.cc', | 70 'base/gtk/gtk_expanded_container_unittest.cc', |
72 'base/gtk/gtk_im_context_util_unittest.cc', | 71 'base/gtk/gtk_im_context_util_unittest.cc', |
73 'base/gtk/menu_label_accelerator_util_unittest.cc', | 72 'base/gtk/menu_label_accelerator_util_unittest.cc', |
74 'base/l10n/l10n_util_mac_unittest.mm', | 73 'base/l10n/l10n_util_mac_unittest.mm', |
75 'base/l10n/l10n_util_unittest.cc', | 74 'base/l10n/l10n_util_unittest.cc', |
76 'base/models/list_model_unittest.cc', | 75 'base/models/list_model_unittest.cc', |
77 'base/models/tree_node_iterator_unittest.cc', | 76 'base/models/tree_node_iterator_unittest.cc', |
78 'base/models/tree_node_model_unittest.cc', | 77 'base/models/tree_node_model_unittest.cc', |
79 'base/range/range_unittest.cc', | 78 'base/range/range_unittest.cc', |
80 'base/range/range_mac_unittest.mm', | 79 'base/range/range_mac_unittest.mm', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 ], | 195 ], |
197 'dependencies': [ | 196 'dependencies': [ |
198 '../build/linux/system.gyp:gtk', | 197 '../build/linux/system.gyp:gtk', |
199 ], | 198 ], |
200 }], | 199 }], |
201 ['OS=="android" or OS=="ios"', { | 200 ['OS=="android" or OS=="ios"', { |
202 'sources!': [ | 201 'sources!': [ |
203 'gfx/render_text_unittest.cc', | 202 'gfx/render_text_unittest.cc', |
204 ], | 203 ], |
205 }], | 204 }], |
206 ['toolkit_views==0', { | 205 ['OS!="win" or use_aura==0', { |
207 'sources!': [ | 206 'sources!': [ |
208 'base/view_prop_unittest.cc', | 207 'base/view_prop_unittest.cc', |
209 'base/event_unittest.cc', | |
210 ], | |
211 }, { | |
212 'sources': [ | |
213 'base/gestures/velocity_calculator_unittest.cc', | |
214 ], | 208 ], |
215 }], | 209 }], |
216 ['use_aura==1', { | 210 ['use_aura==1', { |
217 'sources!': [ | 211 'sources!': [ |
218 'base/dialogs/select_file_dialog_win_unittest.cc', | 212 'base/dialogs/select_file_dialog_win_unittest.cc', |
219 'base/dragdrop/os_exchange_data_win_unittest.cc', | 213 'base/dragdrop/os_exchange_data_win_unittest.cc', |
220 'base/native_theme/native_theme_win_unittest.cc', | 214 'base/native_theme/native_theme_win_unittest.cc', |
221 'gfx/screen_unittest.cc', | 215 'gfx/screen_unittest.cc', |
222 ], | 216 ], |
223 }], | 217 }], |
| 218 ['use_aura==1 or toolkit_views==1', { |
| 219 'sources': [ |
| 220 'base/gestures/velocity_calculator_unittest.cc', |
| 221 ], |
| 222 }], |
224 ], | 223 ], |
225 }, | 224 }, |
226 ], | 225 ], |
227 'conditions': [ | 226 'conditions': [ |
228 # Special target to wrap a gtest_target_type==shared_library | 227 # Special target to wrap a gtest_target_type==shared_library |
229 # ui_unittests into an android apk for execution. | 228 # ui_unittests into an android apk for execution. |
230 # See base.gyp for TODO(jrg)s about this strategy. | 229 # See base.gyp for TODO(jrg)s about this strategy. |
231 ['OS == "android" and gtest_target_type == "shared_library"', { | 230 ['OS == "android" and gtest_target_type == "shared_library"', { |
232 'targets': [ | 231 'targets': [ |
233 { | 232 { |
234 'target_name': 'ui_unittests_apk', | 233 'target_name': 'ui_unittests_apk', |
235 'type': 'none', | 234 'type': 'none', |
236 'dependencies': [ | 235 'dependencies': [ |
237 '../base/base.gyp:base_java', | 236 '../base/base.gyp:base_java', |
238 'ui_unittests', | 237 'ui_unittests', |
239 ], | 238 ], |
240 'variables': { | 239 'variables': { |
241 'test_suite_name': 'ui_unittests', | 240 'test_suite_name': 'ui_unittests', |
242 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', | 241 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', |
243 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], | 242 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], |
244 }, | 243 }, |
245 'includes': [ '../build/apk_test.gypi' ], | 244 'includes': [ '../build/apk_test.gypi' ], |
246 }, | 245 }, |
247 ], | 246 ], |
248 }], | 247 }], |
249 ], | 248 ], |
250 } | 249 } |
OLD | NEW |