Googletest export

Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier

PiperOrigin-RevId: 360913861
This commit is contained in:
Abseil Team 2021-03-04 10:44:24 -05:00 committed by CJ Johnson
parent 32983d211b
commit e7e591764b
2 changed files with 12 additions and 12 deletions

View File

@ -4,27 +4,27 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive( http_archive(
name = "com_google_absl", # 2020-10-13T16:49:13Z name = "com_google_absl", # 2020-10-13T16:49:13Z
urls = [
"https://github.com/abseil/abseil-cpp/archive/f3f785ab59478dd0312bf1b5df65d380650bf0dc.zip"
],
strip_prefix = "abseil-cpp-f3f785ab59478dd0312bf1b5df65d380650bf0dc",
sha256 = "00c3707bf9cd5eabd1ec6932cc65b97378c043f22573be3adf7d11bb7af17d06", sha256 = "00c3707bf9cd5eabd1ec6932cc65b97378c043f22573be3adf7d11bb7af17d06",
strip_prefix = "abseil-cpp-f3f785ab59478dd0312bf1b5df65d380650bf0dc",
urls = [
"https://github.com/abseil/abseil-cpp/archive/f3f785ab59478dd0312bf1b5df65d380650bf0dc.zip",
],
) )
http_archive( http_archive(
name = "rules_cc", # 2020-10-05T06:01:24Z name = "rules_cc", # 2020-10-05T06:01:24Z
urls = [
"https://github.com/bazelbuild/rules_cc/archive/f055da4ff0cb2b3c73de1fe2f094ebdfb8b3acb9.zip"
],
strip_prefix = "rules_cc-f055da4ff0cb2b3c73de1fe2f094ebdfb8b3acb9",
sha256 = "35ea62c63cd71d4000efe85f9f4f17e8afb23896c37ee9510952db2e9d8fbb70", sha256 = "35ea62c63cd71d4000efe85f9f4f17e8afb23896c37ee9510952db2e9d8fbb70",
strip_prefix = "rules_cc-f055da4ff0cb2b3c73de1fe2f094ebdfb8b3acb9",
urls = [
"https://github.com/bazelbuild/rules_cc/archive/f055da4ff0cb2b3c73de1fe2f094ebdfb8b3acb9.zip",
],
) )
http_archive( http_archive(
name = "rules_python", # 2020-09-30T13:50:21Z name = "rules_python", # 2020-09-30T13:50:21Z
sha256 = "6e49996ad3cf45b2232b8f94ca1e3ead369c28394c51632be8d85fe826383012",
strip_prefix = "rules_python-c064f7008a30f307ea7516cf52358a653011f82b",
urls = [ urls = [
"https://github.com/bazelbuild/rules_python/archive/c064f7008a30f307ea7516cf52358a653011f82b.zip", "https://github.com/bazelbuild/rules_python/archive/c064f7008a30f307ea7516cf52358a653011f82b.zip",
], ],
strip_prefix = "rules_python-c064f7008a30f307ea7516cf52358a653011f82b",
sha256 = "6e49996ad3cf45b2232b8f94ca1e3ead369c28394c51632be8d85fe826383012",
) )

View File

@ -54,7 +54,7 @@ py_library(
srcs = ["gmock_test_utils.py"], srcs = ["gmock_test_utils.py"],
deps = [ deps = [
"//googletest/test:gtest_test_utils", "//googletest/test:gtest_test_utils",
] ],
) )
cc_binary( cc_binary(
@ -104,11 +104,11 @@ py_test(
":gmock_output_test_golden.txt", ":gmock_output_test_golden.txt",
], ],
python_version = "PY2", python_version = "PY2",
deps = [":gmock_test_utils"],
tags = [ tags = [
"no_test_msvc2015", "no_test_msvc2015",
"no_test_msvc2017", "no_test_msvc2017",
], ],
deps = [":gmock_test_utils"],
) )
cc_test( cc_test(