File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,10 @@ bzl_library(
9696 name = "directory_path" ,
9797 srcs = ["directory_path.bzl" ],
9898 visibility = ["//lib:__subpackages__" ],
99- deps = ["//lib:utils" ],
99+ deps = [
100+ "//lib:utils" ,
101+ "@bazel_lib//lib:directory_path" ,
102+ ],
100103)
101104
102105#keep
Original file line number Diff line number Diff line change 22with a path nested within that directory
33"""
44
5+ load ("@bazel_lib//lib:directory_path.bzl" , _DirectoryPathInfo = "DirectoryPathInfo" )
56load ("//lib:utils.bzl" , _to_label = "to_label" )
67
7- DirectoryPathInfo = provider (
8- doc = "Joins a label pointing to a TreeArtifact with a path nested within that directory." ,
9- fields = {
10- "directory" : "a TreeArtifact (ctx.actions.declare_directory)" ,
11- "path" : "path relative to the directory" ,
12- },
13- )
8+ # Alias the modern bazel_lib v3 providers to ease migration of rulesets to v3.
9+ DirectoryPathInfo = _DirectoryPathInfo
1410
1511def _directory_path (ctx ):
1612 if not ctx .file .directory .is_directory :
You can’t perform that action at this time.
0 commit comments