diff options
author | Pierre-Clément Tosi <ptosi@google.com> | 2022-08-24 20:07:12 +0100 |
---|---|---|
committer | Pierre-Clément Tosi <ptosi@google.com> | 2022-08-24 20:07:12 +0100 |
commit | 0e115f5fd8b6a208c9f574e986a1b5bc9adbc5ba (patch) | |
tree | 40eb335b0644c06fc52910362fcf441ddc36ced4 | |
parent | d8e88bd5eb7af20e260b75353719b1cfe043e704 (diff) | |
download | managed-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.bp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ rust_library { "default", "std", ], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], } rust_test { |