Remove rust test targets that cannot be run on Android.
- These tests depend on some data files that are under the GPL license, which were not included in the import into AOSP.
- This library was originally imported in ag/27243328 (import proposal bug: b/330901042)
Test: m librust_stemmers
Bug: 344915547
Bug: 330901042
Change-Id: I0e89758b1f08f570b53d908b89f1162a8b87bd35
diff --git a/Android.bp b/Android.bp
index b54d311..182f9b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -21,20 +21,3 @@
product_available: true,
vendor_available: true,
}
-
-rust_test {
- name: "rust-stemmers_test_src_lib",
- host_supported: true,
- crate_name: "rust_stemmers",
- cargo_env_compat: true,
- cargo_pkg_version: "1.2.0",
- srcs: ["src/lib.rs"],
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2015",
- rustlibs: ["libserde"],
- proc_macros: ["libserde_derive"],
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
index c8842d1..1bbaa25 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -1,4 +1,4 @@
{
"run_cargo": false,
- "tests": true
+ "tests": false
}