| Index: tools/gn/secondary/testing/BUILD.gn
|
| diff --git a/tools/gn/secondary/testing/BUILD.gn b/tools/gn/secondary/testing/BUILD.gn
|
| index 38b992c338259992f7b523cc651cd925da35d830..70910b3faa1f6313b071a882ea544be708a7953e 100644
|
| --- a/tools/gn/secondary/testing/BUILD.gn
|
| +++ b/tools/gn/secondary/testing/BUILD.gn
|
| @@ -49,8 +49,19 @@ static_library("gtest") {
|
| "platform_test.h",
|
| ]
|
|
|
| + if (is_mac) {
|
| + sources += [
|
| + "gtest_mac.h",
|
| + "gtest_mac.mm",
|
| + "platform_test_mac.mm",
|
| + ]
|
| + }
|
| +
|
| include_dirs = [ "gtest" ]
|
| direct_dependent_configs = [ ":gtest_config" ]
|
| +
|
| + configs -= "//build/config/compiler:chromium_code"
|
| + configs += "//build/config/compiler:no_chromium_code"
|
| }
|
|
|
| # TODO(brettw) move to testing/gmock/BUILD.gn
|
|
|