Files
AndroidDeviceInfo/Android.bp
T
oxmc d9081fab59 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.
2026-07-15 15:46:33 -07:00

18 lines
618 B
Plaintext

android_library {
name: "android-device-info",
// 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",
min_sdk_version: "36",
kotlincflags: ["-Xjvm-default=all"],
static_libs: [
"kotlinx-coroutines-android",
"androidx.annotation_annotation",
"androidx.core_core-ktx",
],
visibility: ["//visibility:public"],
}