Skip to content

Commit 8e1c0b9

Browse files
committed
Remove xmllint_tool from toolchain
1 parent 263bb4a commit 8e1c0b9

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

toolchains/android/BUILD

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,3 @@ sh_binary(
5757
visibility = ["//visibility:public"],
5858
)
5959

60-
genrule(
61-
name = "gen_xmllint",
62-
outs = ["xmllint.sh"],
63-
cmd = """cat > $@ <<EOF
64-
xmllint \\$$@
65-
EOF
66-
""",
67-
executable = True,
68-
)
69-
70-
sh_binary(
71-
name = "xmllint",
72-
srcs = [":xmllint.sh"],
73-
visibility = ["//visibility:public"],
74-
)

toolchains/android/toolchain.bzl

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,6 @@ _ATTRS = dict(
263263
default = "//toolchains/android:unzip",
264264
executable = True,
265265
),
266-
xmllint_tool = attr.label(
267-
cfg = "exec",
268-
default = "//toolchains/android:xmllint",
269-
executable = True,
270-
),
271266
xsltproc_tool = attr.label(
272267
cfg = "exec",
273268
default = Label("//tools/android/xslt:xslt"),
@@ -315,10 +310,10 @@ _ATTRS = dict(
315310
executable = True,
316311
),
317312
deploy_info_writer = attr.label(
318-
allow_single_file = True,
319-
cfg = "exec",
320-
default = Label("//src/tools/deploy_info"),
321-
executable = True,
313+
allow_single_file = True,
314+
cfg = "exec",
315+
default = Label("//src/tools/deploy_info"),
316+
executable = True,
322317
),
323318
translation_merger = attr.label(
324319
cfg = "exec",

0 commit comments

Comments
 (0)