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', | |
10 'dependencies': [ | 9 'dependencies': [ |
11 '../base/base.gyp:base', | 10 '../base/base.gyp:base', |
12 '../skia/skia.gyp:skia', | 11 '../skia/skia.gyp:skia', |
13 '../testing/gtest.gyp:gtest', | 12 '../testing/gtest.gyp:gtest', |
14 ], | 13 ], |
15 'sources': [ | 14 'sources': [ |
16 'base/test/cocoa_test_event_utils.h', | 15 'base/test/cocoa_test_event_utils.h', |
17 'base/test/cocoa_test_event_utils.mm', | 16 'base/test/cocoa_test_event_utils.mm', |
18 'base/test/ui_cocoa_test_helper.h', | 17 'base/test/ui_cocoa_test_helper.h', |
19 'base/test/ui_cocoa_test_helper.mm', | 18 'base/test/ui_cocoa_test_helper.mm', |
20 'base/test/ui_controls.h', | 19 'base/test/ui_controls.h', |
21 'base/test/ui_controls_aura.cc', | 20 'base/test/ui_controls_aura.cc', |
22 'base/test/ui_controls_gtk.cc', | 21 'base/test/ui_controls_gtk.cc', |
23 'base/test/ui_controls_internal_win.cc', | 22 'base/test/ui_controls_internal_win.cc', |
24 'base/test/ui_controls_internal_win.h', | 23 'base/test/ui_controls_internal_win.h', |
25 'base/test/ui_controls_mac.mm', | 24 'base/test/ui_controls_mac.mm', |
26 'base/test/ui_controls_win.cc', | 25 'base/test/ui_controls_win.cc', |
27 ], | 26 ], |
28 'include_dirs': [ | 27 'include_dirs': [ |
29 '../', | 28 '../', |
30 ], | 29 ], |
31 'conditions': [ | 30 'conditions': [ |
32 ['OS!="ios"', { | 31 ['OS!="ios"', { |
| 32 'type': 'static_library', |
33 'includes': [ 'base/ime/ime_test_support.gypi' ], | 33 'includes': [ 'base/ime/ime_test_support.gypi' ], |
34 }, { # OS=="ios" | 34 }, { # OS=="ios" |
| 35 # None of the sources in this target are built on iOS, resulting in |
| 36 # link errors when building targets that depend on this target |
| 37 # because the static library isn't found. If this target is changed |
| 38 # to have sources that are built on iOS, the target should be changed |
| 39 # to be of type static_library on all platforms. |
| 40 'type': 'none', |
35 # The cocoa files don't apply to iOS. | 41 # The cocoa files don't apply to iOS. |
36 'sources/': [['exclude', 'cocoa']], | 42 'sources/': [['exclude', 'cocoa']], |
37 }], | 43 }], |
38 ['chromeos==1', { | 44 ['chromeos==1', { |
39 'dependencies': [ | 45 'dependencies': [ |
40 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', | 46 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', |
41 '../skia/skia.gyp:skia', | 47 '../skia/skia.gyp:skia', |
42 ], | 48 ], |
43 }], | 49 }], |
44 ['use_aura==1', { | 50 ['use_aura==1', { |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 'variables': { | 339 'variables': { |
334 'test_suite_name': 'ui_unittests', | 340 'test_suite_name': 'ui_unittests', |
335 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', | 341 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', |
336 }, | 342 }, |
337 'includes': [ '../build/apk_test.gypi' ], | 343 'includes': [ '../build/apk_test.gypi' ], |
338 }, | 344 }, |
339 ], | 345 ], |
340 }], | 346 }], |
341 ], | 347 ], |
342 } | 348 } |
OLD | NEW |