Skip to content

Commit

Permalink
Bzlmod is going to replace the legacy WORKSPACE system in future Baze…
Browse files Browse the repository at this point in the history
…l releases. This commit prepares us for the future.

PiperOrigin-RevId: 636098783
  • Loading branch information
garyillyes committed May 22, 2024
1 parent 19feaac commit a1d9e38
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ cc_library(
"robots.h",
],
deps = [
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:fixed_array",
"@com_google_absl//absl/strings",
"@abseil-cpp//absl/base:core_headers",
"@abseil-cpp//absl/container:fixed_array",
"@abseil-cpp//absl/strings",
],
)

Expand All @@ -26,8 +26,8 @@ cc_test(
srcs = ["robots_test.cc"],
deps = [
":robots",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
"@abseil-cpp//absl/strings",
"@googletest//:gtest_main",
],
)

Expand Down
25 changes: 25 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module(
name = "com_google_robotstxt",
version = "head",
)

# -- bazel_dep definitions -- #
bazel_dep(
name = "bazel_skylib",
version = "1.5.0",
)

bazel_dep(
name = "abseil-cpp",
version = "20240116.2",
)

bazel_dep(
name = "googletest",
version = "1.14.0.bcr.1",
)

bazel_dep(
name = "rules_cc",
version = "0.0.9",
)

0 comments on commit a1d9e38

Please sign in to comment.