Skip to content

Commit

Permalink
Global cleanup change.
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=132675557
  • Loading branch information
vladmos authored and dslomov committed Sep 12, 2016
1 parent dfb2c73 commit c02dc27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,12 +563,12 @@ def _aspect_def(impl):
attrs = {
"_package_parser": attr.label(
default = tool_label("//tools/android:PackageParser"),
cfg = HOST_CFG,
cfg = "host",
executable = True,
allow_files = True),
"_jar_filter": attr.label(
default = tool_label("//tools/android:JarFilter"),
cfg = HOST_CFG,
cfg = "host",
executable = True,
allow_files = True),
},
Expand Down
1 change: 1 addition & 0 deletions tools/build_defs/apple/swift.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ swift_library = rule(
"defines": attr.string_list(mandatory=False, allow_empty=True),
"_xcrunwrapper": attr.label(
executable=True,
cfg="host",
default=Label(XCRUNWRAPPER_LABEL))},
fragments = ["apple", "objc"],
output_to_genfiles=True,
Expand Down
5 changes: 4 additions & 1 deletion tools/build_rules/genproto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,28 @@ gensrcjar = rule(
single_file = True,
),
"grpc_java_plugin": attr.label(
cfg = HOST_CFG,
cfg = "host",
executable = True,
single_file = True,
),
"_gensrcjar": attr.label(
default = Label(str(Label("//tools/build_rules:gensrcjar"))),
cfg = "host",
executable = True,
),
# TODO(bazel-team): this should be a hidden attribute with a default
# value, but Skylark needs to support select first.
"_proto_compiler": attr.label(
default = Label("//third_party/protobuf:protoc"),
allow_files = True,
cfg = "host",
executable = True,
single_file = True,
),
"_jar": attr.label(
default = Label("@bazel_tools//tools/jdk:jar"),
allow_files = True,
cfg = "host",
executable = True,
single_file = True,
),
Expand Down

0 comments on commit c02dc27

Please sign in to comment.