1--- a/Android.bp 2+++ b/Android.bp 3@@ -45,6 +45,12 @@ rust_library { 4 crate_name: "android_log_sys", 5 srcs: ["src/lib.rs"], 6 edition: "2015", 7+ target: { 8+ linux_glibc: { 9+ // liblog is not added as a dependency for linux_glibc target 10+ enabled: false, 11+ }, 12+ }, 13 apex_available: [ 14 "//apex_available:platform", 15 "com.android.resolv", 16