1// This file is generated by cargo2android.py --run --device --dependencies --features=std,clock. 2 3package { 4 default_applicable_licenses: ["external_rust_crates_chrono_license"], 5} 6 7// Added automatically by a large-scale-change that took the approach of 8// 'apply every license found to every target'. While this makes sure we respect 9// every license restriction, it may not be entirely correct. 10// 11// e.g. GPL in an MIT project might only apply to the contrib/ directory. 12// 13// Please consider splitting the single license below into multiple licenses, 14// taking care not to lose any license_kind information, and overriding the 15// default license using the 'licenses: [...]' property on targets as needed. 16// 17// For unused files, consider creating a 'fileGroup' with "//visibility:private" 18// to attach the license to, and including a comment whether the files may be 19// used in the current project. 20// See: http://go/android-license-faq 21license { 22 name: "external_rust_crates_chrono_license", 23 visibility: [":__subpackages__"], 24 license_kinds: [ 25 "SPDX-license-identifier-Apache-2.0", 26 "SPDX-license-identifier-MIT", 27 ], 28 license_text: [ 29 "LICENSE.txt", 30 ], 31} 32 33rust_library { 34 name: "libchrono", 35 host_supported: true, 36 crate_name: "chrono", 37 srcs: ["src/lib.rs"], 38 edition: "2015", 39 features: [ 40 "clock", 41 "libc", 42 "std", 43 "winapi", 44 ], 45 rustlibs: [ 46 "liblibc", 47 "libnum_integer", 48 "libnum_traits", 49 ], 50} 51 52// dependent_library ["feature_list"] 53// autocfg-1.0.1 54// libc-0.2.85 "default,std" 55// num-integer-0.1.44 56// num-traits-0.2.14 "default,std" 57