aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElisei Zamakhov <elisei@google.com>2023-04-23 14:49:07 +0200
committerElisei Zamakhov <elisei@google.com>2023-04-24 19:27:04 +0200
commitca3ea5585588790ee5ff9ecd7e314ef0f42d9206 (patch)
tree16197cd9b002e2c8cd7cde6918bd39b41753882c
parentd7214a2d978d1a96b8f75d21c7ae3801c6fa5fbc (diff)
downloadthiserror-ca3ea5585588790ee5ff9ecd7e314ef0f42d9206.tar.gz
Allow libthiserror to be used in other apex
Test: m Change-Id: I0cc0c3bb39822e1877cb2383881ca69d31c87568
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json8
2 files changed, 3 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index 8081558..1446b46 100644
--- a/Android.bp
+++ b/Android.bp
@@ -48,12 +48,8 @@ rust_library {
cfgs: ["provide_any"],
proc_macros: ["libthiserror_impl"],
apex_available: [
+ "//apex_available:anyapex",
"//apex_available:platform",
- "com.android.btservices",
- "com.android.compos",
- "com.android.resolv",
- "com.android.uwb",
- "com.android.virt",
],
product_available: true,
vendor_available: true,
diff --git a/cargo2android.json b/cargo2android.json
index 7d5c2b4..aba94bd 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,11 +1,7 @@
{
"apex-available": [
- "//apex_available:platform",
- "com.android.btservices",
- "com.android.compos",
- "com.android.resolv",
- "com.android.uwb",
- "com.android.virt"
+ "//apex_available:anyapex",
+ "//apex_available:platform"
],
"dependencies": true,
"device": true,