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

Side by Side Diff: components/components_tests.gypi

Issue 13392002: Add perf tests target to components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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 'conditions': [ 6 'conditions': [
7 ['OS != "ios"', { 7 ['OS != "ios"', {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'components_unittests', 10 'target_name': 'components_unittests',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ] 48 ]
49 }], 49 }],
50 ['OS=="win" and win_use_allocator_shim==1', { 50 ['OS=="win" and win_use_allocator_shim==1', {
51 'dependencies': [ 51 'dependencies': [
52 '../base/allocator/allocator.gyp:allocator', 52 '../base/allocator/allocator.gyp:allocator',
53 ], 53 ],
54 }], 54 }],
55 ], 55 ],
56 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 56 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
57 'msvs_disabled_warnings': [4267, ], 57 'msvs_disabled_warnings': [4267, ],
58 } 58 },
59 {
60 'target_name': 'components_perftests',
61 'type': '<(gtest_target_type)',
62 'dependencies': [
63 '../base/base.gyp:base',
64 '../base/base.gyp:test_support_perf',
65 '../content/content.gyp:test_support_content',
66 '../testing/gtest.gyp:gtest',
67 '../ui/compositor/compositor.gyp:compositor',
68 'visitedlink_browser',
69 ],
70 'include_dirs': [
71 '..',
72 ],
73 'sources': [
74 'visitedlink/test/visitedlink_perftest.cc',
75 ],
76 'conditions': [
77 ['OS == "android" and gtest_target_type == "shared_library"', {
78 'dependencies': [
79 '../testing/android/native_test.gyp:native_test_native_code',
80 ],
81 }],
82 ],
83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
84 'msvs_disabled_warnings': [ 4267, ],
85 },
59 ], 86 ],
60 'conditions': [ 87 'conditions': [
61 ['OS == "android" and gtest_target_type == "shared_library"', { 88 ['OS == "android" and gtest_target_type == "shared_library"', {
62 'targets': [ 89 'targets': [
63 { 90 {
64 'target_name': 'components_unittests_apk', 91 'target_name': 'components_unittests_apk',
65 'type': 'none', 92 'type': 'none',
66 'dependencies': [ 93 'dependencies': [
67 'components_unittests', 94 'components_unittests',
68 ], 95 ],
69 'variables': { 96 'variables': {
70 'test_suite_name': 'components_unittests', 97 'test_suite_name': 'components_unittests',
71 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo nents_unittests<(SHARED_LIB_SUFFIX)', 98 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo nents_unittests<(SHARED_LIB_SUFFIX)',
72 }, 99 },
73 'includes': [ '../build/apk_test.gypi' ], 100 'includes': [ '../build/apk_test.gypi' ],
74 }, 101 },
75 ], 102 ],
76 }], 103 }],
77 ], 104 ],
78 }], 105 }],
79 ], 106 ],
80 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698