Files
pytorch/c10/cuda/test/BUILD.bazel
Huy Do 9154bbc999 Fix CUDA Bazel build to optionally include gmock after #104255 (#104308)
This reverts commit 39868b0578c18ddc194deac697d0675760de5f11.  Fixes https://github.com/pytorch/pytorch/issues/104279.

The change came from an internal codemod diff that we don't want to revert.  AFAIK, this addition is not needed as gmock has already been included https://github.com/google/googletest/blob/main/BUILD.bazel

### Testing

* OSS CUDA Bazel build should be back after this revert
* Import as D47077813 to make sure that nothing breaks internally

Pull Request resolved: https://github.com/pytorch/pytorch/pull/104308
Approved by: https://github.com/kit1980, https://github.com/malfet
2023-06-29 07:15:06 +00:00

12 lines
339 B
Python

load("//:tools/bazel.bzl", "rules")
load(":build.bzl", "define_targets")
define_targets(
rules = rules,
# gmock has already been included as part of gtest_main, thus there is no
# gmock target https://github.com/google/googletest/blob/main/BUILD.bazel
gtest_deps = [
"@com_google_googletest//:gtest_main",
]
)