Skip to content
Snippets Groups Projects
Commit 25783f37 authored by Yiming Pan's avatar Yiming Pan Committed by Gerrit Code Review
Browse files

Merge "Build flag to API mapping files." into main

parents 67bb3d4e ea84fc81
No related branches found
No related tags found
No related merge requests found
......@@ -414,3 +414,49 @@ build = [
"ApiDocs.bp",
"StubLibraries.bp",
]
genrule_defaults {
name: "flag-api-mapping-generation-defaults",
cmd: "$(location extract-flagged-apis) $(in) $(out)",
tools: ["extract-flagged-apis"],
}
genrule {
name: "flag-api-mapping-PublicApi",
defaults: ["flag-api-mapping-generation-defaults"],
srcs: [":frameworks-base-api-current.txt"],
out: ["flag_api_map.textproto"],
dist: {
targets: ["droid"],
},
}
genrule {
name: "flag-api-mapping-SystemApi",
defaults: ["flag-api-mapping-generation-defaults"],
srcs: [":frameworks-base-api-system-current.txt"],
out: ["system_flag_api_map.textproto"],
dist: {
targets: ["droid"],
},
}
genrule {
name: "flag-api-mapping-ModuleLibApi",
defaults: ["flag-api-mapping-generation-defaults"],
srcs: [":frameworks-base-api-module-lib-current.txt"],
out: ["module_lib_flag_api_map.textproto"],
dist: {
targets: ["droid"],
},
}
genrule {
name: "flag-api-mapping-SystemServerApi",
defaults: ["flag-api-mapping-generation-defaults"],
srcs: [":frameworks-base-api-system-server-current.txt"],
out: ["system_server_flag_api_map.textproto"],
dist: {
targets: ["droid"],
},
}
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