| Index: build/secondary/testing/gtest/BUILD.gn
|
| diff --git a/build/secondary/testing/gtest/BUILD.gn b/build/secondary/testing/gtest/BUILD.gn
|
| index f50afb635691781a4374aeb7d4331f27a4040190..96f4112c211ae5885c11d431fb7f13b29bb990fe 100644
|
| --- a/build/secondary/testing/gtest/BUILD.gn
|
| +++ b/build/secondary/testing/gtest/BUILD.gn
|
| @@ -9,10 +9,10 @@ config("gtest_config") {
|
| ]
|
|
|
| defines = [
|
| -
|
| # In order to allow regex matches in gtest to be shared between Windows
|
| # and other systems, we tell gtest to always use it's internal engine.
|
| "GTEST_HAS_POSIX_RE=0",
|
| +
|
| # Chrome doesn't support / require C++11, yet.
|
| "GTEST_LANG_CXX11=0",
|
| ]
|
| @@ -81,6 +81,7 @@ static_library("gtest") {
|
| "include/gtest/internal/gtest-string.h",
|
| "include/gtest/internal/gtest-tuple.h",
|
| "include/gtest/internal/gtest-type-util.h",
|
| +
|
| #"gtest/src/gtest-all.cc", # Not needed by our build.
|
| "src/gtest-death-test.cc",
|
| "src/gtest-filepath.cc",
|
| @@ -115,6 +116,10 @@ static_library("gtest") {
|
| source_set("gtest_main") {
|
| # TODO http://crbug.com/412064 enable this flag all the time.
|
| testonly = !is_component_build
|
| - sources = [ "src/gtest_main.cc" ]
|
| - deps = [ ":gtest" ]
|
| + sources = [
|
| + "src/gtest_main.cc",
|
| + ]
|
| + deps = [
|
| + ":gtest",
|
| + ]
|
| }
|
|
|