-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy over runfiles library from Bazel
The runfiles library can be maintained independently of Bazel releases and bazel_tools can refer to it via an alias.
- Loading branch information
Showing
8 changed files
with
1,661 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bazel-* | ||
MODULE.bazel.lock | ||
/.ijwb/ | ||
/.clwb/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
load("@rules_cc//cc:cc_library.bzl", "cc_library") | ||
|
||
licenses(["notice"]) | ||
|
||
alias( | ||
cc_library( | ||
name = "runfiles", | ||
actual = "@bazel_tools//tools/cpp/runfiles", | ||
srcs = ["runfiles.cc"], | ||
hdrs = ["runfiles.h"], | ||
# Ensure that this header can be included from the same directory as the | ||
# legacy @bazel_tools//tools/cpp/runfiles library. | ||
include_prefix = "tools/cpp/runfiles", | ||
strip_include_prefix = ".", | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.