Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: ui/ui_unittests.gyp

Issue 152543005: Introduce a mock ui_unittests Framework for loading resources. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix android Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }], 50 }],
51 ['use_aura==1', { 51 ['use_aura==1', {
52 'sources!': [ 52 'sources!': [
53 'base/test/ui_controls_mac.mm', 53 'base/test/ui_controls_mac.mm',
54 'base/test/ui_controls_win.cc', 54 'base/test/ui_controls_win.cc',
55 ], 55 ],
56 }], 56 }],
57 ], 57 ],
58 }, 58 },
59 { 59 {
60 'target_name': 'ui_test_dll',
tony 2014/03/01 00:42:28 Why is this called ui_test_dll? Can it be somethi
tapted 2014/03/03 12:40:40 The `ui_test_dll` name was because it mirrors the
61 'type': 'none',
62 'dependencies': [
63 'resources/ui_resources.gyp:ui_test_pak',
64 ],
65 'conditions': [
66 ['OS=="mac"', {
67 'type': 'shared_library',
68 'includes': [ 'ui_unittests_bundle.gypi' ],
69 }, { # OS!="mac"
70 'dependencies': [
71 'base/strings/ui_strings.gyp:ui_unittest_strings',
72 ],
73 }],
74 ],
75 },
76 {
60 'target_name': 'ui_unittests', 77 'target_name': 'ui_unittests',
61 'type': '<(gtest_target_type)', 78 'type': '<(gtest_target_type)',
62 'dependencies': [ 79 'dependencies': [
63 '../base/base.gyp:base', 80 '../base/base.gyp:base',
64 '../base/base.gyp:test_support_base', 81 '../base/base.gyp:test_support_base',
65 '../chrome/chrome_resources.gyp:packed_resources',
66 '../skia/skia.gyp:skia', 82 '../skia/skia.gyp:skia',
67 '../testing/gmock.gyp:gmock', 83 '../testing/gmock.gyp:gmock',
68 '../testing/gtest.gyp:gtest', 84 '../testing/gtest.gyp:gtest',
69 '../third_party/icu/icu.gyp:icui18n', 85 '../third_party/icu/icu.gyp:icui18n',
70 '../third_party/icu/icu.gyp:icuuc', 86 '../third_party/icu/icu.gyp:icuuc',
71 '../third_party/libpng/libpng.gyp:libpng', 87 '../third_party/libpng/libpng.gyp:libpng',
72 '../url/url.gyp:url_lib', 88 '../url/url.gyp:url_lib',
73 'base/strings/ui_strings.gyp:ui_strings', 89 'base/strings/ui_strings.gyp:ui_strings',
74 'events/events.gyp:events_base', 90 'events/events.gyp:events_base',
75 'gfx/gfx.gyp:gfx_geometry_unittests', 91 'gfx/gfx.gyp:gfx_geometry_unittests',
76 'gfx/gfx.gyp:gfx_test_support', 92 'gfx/gfx.gyp:gfx_test_support',
77 'resources/ui_resources.gyp:ui_resources', 93 'resources/ui_resources.gyp:ui_resources',
78 'ui.gyp:ui', 94 'ui.gyp:ui',
95 'ui_test_dll',
79 'ui_test_support', 96 'ui_test_support',
80 ], 97 ],
81 # iOS uses a small subset of ui. common_sources are the only files that 98 # iOS uses a small subset of ui. common_sources are the only files that
82 # are built on iOS. 99 # are built on iOS.
83 'common_sources' : [ 100 'common_sources' : [
84 'base/layout_unittest.cc', 101 'base/layout_unittest.cc',
85 'base/l10n/l10n_util_mac_unittest.mm', 102 'base/l10n/l10n_util_mac_unittest.mm',
86 'base/l10n/l10n_util_unittest.cc', 103 'base/l10n/l10n_util_unittest.cc',
87 'base/l10n/l10n_util_win_unittest.cc', 104 'base/l10n/l10n_util_win_unittest.cc',
88 'base/l10n/time_format_unittest.cc', 105 'base/l10n/time_format_unittest.cc',
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 'variables': { 366 'variables': {
350 'test_suite_name': 'ui_unittests', 367 'test_suite_name': 'ui_unittests',
351 '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)',
352 }, 369 },
353 'includes': [ '../build/apk_test.gypi' ], 370 'includes': [ '../build/apk_test.gypi' ],
354 }, 371 },
355 ], 372 ],
356 }], 373 }],
357 ], 374 ],
358 } 375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698