1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_applicable_licenses: ["external_rust_crates_argh_license"], 8} 9 10// Added automatically by a large-scale-change 11// See: http://go/android-license-faq 12license { 13 name: "external_rust_crates_argh_license", 14 visibility: [":__subpackages__"], 15 license_kinds: [ 16 "SPDX-license-identifier-BSD", 17 ], 18 license_text: [ 19 "LICENSE", 20 ], 21} 22 23rust_test { 24 name: "argh_test_src_lib", 25 host_supported: true, 26 crate_name: "argh", 27 cargo_env_compat: true, 28 cargo_pkg_version: "0.1.12", 29 crate_root: "src/lib.rs", 30 test_suites: ["general-tests"], 31 auto_gen_config: true, 32 test_options: { 33 unit_test: true, 34 }, 35 edition: "2018", 36 rustlibs: [ 37 "libargh_shared", 38 "libonce_cell", 39 ], 40 proc_macros: ["libargh_derive"], 41} 42 43rust_test { 44 name: "argh_test_tests_args_info_tests", 45 host_supported: true, 46 crate_name: "args_info_tests", 47 cargo_env_compat: true, 48 cargo_pkg_version: "0.1.12", 49 crate_root: "tests/args_info_tests.rs", 50 test_suites: ["general-tests"], 51 auto_gen_config: true, 52 test_options: { 53 unit_test: true, 54 }, 55 edition: "2018", 56 rustlibs: [ 57 "libargh", 58 "libargh_shared", 59 "libonce_cell", 60 ], 61 proc_macros: ["libargh_derive"], 62} 63 64rust_test { 65 name: "argh_test_tests_lib", 66 host_supported: true, 67 crate_name: "lib", 68 cargo_env_compat: true, 69 cargo_pkg_version: "0.1.12", 70 crate_root: "tests/lib.rs", 71 test_suites: ["general-tests"], 72 auto_gen_config: true, 73 test_options: { 74 unit_test: true, 75 }, 76 edition: "2018", 77 rustlibs: [ 78 "libargh", 79 "libargh_shared", 80 "libonce_cell", 81 ], 82 proc_macros: ["libargh_derive"], 83} 84 85rust_library { 86 name: "libargh", 87 host_supported: true, 88 crate_name: "argh", 89 cargo_env_compat: true, 90 cargo_pkg_version: "0.1.12", 91 crate_root: "src/lib.rs", 92 edition: "2018", 93 rustlibs: ["libargh_shared"], 94 proc_macros: ["libargh_derive"], 95 apex_available: [ 96 "//apex_available:platform", 97 "com.android.virt", 98 ], 99 product_available: true, 100 vendor_available: true, 101} 102