mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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
12 lines
339 B
Python
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",
|
|
]
|
|
)
|