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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 }], | 52 }], |
53 ['use_aura==1', { | 53 ['use_aura==1', { |
54 'sources!': [ | 54 'sources!': [ |
55 'base/test/ui_controls_mac.mm', | 55 'base/test/ui_controls_mac.mm', |
56 'base/test/ui_controls_win.cc', | 56 'base/test/ui_controls_win.cc', |
57 ], | 57 ], |
58 }], | 58 }], |
59 ], | 59 ], |
60 }, | 60 }, |
61 { | 61 { |
| 62 'target_name': 'ui_test_dll', |
| 63 'type': 'none', |
| 64 'dependencies': [ |
| 65 'resources/ui_resources.gyp:ui_test_pak', |
| 66 ], |
| 67 'conditions': [ |
| 68 ['OS=="mac"', { |
| 69 'type': 'shared_library', |
| 70 'includes': [ 'ui_unittests_bundle.gypi' ], |
| 71 }], |
| 72 ], |
| 73 }, |
| 74 { |
62 'target_name': 'ui_unittests', | 75 'target_name': 'ui_unittests', |
63 'type': '<(gtest_target_type)', | 76 'type': '<(gtest_target_type)', |
64 'dependencies': [ | 77 'dependencies': [ |
65 '../base/base.gyp:base', | 78 '../base/base.gyp:base', |
66 '../base/base.gyp:test_support_base', | 79 '../base/base.gyp:test_support_base', |
67 '../chrome/chrome_resources.gyp:packed_resources', | |
68 '../skia/skia.gyp:skia', | 80 '../skia/skia.gyp:skia', |
69 '../testing/gmock.gyp:gmock', | 81 '../testing/gmock.gyp:gmock', |
70 '../testing/gtest.gyp:gtest', | 82 '../testing/gtest.gyp:gtest', |
71 '../third_party/icu/icu.gyp:icui18n', | 83 '../third_party/icu/icu.gyp:icui18n', |
72 '../third_party/icu/icu.gyp:icuuc', | 84 '../third_party/icu/icu.gyp:icuuc', |
73 '../third_party/libpng/libpng.gyp:libpng', | 85 '../third_party/libpng/libpng.gyp:libpng', |
74 '../url/url.gyp:url_lib', | 86 '../url/url.gyp:url_lib', |
75 'base/strings/ui_strings.gyp:ui_strings', | 87 'base/strings/ui_strings.gyp:ui_strings', |
76 'events/events.gyp:events_base', | 88 'events/events.gyp:events_base', |
77 'gfx/gfx.gyp:gfx_geometry_unittests', | 89 'gfx/gfx.gyp:gfx_geometry_unittests', |
78 'gfx/gfx.gyp:gfx_test_support', | 90 'gfx/gfx.gyp:gfx_test_support', |
79 'resources/ui_resources.gyp:ui_resources', | 91 'resources/ui_resources.gyp:ui_resources', |
80 'shell_dialogs/shell_dialogs.gyp:shell_dialogs', | 92 'shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
81 'ui.gyp:ui', | 93 'ui.gyp:ui', |
| 94 'ui_test_dll', |
82 'ui_test_support', | 95 'ui_test_support', |
83 ], | 96 ], |
84 # iOS uses a small subset of ui. common_sources are the only files that | 97 # iOS uses a small subset of ui. common_sources are the only files that |
85 # are built on iOS. | 98 # are built on iOS. |
86 'common_sources' : [ | 99 'common_sources' : [ |
87 'base/layout_unittest.cc', | 100 'base/layout_unittest.cc', |
88 'base/l10n/l10n_util_mac_unittest.mm', | 101 'base/l10n/l10n_util_mac_unittest.mm', |
89 'base/l10n/l10n_util_unittest.cc', | 102 'base/l10n/l10n_util_unittest.cc', |
90 'base/l10n/l10n_util_win_unittest.cc', | 103 'base/l10n/l10n_util_win_unittest.cc', |
91 'base/l10n/time_format_unittest.cc', | 104 'base/l10n/time_format_unittest.cc', |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 'variables': { | 366 'variables': { |
354 'test_suite_name': 'ui_unittests', | 367 'test_suite_name': 'ui_unittests', |
355 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', | 368 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte
sts<(SHARED_LIB_SUFFIX)', |
356 }, | 369 }, |
357 'includes': [ '../build/apk_test.gypi' ], | 370 'includes': [ '../build/apk_test.gypi' ], |
358 }, | 371 }, |
359 ], | 372 ], |
360 }], | 373 }], |
361 ], | 374 ], |
362 } | 375 } |
OLD | NEW |