aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-13 01:20:04 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-13 01:20:04 +0000
commit8c472320955527296532e8ec5da9640627dcec30 (patch)
tree3467cd8554e7e6b123c60761aea9cacb0c079d0d
parentc2f2a4a2a0b1cbed8293771278ec5847154adea7 (diff)
parent48ee729b1f8ab48ea563e20e8416a3956c15d92c (diff)
downloadclap-android14-d1-s1-release.tar.gz
Change-Id: I0f982a5098a2bb192e6bac5a0e891e9bc7bfd0c8
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json2
2 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index e406412..235586c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -47,8 +47,10 @@ rust_library {
edition: "2021",
features: [
"derive",
+ "error-context",
"help",
"std",
+ "usage",
],
rustlibs: [
"libbitflags",
@@ -74,8 +76,10 @@ rust_binary {
edition: "2021",
features: [
"derive",
+ "error-context",
"help",
"std",
+ "usage",
],
rustlibs: [
"libbitflags",
diff --git a/cargo2android.json b/cargo2android.json
index 2780a3d..e49ebf5 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,6 +1,6 @@
{
"dependencies": true,
"device": true,
- "features": "derive,help,std",
+ "features": "derive,error-context,help,std,usage",
"run": true
}