aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-03-15 23:43:58 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-15 23:43:58 +0000
commit02431c0a1fb87421d8520fc069d73bbdd9a4e925 (patch)
treed8ddd61e5c19b7c52cb38d53de604c33b8e5581f
parent82c7cdb4f7c9f0791e9cc87812386dd09a61d313 (diff)
parentd4b779e29246f050cc1a79c61870e6f8da0e2967 (diff)
downloadandroid_log-sys-02431c0a1fb87421d8520fc069d73bbdd9a4e925.tar.gz
Merge "Tweak linux_glibc properties for musl builds in external/rust/crates/android_log-sys" am: d4b779e292
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/android_log-sys/+/2019539 Change-Id: I135a39186a5436fb3a3844404564eaf7365a3a57
-rw-r--r--Android.bp4
-rw-r--r--cargo2android_glibc.bp6
2 files changed, 9 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 812d4e2..185de12 100644
--- a/Android.bp
+++ b/Android.bp
@@ -62,5 +62,9 @@ rust_library {
// liblog is not added as a dependency for linux_glibc target
enabled: false,
},
+ linux_musl: {
+ // liblog is not added as a dependency for linux_musl target
+ enabled: false,
+ },
},
}
diff --git a/cargo2android_glibc.bp b/cargo2android_glibc.bp
index f4d25cf..7d62503 100644
--- a/cargo2android_glibc.bp
+++ b/cargo2android_glibc.bp
@@ -3,4 +3,8 @@ target: {
// liblog is not added as a dependency for linux_glibc target
enabled: false,
},
-} \ No newline at end of file
+ linux_musl: {
+ // liblog is not added as a dependency for linux_musl target
+ enabled: false,
+ },
+}