summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-11-29 14:04:40 -0800
committerJoel Galenson <jgalenson@google.com>2021-12-03 13:27:58 -0800
commit671a55ce7d23e56a79ad6815313faf91f22cc4f0 (patch)
tree5bc3ea8b1f2ca69cb6970ca3c7bc93cbcd309502
parent3536cb78bf261ad8af22053e09ef69c77948112b (diff)
downloadpin-project-internal-671a55ce7d23e56a79ad6815313faf91f22cc4f0.tar.gz
Refresh Android.bp, cargo2android.json, TEST_MAPPING.
Test: None Change-Id: I612218f91c3996f20e21dcb5e4e3dc6bd3670489
-rw-r--r--Android.bp27
-rw-r--r--TEST_MAPPING8
-rw-r--r--cargo2android.json4
3 files changed, 7 insertions, 32 deletions
diff --git a/Android.bp b/Android.bp
index f9fca18..051fb49 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -42,6 +42,8 @@ license {
rust_proc_macro {
name: "libpin_project_internal",
crate_name: "pin_project_internal",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.0.8",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -50,26 +52,3 @@ rust_proc_macro {
"libsyn",
],
}
-
-rust_test_host {
- name: "pin-project-internal_host_test_src_lib",
- crate_name: "pin_project_internal",
- srcs: ["src/lib.rs"],
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libproc_macro2",
- "libquote",
- "libsyn",
- ],
-}
-
-// dependent_library ["feature_list"]
-// proc-macro2-1.0.28 "default,proc-macro"
-// quote-1.0.9 "default,proc-macro"
-// syn-1.0.74 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit-mut"
-// unicode-xid-0.2.2 "default"
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 7e10dd0..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "presubmit": [
- {
- "name": "futures-util_device_test_src_lib"
- }
- ]
-}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..341300b
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "run": true,
+ "tests": true
+} \ No newline at end of file