Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bazel_dep(
)
bazel_dep(
name = "rules_cc",
version = "0.1.1",
version = "0.1.5",
)
bazel_dep(
name = "protobuf",
Expand Down
2 changes: 2 additions & 0 deletions dcf/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down
2 changes: 2 additions & 0 deletions dcf/fss_gates/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down
2 changes: 2 additions & 0 deletions dcf/fss_gates/prng/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

package(
default_visibility = ["//:__subpackages__"],
Expand Down
2 changes: 2 additions & 0 deletions dpf/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down
2 changes: 2 additions & 0 deletions dpf/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

load("@com_github_google_iree//build_tools/embed_data:build_defs.bzl", "cc_embed_data")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

package(
default_visibility = ["//:__subpackages__"],
Expand Down
1 change: 1 addition & 0 deletions experiments/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")

package(
default_visibility = ["//visibility:private"],
Expand Down
2 changes: 2 additions & 0 deletions pir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
load("@com_google_protobuf//bazel:java_lite_proto_library.bzl", "java_lite_proto_library")
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down
2 changes: 1 addition & 1 deletion pir/cuckoo_hashed_dpf_pir_database_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ TEST_F(CuckooHashedDpfPirDatabaseBuilderTest,
TEST_F(CuckooHashedDpfPirDatabaseBuilderTest, BuildsEmptyDatabase) {
EXPECT_THAT(
builder_.Build(),
IsOkAndHolds(Truly([](auto &db) -> bool { return db->size() == 0; })));
IsOkAndHolds(Truly([](auto& db) -> bool { return db->size() == 0; })));
}

TEST_F(CuckooHashedDpfPirDatabaseBuilderTest, FailsToBuildWithEmptyKey) {
Expand Down
2 changes: 2 additions & 0 deletions pir/hashing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
load("@com_google_protobuf//bazel:java_lite_proto_library.bzl", "java_lite_proto_library")
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down
2 changes: 2 additions & 0 deletions pir/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

package(
default_visibility = ["//:__subpackages__"],
Expand Down
2 changes: 2 additions & 0 deletions pir/prng/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

package(
default_visibility = ["//visibility:public"],
Expand Down
2 changes: 2 additions & 0 deletions pir/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

package(
default_testonly = True,
Expand Down