diff options
author | laurentlb <laurentlb@google.com> | 2018-04-12 04:00:19 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-12 04:02:05 -0700 |
commit | 0b6899be05d51088267ce213850b9ead96d68b8e (patch) | |
tree | f74a7bc49ca4ba0bd685ec309f58e7faf0a6a8ef /tools/build_defs | |
parent | d8ac06a4cfba7fe820cf61c9b865cf670cc936a9 (diff) |
Automatic code cleanup.
PiperOrigin-RevId: 192587935
Diffstat (limited to 'tools/build_defs')
-rw-r--r-- | tools/build_defs/pkg/pkg.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_defs/pkg/pkg.bzl b/tools/build_defs/pkg/pkg.bzl index 24840eefbd..569c8c85a1 100644 --- a/tools/build_defs/pkg/pkg.bzl +++ b/tools/build_defs/pkg/pkg.bzl @@ -199,7 +199,7 @@ def pkg_tar(**kwargs): if "srcs" not in kwargs: if "files" in kwargs: if not hasattr(kwargs["files"], "items"): - label = "%s//%s:%s" % (REPOSITORY_NAME, native.package_name(), kwargs["name"]) + label = "%s//%s:%s" % (native.repository_name(), native.package_name(), kwargs["name"]) print("%s: you provided a non dictionary to the pkg_tar `files` attribute. " % (label,) + "This attribute was renamed to `srcs`. " + "Consider renaming it in your BUILD file.") |