Skip to content
Snippets Groups Projects
Commit 9a26363f authored by Zi Wang's avatar Zi Wang
Browse files

Add java_genrule to replace handcrafted api fingerprint generation

Test: m and TH

Bug: 268337234
Change-Id: Ib58f736ce43d877d0c08cdd9b154e93a1766105b
parent 299d7929
No related branches found
No related tags found
No related merge requests found
......@@ -263,3 +263,15 @@ genrule {
out: ["combined-removed-dex.txt"],
cmd: "$(location gen_combined_removed_dex.sh) $(location metalava) $(genDir) $(in) > $(out)",
}
java_genrule {
name: "api_fingerprint",
srcs: [
":frameworks-base-api-current.txt",
":frameworks-base-api-system-current.txt",
":frameworks-base-api-module-lib-current.txt",
":frameworks-base-api-system-server-current.txt",
],
out: ["api_fingerprint.txt"],
cmd: "cat $(in) | md5sum | cut -d' ' -f1 > $(out)",
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment