OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Chromium's GN configuration for gtest now lives at testing/gtest/BUILD.gn. |
| 6 # |
| 7 # This configuration is left in the tree because it is pulled by V8 and PDFium, |
| 8 # and will be removed as soon as the projects switch off of it. |
| 9 # |
| 10 # Details at http://crbug.com/630705 and http://crrev.com/2779193002 |
| 11 |
5 import("//build_overrides/gtest.gni") | 12 import("//build_overrides/gtest.gni") |
6 if (is_ios) { | 13 if (is_ios) { |
7 import("//build/config/ios/ios_sdk.gni") | 14 import("//build/config/ios/ios_sdk.gni") |
8 import("//build/buildflag_header.gni") | 15 import("//build/buildflag_header.gni") |
9 } | 16 } |
10 | 17 |
11 config("gtest_config") { | 18 config("gtest_config") { |
12 visibility = [ | 19 visibility = [ |
13 ":*", | 20 ":*", |
14 "//testing/gmock:*", # gmock also shares this config. | 21 "//testing/gmock:*", # gmock also shares this config. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ":gtest", | 141 ":gtest", |
135 ] | 142 ] |
136 } | 143 } |
137 | 144 |
138 if (is_ios) { | 145 if (is_ios) { |
139 buildflag_header("ios_enable_coverage") { | 146 buildflag_header("ios_enable_coverage") { |
140 header = "ios_enable_coverage.h" | 147 header = "ios_enable_coverage.h" |
141 flags = [ "IOS_ENABLE_COVERAGE=$ios_enable_coverage" ] | 148 flags = [ "IOS_ENABLE_COVERAGE=$ios_enable_coverage" ] |
142 } | 149 } |
143 } | 150 } |
OLD | NEW |