blob: 8248d1bb3828761ed5a9d1607b7c3eb9c6c94386 [file] [log] [blame]
subdirs=["tools"]
filegroup {
name: "api-version-xml",
srcs: [
"*/public/api/android.txt",
"*/public/api/android.xml",
],
}
filegroup {
name: "current-support-api",
srcs: [
"current/support-api.txt",
],
}
genrule {
name: "last-released-public-api",
srcs: [
"*/public/api/android.txt",
],
cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt",
out: [
"last-released-api.txt",
],
}
genrule {
name: "last-released-system-api",
srcs: [
"*/system/api/android.txt",
],
cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt",
out: [
"last-released-api.txt",
],
}
prebuilt_apis {
name: "prebuilt_apis",
}