diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-07 00:10:43 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-07 00:10:43 +0000 |
commit | 46399766a66dc555ec0d6f5bf2959ac19d965ab7 (patch) | |
tree | 841d7c9a7aa7b7fafde312627b88fc6d691b713d | |
parent | 4e380232ff2b9f1f407eb56ae9f78ada6fdf65fa (diff) | |
parent | 7327b24d65cae8db8542aa86b974f8ace42a6147 (diff) | |
download | clap-android14-qpr2-s1-release.tar.gz |
Snap for 11186783 from 7327b24d65cae8db8542aa86b974f8ace42a6147 to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: Ida54742e7a25098389a37717835347dff665f737
-rw-r--r-- | 3.2.23/Android.bp | 4 | ||||
-rw-r--r-- | 3.2.23/cargo2android.json | 11 | ||||
-rw-r--r-- | 3.2.23/cargo_embargo.json | 13 | ||||
-rw-r--r-- | 3.2.23/patches/Android.bp.diff | 29 |
4 files changed, 14 insertions, 43 deletions
diff --git a/3.2.23/Android.bp b/3.2.23/Android.bp index d2a25ae..3acde9b 100644 --- a/3.2.23/Android.bp +++ b/3.2.23/Android.bp @@ -1,8 +1,6 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. - - package { default_applicable_licenses: ["external_rust_crates_clap_3.2.23_license"], } diff --git a/3.2.23/cargo2android.json b/3.2.23/cargo2android.json deleted file mode 100644 index 71f70c0..0000000 --- a/3.2.23/cargo2android.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "patch": "patches/Android.bp.diff", - "device": true, - "features": "std", - "run": true, - "tests": true, - "name-suffix": "_3.2.23", - "dep-suffixes": { - "bitflags": "-1.3.2" - } -} diff --git a/3.2.23/cargo_embargo.json b/3.2.23/cargo_embargo.json new file mode 100644 index 0000000..d067cdc --- /dev/null +++ b/3.2.23/cargo_embargo.json @@ -0,0 +1,13 @@ +{ + "features": [ + "std" + ], + "module_blocklist": [ + "stdio_fixture" + ], + "module_name_overrides": { + "libbitflags": "libbitflags-1.3.2", + "libclap": "libclap_3.2.23" + }, + "run_cargo": false +} diff --git a/3.2.23/patches/Android.bp.diff b/3.2.23/patches/Android.bp.diff deleted file mode 100644 index c67c004..0000000 --- a/3.2.23/patches/Android.bp.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/3.2.23/Android.bp b/3.2.23/Android.bp -index 0593d09..0e1e5ea 100644 ---- a/3.2.23/Android.bp -+++ b/3.2.23/Android.bp -@@ -23,24 +23,3 @@ rust_library { - "//apex_available:anyapex", - ], - } -- --rust_binary { -- name: "stdio_fixture_3.2.23", -- // has rustc warnings -- host_supported: true, -- crate_name: "stdio_fixture", -- cargo_env_compat: true, -- cargo_pkg_version: "3.2.23", -- srcs: ["src/bin/stdio-fixture.rs"], -- edition: "2021", -- features: ["std"], -- rustlibs: [ -- "libbitflags-1.3.2", -- "libclap", -- "libclap_lex", -- "libindexmap", -- "libtextwrap", -- ], -- product_available: true, -- vendor_available: true, --} |