aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Clément Tosi <ptosi@google.com>2022-08-24 20:07:12 +0100
committerPierre-Clément Tosi <ptosi@google.com>2022-08-24 20:07:12 +0100
commit0e115f5fd8b6a208c9f574e986a1b5bc9adbc5ba (patch)
tree40eb335b0644c06fc52910362fcf441ddc36ced4
parentd8e88bd5eb7af20e260b75353719b1cfe043e704 (diff)
downloadmanaged-0e115f5fd8b6a208c9f574e986a1b5bc9adbc5ba.tar.gz
Make crate apex_available:{platform,anyapex}main-16k
Add the apex_available entry which cargo2android.py would add nowadays, to make it available to address the following error: error: <FILE>: module "<APEX>" variant "<VAR>": "<LIB>" requires "libmanaged" that doesn't list the APEX under 'apex_available'. Bug: 242056749 Test: - Change-Id: I3727db61ba4329d7bb562d477fa7120fd89dc8eb
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 80bcd09..ca35699 100644
--- a/Android.bp
+++ b/Android.bp
@@ -30,6 +30,10 @@ rust_library {
"default",
"std",
],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}
rust_test {