aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-12-15 16:02:01 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-15 16:02:01 +0000
commit2e531088a92bf791e86b097d8212551708e919f9 (patch)
tree2ea0e76815a667dd8445edec8840f25fd980fc12 /Android.bp
parent2a37e1776d5a5987fd0e7e1380abf2cd86ab2fa8 (diff)
parent4be8607c6294ac1430edb4a2f42563dae5130239 (diff)
downloadwhich-2e531088a92bf791e86b097d8212551708e919f9.tar.gz
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 4be8607c62
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1912836 Change-Id: I6e7bc718a80cdc6fbdf179898ae71ad1de986ba2
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp8
1 files changed, 3 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index ef770b4..9ab98c9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --device --features=.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -22,6 +22,8 @@ rust_library {
name: "libwhich",
host_supported: true,
crate_name: "which",
+ cargo_env_compat: true,
+ cargo_pkg_version: "4.2.2",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -29,7 +31,3 @@ rust_library {
"liblibc",
],
}
-
-// dependent_library ["feature_list"]
-// either-1.6.1 "default,use_std"
-// libc-0.2.98 "default,std"