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