diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 42 |
1 files changed, 7 insertions, 35 deletions
@@ -1,5 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. -// Do not modify this file as changes will be overridden on upgrade. +// This file is generated by cargo2android.py --run --device --dependencies. package { default_applicable_licenses: ["external_rust_crates_crc32fast_license"], @@ -37,50 +36,23 @@ license { ], } -rust_test { - name: "crc32fast_test_src_lib", - host_supported: true, - crate_name: "crc32fast", - cargo_env_compat: true, - cargo_pkg_version: "1.2.1", - srcs: ["src/lib.rs"], - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2015", - features: [ - "default", - "std", - ], - cfgs: ["crc32fast_stdarchx86"], - rustlibs: [ - "libbencher", - "libcfg_if", - "libquickcheck", - "librand", - ], -} - rust_library { name: "libcrc32fast", host_supported: true, crate_name: "crc32fast", - cargo_env_compat: true, - cargo_pkg_version: "1.2.1", srcs: ["src/lib.rs"], edition: "2015", features: [ "default", "std", ], - cfgs: ["crc32fast_stdarchx86"], + flags: [ + "--cfg crc32fast_stdarchx86", + ], rustlibs: [ "libcfg_if", ], - apex_available: [ - "//apex_available:platform", - "com.android.virt", - ], } + +// dependent_library ["feature_list"] +// cfg-if-1.0.0 |