aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/common.bzl
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2016-12-23 14:04:44 -0800
committerGravatar Gunhan Gulsoy <gunan@google.com>2016-12-23 14:04:44 -0800
commit03d0b6c1c5533036a54c4a5366caa629832a02f5 (patch)
treebad419e754779211bccf85ee62ec10a166420a7a /third_party/common.bzl
parent0ff314b3ec34d6ceb2f01d2ae7439457291001fd (diff)
Fix: Run buildifier on build files under third_party.
Diffstat (limited to 'third_party/common.bzl')
-rw-r--r--third_party/common.bzl12
1 files changed, 8 insertions, 4 deletions
diff --git a/third_party/common.bzl b/third_party/common.bzl
index 90bd5e9642..d2b1422227 100644
--- a/third_party/common.bzl
+++ b/third_party/common.bzl
@@ -28,12 +28,16 @@ def expand_header_template_impl(ctx):
)
expand_header_template = rule(
- implementation = expand_header_template_impl,
attrs = {
- "src": attr.label(mandatory=True, allow_files=True, single_file=True),
- "substitutions": attr.string_dict(mandatory=True),
- "out": attr.output(mandatory=True),
+ "src": attr.label(
+ mandatory = True,
+ allow_files = True,
+ single_file = True,
+ ),
+ "substitutions": attr.string_dict(mandatory = True),
+ "out": attr.output(mandatory = True),
},
# output_to_genfiles is required for header files.
output_to_genfiles = True,
+ implementation = expand_header_template_impl,
)