1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_chrono_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_chrono_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "chrono_test_src_lib", 18 host_supported: true, 19 crate_name: "chrono", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.4.34", 22 crate_root: "src/lib.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 features: [ 30 "alloc", 31 "now", 32 "serde", 33 "std", 34 ], 35 rustlibs: [ 36 "libbincode", 37 "libnum_traits", 38 "libserde", 39 "libserde_json", 40 ], 41 proc_macros: ["libserde_derive"], 42} 43 44rust_test { 45 name: "chrono_test_tests_dateutils", 46 host_supported: true, 47 crate_name: "dateutils", 48 cargo_env_compat: true, 49 cargo_pkg_version: "0.4.34", 50 crate_root: "tests/dateutils.rs", 51 test_suites: ["general-tests"], 52 auto_gen_config: true, 53 test_options: { 54 unit_test: true, 55 }, 56 edition: "2021", 57 features: [ 58 "alloc", 59 "now", 60 "serde", 61 "std", 62 ], 63 rustlibs: [ 64 "libbincode", 65 "libchrono", 66 "libnum_traits", 67 "libserde", 68 "libserde_json", 69 ], 70 proc_macros: ["libserde_derive"], 71} 72 73rust_test { 74 name: "chrono_test_tests_wasm", 75 host_supported: true, 76 crate_name: "wasm", 77 cargo_env_compat: true, 78 cargo_pkg_version: "0.4.34", 79 crate_root: "tests/wasm.rs", 80 test_suites: ["general-tests"], 81 auto_gen_config: true, 82 test_options: { 83 unit_test: true, 84 }, 85 edition: "2021", 86 features: [ 87 "alloc", 88 "now", 89 "serde", 90 "std", 91 ], 92 rustlibs: [ 93 "libbincode", 94 "libchrono", 95 "libnum_traits", 96 "libserde", 97 "libserde_json", 98 ], 99 proc_macros: ["libserde_derive"], 100} 101 102rust_test { 103 name: "chrono_test_tests_win_bindings", 104 host_supported: true, 105 crate_name: "win_bindings", 106 cargo_env_compat: true, 107 cargo_pkg_version: "0.4.34", 108 crate_root: "tests/win_bindings.rs", 109 test_suites: ["general-tests"], 110 auto_gen_config: true, 111 test_options: { 112 unit_test: true, 113 }, 114 edition: "2021", 115 features: [ 116 "alloc", 117 "now", 118 "serde", 119 "std", 120 ], 121 rustlibs: [ 122 "libbincode", 123 "libchrono", 124 "libnum_traits", 125 "libserde", 126 "libserde_json", 127 ], 128 proc_macros: ["libserde_derive"], 129} 130 131rust_library { 132 name: "libchrono", 133 host_supported: true, 134 crate_name: "chrono", 135 cargo_env_compat: true, 136 cargo_pkg_version: "0.4.34", 137 crate_root: "src/lib.rs", 138 edition: "2021", 139 features: [ 140 "alloc", 141 "now", 142 "serde", 143 "std", 144 ], 145 rustlibs: [ 146 "libnum_traits", 147 "libserde", 148 ], 149 apex_available: [ 150 "//apex_available:platform", 151 "com.android.virt", 152 ], 153 product_available: true, 154 vendor_available: true, 155} 156