Skip to content
Snippets Groups Projects
Commit 22d44afc authored by Anton Hansson's avatar Anton Hansson
Browse files

Use a filegroup for the AndroidManifest.xml input

To allow the droidstubs module to be moved to a directory other than
the root, where it would otherwise not be able to access the manifest.

Bug: 271563074
Test: m
Change-Id: Ic437a4157a390d11397de1fe6744ae46a72d2508
parent c1992841
No related branches found
No related tags found
No related merge requests found
......@@ -506,7 +506,7 @@ metalava_framework_docs_args = "" +
"--hide Todo " +
"--hide Typo " +
"--hide UnavailableSymbol " +
"--manifest $(location core/res/AndroidManifest.xml) "
"--manifest $(location :frameworks-base-core-AndroidManifest.xml) "
packages_to_document = [
"android",
......@@ -543,7 +543,7 @@ stubs_defaults {
sdk_version: "none",
system_modules: "none",
java_version: "1.8",
arg_files: ["core/res/AndroidManifest.xml"],
arg_files: [":frameworks-base-core-AndroidManifest.xml"],
aidl: {
local_include_dirs: [
"media/aidl",
......
......@@ -172,3 +172,12 @@ genrule {
" > $(out)",
tools: ["xmllint"],
}
filegroup {
name: "frameworks-base-core-AndroidManifest.xml",
srcs: ["AndroidManifest.xml"],
visibility: [
"//frameworks/base",
"//frameworks/base/api",
],
}
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