Migrate 9 crates to monorepo.
matchit
flate2
vulkano
libfuzzer-sys
clang-sys
unicode-ident
jni
tokio-openssl
serde_yaml
Bug: http://b/339424309
Test: treehugger
Change-Id: Iddc7695de048c0f6779c9943863773bd345a5783
diff --git a/Android.bp b/Android.bp
index a7d8251..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,65 +1 @@
-// This file is generated by cargo_embargo.
-// Do not modify this file because the changes will be overridden on upgrade.
-
-package {
- default_applicable_licenses: ["external_rust_crates_jni_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_jni_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_test {
- name: "jni_test_src_lib",
- host_supported: true,
- crate_name: "jni",
- cargo_env_compat: true,
- cargo_pkg_version: "0.21.1",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: ["default"],
- rustlibs: [
- "libcesu8",
- "libcfg_if",
- "libcombine",
- "libjni_sys",
- "liblazy_static",
- "liblog_rust",
- "libthiserror",
- ],
-}
-
-rust_library {
- name: "libjni",
- host_supported: true,
- crate_name: "jni",
- cargo_env_compat: true,
- cargo_pkg_version: "0.21.1",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: ["default"],
- rustlibs: [
- "libcesu8",
- "libcfg_if",
- "libcombine",
- "libjni_sys",
- "liblog_rust",
- "libthiserror",
- ],
- apex_available: [
- "//apex_available:platform",
- "com.android.uwb",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 78d12e3..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,13 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "presubmit": [
- {
- "name": "jni_test_src_lib"
- }
- ],
- "presubmit-rust": [
- {
- "name": "jni_test_src_lib"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index c786545..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.uwb"
- ],
- "min_sdk_version": "29",
- "tests": true,
- "package": {
- "jni": {
- "patch": "patches/Android.bp.diff"
- }
- }
-}