Migrate 10 crates to monorepo am: 08d5fc1da3
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/android_log-sys/+/3219035
Change-Id: I640542a44a166827977c62bdfe49f6cf4a0e36e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 854741c..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,41 +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_android_log-sys_license"],
-}
-
-license {
- name: "external_rust_crates_android_log-sys_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libandroid_log_sys",
- host_supported: true,
- crate_name: "android_log_sys",
- cargo_env_compat: true,
- cargo_pkg_version: "0.3.1",
- crate_root: "src/lib.rs",
- edition: "2015",
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
- target: {
- linux_glibc: {
- // liblog is not added as a dependency for linux_glibc target
- enabled: false,
- },
- linux_musl: {
- // liblog is not added as a dependency for linux_musl target
- enabled: false,
- },
- },
-
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index fe1e142..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,32 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/android_logger"
- },
- {
- "path": "packages/modules/DnsResolver"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/encryptedstore"
- },
- {
- "path": "packages/modules/Virtualization/virtualizationmanager"
- },
- {
- "path": "packages/modules/Virtualization/zipfuse"
- },
- {
- "path": "system/logging/rust"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/selinux"
- }
- ]
-}
diff --git a/cargo2android_glibc.bp b/cargo2android_glibc.bp
deleted file mode 100644
index 7d62503..0000000
--- a/cargo2android_glibc.bp
+++ /dev/null
@@ -1,10 +0,0 @@
-target: {
- linux_glibc: {
- // liblog is not added as a dependency for linux_glibc target
- enabled: false,
- },
- linux_musl: {
- // liblog is not added as a dependency for linux_musl target
- enabled: false,
- },
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index b0b55c1..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "min_sdk_version": "29",
- "package": {
- "android_log-sys": {
- "add_module_block": "cargo2android_glibc.bp"
- }
- },
- "run_cargo": false
-}