aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osx/alias_rules.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx/alias_rules.bzl')
-rw-r--r--tools/osx/alias_rules.bzl9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/osx/alias_rules.bzl b/tools/osx/alias_rules.bzl
index 43acbb1559..c1a5d27a53 100644
--- a/tools/osx/alias_rules.bzl
+++ b/tools/osx/alias_rules.bzl
@@ -13,8 +13,9 @@
# limitations under the License.
"""Rule that stubs out the xcode_config_alias rule if it is not supported."""
+
def xcode_config_alias(name):
- if hasattr(native, "xcode_config_alias"):
- native.xcode_config_alias(name=name)
- else:
- native.filegroup(name=name)
+ if hasattr(native, "xcode_config_alias"):
+ native.xcode_config_alias(name = name)
+ else:
+ native.filegroup(name = name)