diff options
-rw-r--r-- | Android.bp | 41 | ||||
-rw-r--r-- | cargo_embargo.json | 4 |
2 files changed, 45 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..9e2a4ea --- /dev/null +++ b/Android.bp @@ -0,0 +1,41 @@ +// 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_lz4_flex_license"], +} + +license { + name: "external_rust_crates_lz4_flex_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} + +rust_library { + name: "liblz4_flex", + host_supported: true, + crate_name: "lz4_flex", + cargo_env_compat: true, + cargo_pkg_version: "0.11.2", + srcs: ["src/lib.rs"], + edition: "2021", + features: [ + "default", + "frame", + "safe-decode", + "safe-encode", + "std", + ], + rustlibs: ["libtwox_hash"], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], + product_available: true, + vendor_available: true, +} diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..1bbaa25 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,4 @@ +{ + "run_cargo": false, + "tests": false +} |