aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-16 02:06:19 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-16 02:06:19 +0000
commitf6a7f422e1a7fe2e76d2d4d6b51bb4c1f9336e0a (patch)
treecd3afe67de07a24c737a5872b5c5761f9745e330
parent16d366dbc98a9626c29216915027206455fa7067 (diff)
parentc0a9a4d43cb626ffb43aa4d60f80bd4c6235d93f (diff)
downloadplotters-svg-android13-d1-s1-release.tar.gz
Change-Id: I3e561e1daf9195696f75c406583f831307bbadca
-rw-r--r--Android.bp7
-rw-r--r--TEST_MAPPING13
-rw-r--r--cargo2android.json4
3 files changed, 12 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 1a6fc57..3df1865 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// 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 {
@@ -22,12 +22,11 @@ rust_library {
name: "libplotters_svg",
host_supported: true,
crate_name: "plotters_svg",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.3.1",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libplotters_backend",
],
}
-
-// dependent_library ["feature_list"]
-// plotters-backend-0.3.2
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 05c6d70..3cbd48d 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,20 +1,17 @@
// Generated by update_crate_tests.py for tests that depend on this crate.
{
- "presubmit": [
+ "imports": [
{
- "name": "base64_device_test_tests_decode"
+ "path": "external/rust/crates/base64"
},
{
- "name": "base64_device_test_tests_encode"
+ "path": "external/rust/crates/tinytemplate"
},
{
- "name": "base64_device_test_tests_helpers"
+ "path": "external/rust/crates/tinyvec"
},
{
- "name": "unicode-xid_device_test_src_lib"
- },
- {
- "name": "unicode-xid_device_test_tests_exhaustive_tests"
+ "path": "external/rust/crates/unicode-xid"
}
]
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bf78496
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "device": true,
+ "run": true
+} \ No newline at end of file