OLD | NEW |
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 # automatically on android, so it has to be set explicitly here. | 133 # automatically on android, so it has to be set explicitly here. |
134 'GTEST_HAS_TR1_TUPLE=1', | 134 'GTEST_HAS_TR1_TUPLE=1', |
135 ], | 135 ], |
136 'direct_dependent_settings': { | 136 'direct_dependent_settings': { |
137 'defines': [ | 137 'defines': [ |
138 'GTEST_USE_OWN_TR1_TUPLE=1', | 138 'GTEST_USE_OWN_TR1_TUPLE=1', |
139 'GTEST_HAS_TR1_TUPLE=1', | 139 'GTEST_HAS_TR1_TUPLE=1', |
140 ], | 140 ], |
141 }, | 141 }, |
142 }], | 142 }], |
143 ['OS=="win" and MSVS_VERSION=="2012"', { | 143 ['OS=="win" and (MSVS_VERSION=="2012" or MSVS_VERSION=="2012e")', { |
144 'defines': [ | 144 'defines': [ |
145 '_VARIADIC_MAX=10', | 145 '_VARIADIC_MAX=10', |
146 ], | 146 ], |
147 'direct_dependent_settings': { | 147 'direct_dependent_settings': { |
148 'defines': [ | 148 'defines': [ |
149 '_VARIADIC_MAX=10', | 149 '_VARIADIC_MAX=10', |
150 ], | 150 ], |
151 }, | 151 }, |
152 }], | 152 }], |
153 ], | 153 ], |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 { | 202 { |
203 'target_name': 'gtest_prod', | 203 'target_name': 'gtest_prod', |
204 'toolsets': ['host', 'target'], | 204 'toolsets': ['host', 'target'], |
205 'type': 'none', | 205 'type': 'none', |
206 'sources': [ | 206 'sources': [ |
207 'gtest/include/gtest/gtest_prod.h', | 207 'gtest/include/gtest/gtest_prod.h', |
208 ], | 208 ], |
209 }, | 209 }, |
210 ], | 210 ], |
211 } | 211 } |
OLD | NEW |