| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 config("gtest_config") { | 5 config("gtest_config") { |
| 6 visibility = [ |
| 7 ":*", |
| 8 "//testing/gmock:*", # gmock also shares this config. |
| 9 ] |
| 10 |
| 6 defines = [ | 11 defines = [ |
| 7 "UNIT_TEST", | 12 "UNIT_TEST", |
| 8 | 13 |
| 9 # In order to allow regex matches in gtest to be shared between Windows | 14 # In order to allow regex matches in gtest to be shared between Windows |
| 10 # and other systems, we tell gtest to always use it's internal engine. | 15 # and other systems, we tell gtest to always use it's internal engine. |
| 11 "GTEST_HAS_POSIX_RE=0", | 16 "GTEST_HAS_POSIX_RE=0", |
| 12 ] | 17 ] |
| 13 | 18 |
| 14 # Gtest headers need to be able to find themselves. | 19 # Gtest headers need to be able to find themselves. |
| 15 include_dirs = [ "include" ] | 20 include_dirs = [ "include" ] |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ] | 80 ] |
| 76 } | 81 } |
| 77 | 82 |
| 78 include_dirs = [ "." ] | 83 include_dirs = [ "." ] |
| 79 | 84 |
| 80 all_dependent_configs = [ ":gtest_config" ] | 85 all_dependent_configs = [ ":gtest_config" ] |
| 81 | 86 |
| 82 configs -= [ "//build/config/compiler:chromium_code" ] | 87 configs -= [ "//build/config/compiler:chromium_code" ] |
| 83 configs += [ "//build/config/compiler:no_chromium_code" ] | 88 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 84 } | 89 } |
| OLD | NEW |