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

Side by Side Diff: testing/gtest.gyp

Issue 5573006: Use run_as to hang the action for the runners so GYP doesn't have to know abo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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': 'gtest', 8 'target_name': 'gtest',
9 'type': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', 10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B',
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 }], 95 }],
96 ], 96 ],
97 'direct_dependent_settings': { 97 'direct_dependent_settings': {
98 'defines': [ 98 'defines': [
99 'UNIT_TEST', 99 'UNIT_TEST',
100 ], 100 ],
101 'include_dirs': [ 101 'include_dirs': [
102 'gtest/include', # So that gtest headers can find themselves. 102 'gtest/include', # So that gtest headers can find themselves.
103 ], 103 ],
104 'target_conditions': [ 104 'target_conditions': [
105 ['_type=="executable"', {'test': 1}], 105 ['_type=="executable"', {
106 'test': 1,
107 'conditions': [
108 ['OS=="mac"', {
109 'run_as': {
110 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'],
111 },
112 }],
113 ['OS=="win"', {
114 'run_as': {
115 'action????': ['$(TargetPath)', '--gtest_print_time'],
116 },
117 }],
118 ],
119 }],
106 ], 120 ],
107 'msvs_disabled_warnings': [4800], 121 'msvs_disabled_warnings': [4800],
108 }, 122 },
109 }, 123 },
110 { 124 {
111 'target_name': 'gtest_main', 125 'target_name': 'gtest_main',
112 'type': '<(library)', 126 'type': '<(library)',
113 'dependencies': [ 127 'dependencies': [
114 'gtest', 128 'gtest',
115 ], 129 ],
116 'sources': [ 130 'sources': [
117 'gtest/src/gtest_main.cc', 131 'gtest/src/gtest_main.cc',
118 ], 132 ],
119 }, 133 },
120 ], 134 ],
121 } 135 }
122 136
123 # Local Variables: 137 # Local Variables:
124 # tab-width:2 138 # tab-width:2
125 # indent-tabs-mode:nil 139 # indent-tabs-mode:nil
126 # End: 140 # End:
127 # vim: set expandtab tabstop=2 shiftwidth=2: 141 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698