Migrate 25 crates to monorepo. bytemuck_derive hashlink httparse http-body httpdate idna instant intrusive-collections itertools jni-sys lazy_static libc libloading linked-hash-map linkme litrs lock_api log lru-cache lz4_flex macaddr managed maybe-async memchr memoffset Bug: 339424309 Test: treehugger Change-Id: Ie6fb1846947baab85757ebfb618c9680768f3cca
diff --git a/Android.bp b/Android.bp index 944aecd..96beb97 100644 --- a/Android.bp +++ b/Android.bp
@@ -1,73 +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_lazy_static_license"], -} - -license { - name: "external_rust_crates_lazy_static_license", - visibility: [":__subpackages__"], - license_kinds: ["SPDX-license-identifier-Apache-2.0"], - license_text: ["LICENSE"], -} - -rust_test { - name: "lazy_static_test_tests_test", - host_supported: true, - crate_name: "test", - cargo_env_compat: true, - cargo_pkg_version: "1.4.0", - crate_root: "tests/test.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2015", - rustlibs: ["liblazy_static"], -} - -rust_library { - name: "liblazy_static", - host_supported: true, - crate_name: "lazy_static", - cargo_env_compat: true, - cargo_pkg_version: "1.4.0", - 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", -} - -rust_library_rlib { - name: "liblazy_static_nostd", - crate_name: "lazy_static", - cargo_env_compat: true, - cargo_pkg_version: "1.4.0", - crate_root: "src/lib.rs", - edition: "2015", - features: [ - "spin", - "spin_no_std", - ], - rustlibs: ["libspin_nostd"], - apex_available: [ - "//apex_available:platform", - "//apex_available:anyapex", - ], - prefer_rlib: true, - no_stdlibs: true, - stdlibs: [ - "libcompiler_builtins.rust_sysroot", - "libcore.rust_sysroot", - ], - 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 e1d670f..0000000 --- a/TEST_MAPPING +++ /dev/null
@@ -1,87 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "imports": [ - { - "path": "external/rust/crates/base64" - }, - { - "path": "external/rust/crates/clap/2.33.3" - }, - { - "path": "external/rust/crates/hashbrown" - }, - { - "path": "external/rust/crates/jni" - }, - { - "path": "external/rust/crates/libsqlite3-sys" - }, - { - "path": "external/rust/crates/once_cell" - }, - { - "path": "external/rust/crates/quiche" - }, - { - "path": "external/rust/crates/regex" - }, - { - "path": "external/rust/crates/shared_library" - }, - { - "path": "external/rust/crates/tinytemplate" - }, - { - "path": "external/rust/crates/tinyvec" - }, - { - "path": "external/rust/crates/unicode-xid" - }, - { - "path": "external/rust/crates/vulkano" - }, - { - "path": "external/rust/crates/xml-rs" - }, - { - "path": "packages/modules/DnsResolver" - }, - { - "path": "packages/modules/Virtualization/authfs" - }, - { - "path": "packages/modules/Virtualization/microdroid_manager" - }, - { - "path": "packages/modules/Virtualization/virtualizationmanager" - }, - { - "path": "packages/modules/Virtualization/vm" - }, - { - "path": "system/keymint/hal" - }, - { - "path": "system/security/diced" - }, - { - "path": "system/security/keystore2" - }, - { - "path": "system/security/keystore2/legacykeystore" - }, - { - "path": "system/security/keystore2/selinux" - } - ], - "presubmit": [ - { - "name": "lazy_static_test_tests_test" - } - ], - "presubmit-rust": [ - { - "name": "lazy_static_test_tests_test" - } - ] -}
diff --git a/cargo_embargo.json b/cargo_embargo.json deleted file mode 100644 index 7a5c7b3..0000000 --- a/cargo_embargo.json +++ /dev/null
@@ -1,40 +0,0 @@ -{ - "min_sdk_version": "29", - "module_blocklist": [ - "lazy_static_test_tests_no_std" - ], - "package": { - "lazy_static": { - "dep_blocklist": [ - "libdoc_comment" - ], - "rulesmk_patch": "patches/rules.mk.diff" - } - }, - "variants": [ - { - "tests": true - }, - { - "features": [ - "spin", - "spin_no_std" - ], - "module_name_overrides": { - "liblazy_static": "liblazy_static_nostd", - "libspin": "libspin_nostd" - }, - "package": { - "lazy_static": { - "force_rlib": true, - "host_supported": false, - "no_std": true - } - } - }, - { - "generate_androidbp": false, - "generate_rulesmk": true - } - ] -}