blob: eb11bcfba71c25d5fa8c0d56bf73755dee0d35ea [file] [log] [blame]
# 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
""")