diff options
author | 2016-07-06 11:52:17 +0000 | |
---|---|---|
committer | 2016-07-07 08:36:06 +0000 | |
commit | c5804abff648d97fca5f98e0905f8c50c4e924e7 (patch) | |
tree | 4ae20daeb763cb551c0db66c1bd10904df742d91 /tools/build_defs | |
parent | 68cb41ad93f34f5e923ff5fb47392a48169b7684 (diff) |
Global cleanup change.
--
MOS_MIGRATED_REVID=126687108
Diffstat (limited to 'tools/build_defs')
-rw-r--r-- | tools/build_defs/apple/swift.bzl | 2 | ||||
-rw-r--r-- | tools/build_defs/docker/docker.bzl | 4 | ||||
-rw-r--r-- | tools/build_defs/pkg/pkg.bzl | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/build_defs/apple/swift.bzl b/tools/build_defs/apple/swift.bzl index a4dfca697d..20033f78d5 100644 --- a/tools/build_defs/apple/swift.bzl +++ b/tools/build_defs/apple/swift.bzl @@ -173,7 +173,7 @@ def _swift_library_impl(ctx): swift_library = rule( _swift_library_impl, attrs = { - "srcs": attr.label_list(allow_files = FileType([".swift"])), + "srcs": attr.label_list(allow_files = [".swift"]), "deps": attr.label_list(providers=[["swift"], ["objc"]]), "module_name": attr.string(mandatory=False), "_xcrunwrapper": attr.label( diff --git a/tools/build_defs/docker/docker.bzl b/tools/build_defs/docker/docker.bzl index 2ab33c293a..327a1b1e60 100644 --- a/tools/build_defs/docker/docker.bzl +++ b/tools/build_defs/docker/docker.bzl @@ -14,8 +14,8 @@ """Rules for manipulation Docker images.""" # Filetype to restrict inputs -tar_filetype = FileType([".tar", ".tar.gz", ".tgz", ".tar.xz"]) -deb_filetype = FileType([".deb", ".udeb"]) +tar_filetype = [".tar", ".tar.gz", ".tgz", ".tar.xz"] +deb_filetype = [".deb", ".udeb"] # Docker files are tarballs, should we allow other extensions than tar? docker_filetype = tar_filetype diff --git a/tools/build_defs/pkg/pkg.bzl b/tools/build_defs/pkg/pkg.bzl index 0f00fc3cbb..65be303f75 100644 --- a/tools/build_defs/pkg/pkg.bzl +++ b/tools/build_defs/pkg/pkg.bzl @@ -14,8 +14,8 @@ """Rules for manipulation of various packaging.""" # Filetype to restrict inputs -tar_filetype = FileType([".tar", ".tar.gz", ".tgz", ".tar.xz", ".tar.bz2"]) -deb_filetype = FileType([".deb", ".udeb"]) +tar_filetype = [".tar", ".tar.gz", ".tgz", ".tar.xz", ".tar.bz2"] +deb_filetype = [".deb", ".udeb"] load(":path.bzl", "dest_path", "compute_data_path") def _pkg_tar_impl(ctx): |