| 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 'includes': [ | 6 'includes': [ |
| 7 'gtest.gypi', | 7 'gtest.gypi', |
| 8 ], | 8 ], |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 'gtest_prod', | 22 'gtest_prod', |
| 23 ], | 23 ], |
| 24 'defines': [ | 24 'defines': [ |
| 25 # In order to allow regex matches in gtest to be shared between Windows | 25 # In order to allow regex matches in gtest to be shared between Windows |
| 26 # and other systems, we tell gtest to always use it's internal engine. | 26 # and other systems, we tell gtest to always use it's internal engine. |
| 27 'GTEST_HAS_POSIX_RE=0', | 27 'GTEST_HAS_POSIX_RE=0', |
| 28 # Chrome doesn't support / require C++11, yet. | 28 # Chrome doesn't support / require C++11, yet. |
| 29 'GTEST_LANG_CXX11=0', | 29 'GTEST_LANG_CXX11=0', |
| 30 ], | 30 ], |
| 31 'all_dependent_settings': { | 31 'all_dependent_settings': { |
| 32 'include_dirs': [ |
| 33 'gtest/include', |
| 34 ], |
| 32 'defines': [ | 35 'defines': [ |
| 33 'GTEST_HAS_POSIX_RE=0', | 36 'GTEST_HAS_POSIX_RE=0', |
| 34 'GTEST_LANG_CXX11=0', | 37 'GTEST_LANG_CXX11=0', |
| 35 ], | 38 ], |
| 36 }, | 39 }, |
| 37 'conditions': [ | 40 'conditions': [ |
| 38 ['OS == "mac" or OS == "ios"', { | 41 ['OS == "mac" or OS == "ios"', { |
| 39 'sources': [ | 42 'sources': [ |
| 40 'gtest_mac.h', | 43 'gtest_mac.h', |
| 41 'gtest_mac.mm', | 44 'gtest_mac.mm', |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 'defines': [ | 117 'defines': [ |
| 115 'GTEST_HAS_CLONE=0', | 118 'GTEST_HAS_CLONE=0', |
| 116 ], | 119 ], |
| 117 }, | 120 }, |
| 118 }], | 121 }], |
| 119 ], | 122 ], |
| 120 'direct_dependent_settings': { | 123 'direct_dependent_settings': { |
| 121 'defines': [ | 124 'defines': [ |
| 122 'UNIT_TEST', | 125 'UNIT_TEST', |
| 123 ], | 126 ], |
| 124 'include_dirs': [ | |
| 125 'gtest/include', # So that gtest headers can find themselves. | |
| 126 ], | |
| 127 'target_conditions': [ | 127 'target_conditions': [ |
| 128 ['_type=="executable"', { | 128 ['_type=="executable"', { |
| 129 'test': 1, | 129 'test': 1, |
| 130 'conditions': [ | 130 'conditions': [ |
| 131 ['OS=="mac"', { | 131 ['OS=="mac"', { |
| 132 'run_as': { | 132 'run_as': { |
| 133 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], | 133 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], |
| 134 }, | 134 }, |
| 135 }], | 135 }], |
| 136 ['OS=="ios"', { | 136 ['OS=="ios"', { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 { | 168 { |
| 169 'target_name': 'gtest_prod', | 169 'target_name': 'gtest_prod', |
| 170 'toolsets': ['host', 'target'], | 170 'toolsets': ['host', 'target'], |
| 171 'type': 'none', | 171 'type': 'none', |
| 172 'sources': [ | 172 'sources': [ |
| 173 'gtest/include/gtest/gtest_prod.h', | 173 'gtest/include/gtest/gtest_prod.h', |
| 174 ], | 174 ], |
| 175 }, | 175 }, |
| 176 ], | 176 ], |
| 177 } | 177 } |
| OLD | NEW |