1// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults --add_workspace.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    // See: http://go/android-license-faq
6    // A large-scale-change added 'default_applicable_licenses' to import
7    // all of the 'license_kinds' from "external_crosvm_license"
8    // to get the below license kinds:
9    //   SPDX-license-identifier-BSD
10    default_applicable_licenses: ["external_crosvm_license"],
11}
12
13rust_library {
14    name: "librand_ish",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "rand_ish",
18    srcs: ["src/lib.rs"],
19    edition: "2018",
20}
21
22rust_defaults {
23    name: "rand_ish_defaults",
24    defaults: ["crosvm_defaults"],
25    crate_name: "rand_ish",
26    srcs: ["src/lib.rs"],
27    test_suites: ["general-tests"],
28    auto_gen_config: true,
29    edition: "2018",
30}
31
32rust_test_host {
33    name: "rand_ish_host_test_src_lib",
34    defaults: ["rand_ish_defaults"],
35    test_options: {
36        unit_test: true,
37    },
38}
39
40rust_test {
41    name: "rand_ish_device_test_src_lib",
42    defaults: ["rand_ish_defaults"],
43}
44