aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2023-09-11 17:03:27 +0000
committerJames Farrell <jamesfarrell@google.com>2023-09-11 17:03:27 +0000
commitf494a868036e9e261ab9be34ce96d40ca7a94c0e (patch)
tree188a8dbe354f7da7e436e6fc8e3c5275649977d7
parente54f278d586b10505d02ae34c1cedf7df22d27ef (diff)
downloadfxhash-f494a868036e9e261ab9be34ce96d40ca7a94c0e.tar.gz
Add cargo2android.json
Test: cargo2android Change-Id: I8a1bf0179a7c9028cc52829fb17930956a0d3345
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json5
2 files changed, 8 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 66be809..c528e9f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// This file is generated by cargo2android.py --run --device --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
-
-
package {
default_applicable_licenses: ["external_rust_crates_fxhash_license"],
}
@@ -55,4 +53,6 @@ rust_library {
"//apex_available:platform",
"//apex_available:anyapex",
],
+ product_available: true,
+ vendor_available: true,
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..31338da
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,5 @@
+{
+ "run": true,
+ "device": true,
+ "dependencies": true
+}