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
This commit is contained in:
@@ -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",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user