diff options
author | btolsch <btolsch@chromium.org> | 2019-12-16 16:40:29 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-18 02:10:53 +0000 |
commit | c310e1bbcb8df5802ea9ea7598a16ea82e122cf9 (patch) | |
tree | 51945487658126db1108925ac3e8a9d90a3eaeed /third_party | |
parent | b984fd2bc5ae296b7a97209494f1e52e7e1a1dba (diff) | |
download | openscreen-c310e1bbcb8df5802ea9ea7598a16ea82e122cf9.tar.gz |
Fix gmock build dep
This change makes gmock depend on gtest to be consistent with both
Chromium and the upstream build. I hit this problem locally as linker
errors if code _never_ ends up including gtest but include gmock since
gmock does use gtest. We don't have any existing instances of this
(including `gn check`) that I could find.
Bug: None
Change-Id: If8304d2c6c7d6657edde873e77b4ab88d9efb070
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1970502
Reviewed-by: Ryan Keane <rwkeane@google.com>
Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/googletest/BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/googletest/BUILD.gn b/third_party/googletest/BUILD.gn index f76f9e74..27006582 100644 --- a/third_party/googletest/BUILD.gn +++ b/third_party/googletest/BUILD.gn @@ -77,6 +77,10 @@ if (build_with_chromium) { ":gtest_config", ] + public_deps = [ + ":gtest", + ] + include_dirs = [ "src/googlemock" ] } |