OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 13 matching lines...) Expand all Loading... |
24 'base/ui_base.gyp:ui_base_test_support', | 24 'base/ui_base.gyp:ui_base_test_support', |
25 'events/events.gyp:events_base', | 25 'events/events.gyp:events_base', |
26 'gfx/gfx.gyp:gfx_test_support', | 26 'gfx/gfx.gyp:gfx_test_support', |
27 'resources/ui_resources.gyp:ui_resources', | 27 'resources/ui_resources.gyp:ui_resources', |
28 'resources/ui_resources.gyp:ui_test_pak', | 28 'resources/ui_resources.gyp:ui_test_pak', |
29 'strings/ui_strings.gyp:ui_strings', | 29 'strings/ui_strings.gyp:ui_strings', |
30 ], | 30 ], |
31 # iOS uses a small subset of ui. common_sources are the only files that | 31 # iOS uses a small subset of ui. common_sources are the only files that |
32 # are built on iOS. | 32 # are built on iOS. |
33 'common_sources' : [ | 33 'common_sources' : [ |
34 # Note: file list duplicated in GN build. | |
35 'base/layout_unittest.cc', | 34 'base/layout_unittest.cc', |
36 'base/l10n/l10n_util_mac_unittest.mm', | 35 'base/l10n/l10n_util_mac_unittest.mm', |
37 'base/l10n/l10n_util_unittest.cc', | 36 'base/l10n/l10n_util_unittest.cc', |
38 'base/l10n/l10n_util_win_unittest.cc', | 37 'base/l10n/l10n_util_win_unittest.cc', |
39 'base/l10n/time_format_unittest.cc', | 38 'base/l10n/time_format_unittest.cc', |
40 'base/models/tree_node_iterator_unittest.cc', | 39 'base/models/tree_node_iterator_unittest.cc', |
41 'base/resource/data_pack_literal.cc', | 40 'base/resource/data_pack_literal.cc', |
42 'base/resource/data_pack_unittest.cc', | 41 'base/resource/data_pack_unittest.cc', |
43 'base/resource/resource_bundle_unittest.cc', | 42 'base/resource/resource_bundle_unittest.cc', |
44 'base/test/run_all_unittests.cc', | 43 'base/test/run_all_unittests.cc', |
45 ], | 44 ], |
46 'all_sources': [ | 45 'all_sources': [ |
47 # Note: file list duplicated in GN build. | |
48 '<@(_common_sources)', | 46 '<@(_common_sources)', |
49 'base/accelerators/accelerator_manager_unittest.cc', | 47 'base/accelerators/accelerator_manager_unittest.cc', |
50 'base/accelerators/menu_label_accelerator_util_linux_unittest.cc', | 48 'base/accelerators/menu_label_accelerator_util_linux_unittest.cc', |
51 'base/clipboard/custom_data_helper_unittest.cc', | 49 'base/clipboard/custom_data_helper_unittest.cc', |
52 'base/cocoa/base_view_unittest.mm', | 50 'base/cocoa/base_view_unittest.mm', |
53 'base/cocoa/cocoa_base_utils_unittest.mm', | 51 'base/cocoa/cocoa_base_utils_unittest.mm', |
54 'base/cocoa/controls/blue_label_button_unittest.mm', | 52 'base/cocoa/controls/blue_label_button_unittest.mm', |
55 'base/cocoa/controls/hover_image_menu_button_unittest.mm', | 53 'base/cocoa/controls/hover_image_menu_button_unittest.mm', |
56 'base/cocoa/controls/hyperlink_button_cell_unittest.mm', | 54 'base/cocoa/controls/hyperlink_button_cell_unittest.mm', |
57 'base/cocoa/focus_tracker_unittest.mm', | 55 'base/cocoa/focus_tracker_unittest.mm', |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 'sources': [ | 184 'sources': [ |
187 'base/dragdrop/os_exchange_data_unittest.cc', | 185 'base/dragdrop/os_exchange_data_unittest.cc', |
188 ], | 186 ], |
189 'dependencies': [ | 187 'dependencies': [ |
190 'events/events.gyp:events', | 188 'events/events.gyp:events', |
191 'events/events.gyp:events_base', | 189 'events/events.gyp:events_base', |
192 'events/events.gyp:events_test_support', | 190 'events/events.gyp:events_test_support', |
193 'events/platform/events_platform.gyp:events_platform', | 191 'events/platform/events_platform.gyp:events_platform', |
194 ], | 192 ], |
195 }], | 193 }], |
| 194 ['use_aura==1', { |
| 195 'sources!': [ |
| 196 'base/dragdrop/os_exchange_data_win_unittest.cc', |
| 197 ], |
| 198 }], |
196 ['chromeos==1', { | 199 ['chromeos==1', { |
197 'dependencies': [ | 200 'dependencies': [ |
198 '../chromeos/chromeos.gyp:chromeos', | 201 '../chromeos/chromeos.gyp:chromeos', |
199 'aura/aura.gyp:aura_test_support', | 202 'aura/aura.gyp:aura_test_support', |
200 'chromeos/ui_chromeos.gyp:ui_chromeos', | 203 'chromeos/ui_chromeos.gyp:ui_chromeos', |
201 'events/events.gyp:gesture_detection', | 204 'events/events.gyp:gesture_detection', |
202 ], | 205 ], |
203 'sources': [ | 206 'sources': [ |
204 'chromeos/touch_exploration_controller_unittest.cc' | 207 'chromeos/touch_exploration_controller_unittest.cc' |
205 ], | 208 ], |
206 'sources!': [ | 209 'sources!': [ |
207 'base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc', | 210 'base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc', |
208 'base/x/selection_requestor_unittest.cc', | 211 'base/x/selection_requestor_unittest.cc', |
209 ], | 212 ], |
210 }], | 213 }], |
| 214 ['chromeos==0 or use_x11==0', { |
| 215 'sources!': [ |
| 216 'base/ime/chromeos/character_composer_unittest.cc', |
| 217 'base/ime/input_method_chromeos_unittest.cc', |
| 218 ], |
| 219 }], |
211 ['use_x11==0', { | 220 ['use_x11==0', { |
212 'sources!': [ | 221 'sources!': [ |
213 'base/ime/composition_text_util_pango_unittest.cc', | 222 'base/ime/composition_text_util_pango_unittest.cc', |
214 ], | 223 ], |
215 }], | 224 }], |
216 ], | 225 ], |
217 'target_conditions': [ | 226 'target_conditions': [ |
218 ['OS == "ios"', { | 227 ['OS == "ios"', { |
219 'sources/': [ | 228 'sources/': [ |
220 # Pull in specific Mac files for iOS (which have been filtered out | 229 # Pull in specific Mac files for iOS (which have been filtered out |
(...skipping 28 matching lines...) Expand all Loading... |
249 ], | 258 ], |
250 'variables': { | 259 'variables': { |
251 'test_suite_name': 'ui_unittests', | 260 'test_suite_name': 'ui_unittests', |
252 }, | 261 }, |
253 'includes': [ '../build/apk_test.gypi' ], | 262 'includes': [ '../build/apk_test.gypi' ], |
254 }, | 263 }, |
255 ], | 264 ], |
256 }], | 265 }], |
257 ], | 266 ], |
258 } | 267 } |
OLD | NEW |