summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:16 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:16 +0000
commitb0ef84625c4940a651f955c73d19223c18566256 (patch)
tree4f0742d1291f5ddda6ad3931aceb0ff96ced7272
parent967b7893aedbfbbca30d1833376cdf9f81734314 (diff)
parent25e2ab59d464f52afa3f5f9fb27d19fe723b8ac2 (diff)
downloadthreadpool-android14-qpr2-s1-release.tar.gz
Change-Id: Iddaf51655ee041ceee677c454bfebf4b428d88b3
-rw-r--r--Android.bp7
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 3372a0a..ef95523 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -20,16 +20,13 @@ license {
rust_library {
name: "libthreadpool",
- // has rustc warnings
host_supported: true,
crate_name: "threadpool",
cargo_env_compat: true,
cargo_pkg_version: "1.8.1",
srcs: ["src/lib.rs"],
edition: "2015",
- rustlibs: [
- "libnum_cpus",
- ],
+ rustlibs: ["libnum_cpus"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 1b6cca2..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}