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

Side by Side Diff: testing/gtest.gyp

Issue 10832030: Add a helper script to run unit test targets for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Switch to 5.1 Created 8 years, 4 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
« no previous file with comments | « no previous file | testing/gtest_ios/run-unittest.sh » ('j') | 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) 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': 'gtest', 8 'target_name': 'gtest',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ['OS=="mac"', { 137 ['OS=="mac"', {
138 'run_as': { 138 'run_as': {
139 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], 139 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'],
140 }, 140 },
141 }], 141 }],
142 ['OS=="ios"', { 142 ['OS=="ios"', {
143 'variables': { 143 'variables': {
144 # Use a variable so the path gets fixed up so it is always 144 # Use a variable so the path gets fixed up so it is always
145 # correct when the action finally gets used. 145 # correct when the action finally gets used.
146 'ios_run_unittest_script_path': 146 'ios_run_unittest_script_path':
147 '<(DEPTH)/testing/gtest_ios/RunUnittest.sh', 147 '<(DEPTH)/testing/gtest_ios/run-unittest.sh',
148 }, 148 },
149 'run_as': { 149 'run_as': {
150 'action????': ['>(ios_run_unittest_script_path)'], 150 'action????': ['>(ios_run_unittest_script_path)'],
151 }, 151 },
152 }], 152 }],
153 ['OS=="win"', { 153 ['OS=="win"', {
154 'run_as': { 154 'run_as': {
155 'action????': ['$(TargetPath)', '--gtest_print_time'], 155 'action????': ['$(TargetPath)', '--gtest_print_time'],
156 }, 156 },
157 }], 157 }],
(...skipping 16 matching lines...) Expand all
174 { 174 {
175 'target_name': 'gtest_prod', 175 'target_name': 'gtest_prod',
176 'toolsets': ['host', 'target'], 176 'toolsets': ['host', 'target'],
177 'type': 'none', 177 'type': 'none',
178 'sources': [ 178 'sources': [
179 'gtest/include/gtest/gtest_prod.h', 179 'gtest/include/gtest/gtest_prod.h',
180 ], 180 ],
181 }, 181 },
182 ], 182 ],
183 } 183 }
OLDNEW
« no previous file with comments | « no previous file | testing/gtest_ios/run-unittest.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698