diff options
author | cparsons <cparsons@google.com> | 2018-07-16 13:33:33 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-16 13:35:11 -0700 |
commit | e506858c14d9ffceedbb22988f7c65fe70df5536 (patch) | |
tree | f482330e0d82fee8646b6e6c7b86848e4a7320cd /tools | |
parent | de3d8bf821dba97471ab4ccfc1f1b1559f0a1cac (diff) |
Add --incompatible_disable_deprecated_attr_params to disable some deprecated parameters of the skylark attr module.
RELNOTES: None.
PiperOrigin-RevId: 204797954
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build_defs/pkg/pkg.bzl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/build_defs/pkg/pkg.bzl b/tools/build_defs/pkg/pkg.bzl index 459161785b..0e250b261e 100644 --- a/tools/build_defs/pkg/pkg.bzl +++ b/tools/build_defs/pkg/pkg.bzl @@ -231,23 +231,23 @@ def pkg_tar(**kwargs): pkg_deb = rule( implementation = _pkg_deb_impl, attrs = { - "data": attr.label(mandatory = True, allow_files = tar_filetype, single_file = True), + "data": attr.label(mandatory = True, allow_single_file = tar_filetype), "package": attr.string(mandatory = True), "architecture": attr.string(default = "all"), "distribution": attr.string(default = "unstable"), "urgency": attr.string(default = "medium"), "maintainer": attr.string(mandatory = True), - "preinst": attr.label(allow_files = True, single_file = True), - "postinst": attr.label(allow_files = True, single_file = True), - "prerm": attr.label(allow_files = True, single_file = True), - "postrm": attr.label(allow_files = True, single_file = True), - "conffiles_file": attr.label(allow_files = True, single_file = True), + "preinst": attr.label(allow_single_file = True), + "postinst": attr.label(allow_single_file = True), + "prerm": attr.label(allow_single_file = True), + "postrm": attr.label(allow_single_file = True), + "conffiles_file": attr.label(allow_single_file = True), "conffiles": attr.string_list(default = []), - "version_file": attr.label(allow_files = True, single_file = True), + "version_file": attr.label(allow_single_file = True), "version": attr.string(), - "description_file": attr.label(allow_files = True, single_file = True), + "description_file": attr.label(allow_single_file = True), "description": attr.string(), - "built_using_file": attr.label(allow_files = True, single_file = True), + "built_using_file": attr.label(allow_single_file = True), "built_using": attr.string(), "priority": attr.string(), "section": attr.string(), |