Add WORKSPACE and .bazelrc and make other changes for bazel build.

PiperOrigin-RevId: 428343135
This commit is contained in:
suetfei
2022-02-13 08:50:47 -08:00
committed by Copybara-Service
parent 47072f1f1a
commit 3c8a279829
12 changed files with 203 additions and 373 deletions
+1 -24
View File
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_defs/cc:cc_fake_binary.bzl", "cc_fake_binary")
licenses(["notice"])
@@ -372,26 +372,3 @@ cc_test(
"@com_google_googletest//:gtest_main",
],
)
cc_fake_binary(
name = "thread_check_nocompile",
srcs = ["thread_check_nocompile.cc"],
deps = [
":types",
"@com_google_absl//absl/time",
],
)
py_test(
name = "thread_check_nocompile_test",
size = "large",
srcs = ["thread_check_nocompile_test.py"],
data = ["thread_check_nocompile"],
python_version = "PY3",
srcs_version = "PY3",
tags = ["non_compile_test"],
deps = [
"//testing/pybase",
"//testing/pybase:fake_target_util",
],
)
-2
View File
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
licenses(["notice"])
package(default_visibility = ["//visibility:public"])