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
diff --git a/Android.bp b/Android.bp
index 0c9b82e..e426b71 100644
--- a/Android.bp
+++ b/Android.bp
@@ -506,7 +506,7 @@
"--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 @@
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",