Android.bp: use a Soong-only manifest with an explicit package attribute
Soong's manifest fixer requires package= in the manifest, but AGP 8+ derives it from the Gradle namespace and rejects the attribute in the shared manifest — so give the AOSP build its own copy.
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
android_library {
|
||||
name: "android-device-info",
|
||||
manifest: "library/src/main/AndroidManifest.xml",
|
||||
// Soong-only copy with an explicit package attribute — Gradle's manifest
|
||||
// relies on `namespace` in build.gradle.kts, which Soong cannot read.
|
||||
manifest: "AndroidManifest-soong.xml",
|
||||
srcs: ["library/src/main/java/**/*.kt"],
|
||||
asset_dirs: ["library/src/main/assets"],
|
||||
sdk_version: "current",
|
||||
|
||||
Reference in New Issue
Block a user