diff --git a/swift/swift_import.bzl b/swift/swift_import.bzl index 975393d5d..028301b32 100644 --- a/swift/swift_import.bzl +++ b/swift/swift_import.bzl @@ -155,9 +155,9 @@ swift_import = rule( { "archives": attr.label_list( allow_empty = True, - allow_files = ["a"], + allow_files = ["a", "lo"], doc = """\ -The list of `.a` files provided to Swift targets that depend on this target. +The list of `.a` or `.lo` files provided to Swift targets that depend on this target. """, mandatory = False, ),