blob: eb11bcfba71c25d5fa8c0d56bf73755dee0d35ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Description:
# Package for aar_import validation checks
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
genrule(
name = "gen_aar_import_checks",
outs = ["aar_import_checks"],
executable = True,
cmd = """
cat > $@ <<EOF
#!/bin/bash
while [[ $$# -gt 0 ]]
do
case $$1 in
-output)
out="$$2"
shift # past argument
shift # past value
;;
esac
done
touch $$out
EOF
""")
|