Migrate 20 crates to monorepo
oneshot-uniffi
minimal-lexical
num_enum
num_enum_derive
num-complex
num-derive
paste
pin-utils
predicates
protobuf-parse
protobuf-support
quote
remain
rustc-demangle-capi
rustix
shared_child
thiserror-impl
threadpool
tikv-jemalloc-sys
tonic
Bug: http://b/339424309
Test: treehugger
Change-Id: I1947429f4f4dff973ca6e576a864d9b14fb8cb0f
diff --git a/Android.bp b/Android.bp
index 6d509c5..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,54 +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_rustc-demangle-capi_license"],
-}
-
-license {
- name: "external_rust_crates_rustc-demangle-capi_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_ffi_static {
- name: "librustc_demangle_static",
- host_supported: true,
- crate_name: "rustc_demangle",
- cargo_env_compat: true,
- cargo_pkg_version: "0.1.0",
- crate_root: "src/lib.rs",
- edition: "2015",
- rustlibs: ["librustc_demangle"],
- include_dirs: ["include"],
- apex_available: [
- "//apex_available:platform",
- "com.android.runtime",
- "com.android.art.debug",
- "com.android.art",
- ],
- native_bridge_supported: true,
- product_available: true,
- recovery_available: true,
- vendor_available: true,
- vendor_ramdisk_available: true,
- ramdisk_available: true,
- min_sdk_version: "S",
-}
-
-rust_test {
- name: "rustc-demangle-capi_test_src_lib",
- host_supported: true,
- crate_name: "rustc_demangle",
- cargo_env_compat: true,
- cargo_pkg_version: "0.1.0",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2015",
- rustlibs: ["librustc_demangle"],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 947b45f..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": "rustc-demangle-capi_test_src_lib"
- }
- ],
- "presubmit-rust": [
- {
- "name": "rustc-demangle-capi_test_src_lib"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index d0b22e8..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.runtime",
- "com.android.art.debug",
- "com.android.art"
- ],
- "min_sdk_version": "S",
- "native_bridge_supported": true,
- "package": {
- "rustc-demangle-capi": {
- "exported_c_header_dir": [
- "include"
- ]
- }
- },
- "ramdisk_available": true,
- "recovery_available": true,
- "run_cargo": false,
- "tests": true,
- "vendor_ramdisk_available": true
-}