Migrate 20 crates to monorepo
gdbstub
gdbstub_arch
glam
gpio-cdev
grpcio-compiler
half
hex
hound
hyper-timeout
ident_case
indexmap
linkme-impl
mockall_derive
moveit
octets
openssl-macros
percore
petgraph
plotters
protobuf-json-mapping
Bug: http://b/339424309
Test: treehugger
Change-Id: I4aea761132ea9b56832ffb74e2fde4257057503f
diff --git a/Android.bp b/Android.bp
index 6720e48..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,45 +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_octets_license"],
-}
-
-license {
- name: "external_rust_crates_octets_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-BSD-2-Clause"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "liboctets",
- host_supported: true,
- crate_name: "octets",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.0",
- crate_root: "src/lib.rs",
- edition: "2018",
- apex_available: [
- "//apex_available:platform",
- "com.android.resolv",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
-}
-
-rust_test {
- name: "octets_test_src_lib",
- host_supported: true,
- crate_name: "octets",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.0",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index cd576aa..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,11 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/quiche"
- },
- {
- "path": "packages/modules/DnsResolver"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index b8ed541..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.resolv"
- ],
- "min_sdk_version": "29",
- "run_cargo": false,
- "tests": true
-}