| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 ['OS=="android" and android_app_abi=="x86"', { | 114 ['OS=="android" and android_app_abi=="x86"', { |
| 115 'defines': [ | 115 'defines': [ |
| 116 'GTEST_HAS_CLONE=0', | 116 'GTEST_HAS_CLONE=0', |
| 117 ], | 117 ], |
| 118 'direct_dependent_settings': { | 118 'direct_dependent_settings': { |
| 119 'defines': [ | 119 'defines': [ |
| 120 'GTEST_HAS_CLONE=0', | 120 'GTEST_HAS_CLONE=0', |
| 121 ], | 121 ], |
| 122 }, | 122 }, |
| 123 }], | 123 }], |
| 124 ['clang==1 or OS=="android"', { | 124 ['OS=="android"', { |
| 125 # We want gtest features that use tr1::tuple, but we currently | 125 # We want gtest features that use tr1::tuple, but we currently |
| 126 # don't support the variadic templates used by libstdc++'s | 126 # don't support the variadic templates used by libstdc++'s |
| 127 # implementation. gtest supports this scenario by providing its | 127 # implementation. gtest supports this scenario by providing its |
| 128 # own implementation but we must opt in to it. | 128 # own implementation but we must opt in to it. |
| 129 'defines': [ | 129 'defines': [ |
| 130 'GTEST_USE_OWN_TR1_TUPLE=1', | 130 'GTEST_USE_OWN_TR1_TUPLE=1', |
| 131 ], | 131 ], |
| 132 'direct_dependent_settings': { | 132 'direct_dependent_settings': { |
| 133 'defines': [ | 133 'defines': [ |
| 134 'GTEST_USE_OWN_TR1_TUPLE=1', | 134 'GTEST_USE_OWN_TR1_TUPLE=1', |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 { | 187 { |
| 188 'target_name': 'gtest_prod', | 188 'target_name': 'gtest_prod', |
| 189 'toolsets': ['host', 'target'], | 189 'toolsets': ['host', 'target'], |
| 190 'type': 'none', | 190 'type': 'none', |
| 191 'sources': [ | 191 'sources': [ |
| 192 'gtest/include/gtest/gtest_prod.h', | 192 'gtest/include/gtest/gtest_prod.h', |
| 193 ], | 193 ], |
| 194 }, | 194 }, |
| 195 ], | 195 ], |
| 196 } | 196 } |
| OLD | NEW |