diff options
author | Charisee <chiw@google.com> | 2022-07-14 23:26:18 +0000 |
---|---|---|
committer | Charisee Chiw <chiw@google.com> | 2022-07-15 19:33:54 +0000 |
commit | 45c6b99fae1921d46ac58a56f26dc7ae98f2aea0 (patch) | |
tree | fa718e16fb87b2c7a20ab388023382b5218f1865 | |
parent | 0b2fb64ff0a56274444f931a4a4b9de508814bd2 (diff) | |
download | clap_lex-45c6b99fae1921d46ac58a56f26dc7ae98f2aea0.tar.gz |
Adding Android.bp file for new imported crate clap_lex
Minimal, flexible command line parser
Test: mm
bug: 238918731
Change-Id: Icecdbb835454e0fc3841e42558326f64f5ea7cc8
-rw-r--r-- | Android.bp | 39 | ||||
-rw-r--r-- | OWNERS | 3 |
2 files changed, 40 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..876e4c0 --- /dev/null +++ b/Android.bp @@ -0,0 +1,39 @@ +// This file is generated by cargo2android.py --run --device --tests. +// Do not modify this file as changes will be overridden on upgrade. + + + +rust_test { + name: "clap_lex_test_src_lib", + host_supported: true, + crate_name: "clap_lex", + cargo_env_compat: true, + cargo_pkg_version: "0.2.4", + srcs: ["src/lib.rs"], + test_suites: ["general-tests"], + auto_gen_config: true, + test_options: { + unit_test: true, + }, + edition: "2021", + rustlibs: [ + "libos_str_bytes", + ], +} + +rust_library { + name: "libclap_lex", + host_supported: true, + crate_name: "clap_lex", + cargo_env_compat: true, + cargo_pkg_version: "0.2.4", + srcs: ["src/lib.rs"], + edition: "2021", + rustlibs: [ + "libos_str_bytes", + ], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], +} @@ -1,2 +1 @@ -chiw@google.com -srhines@google.com +include platform/prebuilts/rust:master:/OWNERS |