1// This file is generated by cargo2android.py --config cargo2android.json. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_serde-xml-rs_license"], 6} 7 8// Added automatically by a large-scale-change 9// See: http://go/android-license-faq 10license { 11 name: "external_rust_crates_serde-xml-rs_license", 12 visibility: [":__subpackages__"], 13 license_kinds: [ 14 "SPDX-license-identifier-MIT", 15 ], 16 license_text: [ 17 "LICENSE", 18 ], 19} 20 21rust_library { 22 name: "libserde_xml_rs", 23 host_supported: true, 24 crate_name: "serde_xml_rs", 25 cargo_env_compat: true, 26 cargo_pkg_version: "0.6.0", 27 srcs: ["src/lib.rs"], 28 edition: "2018", 29 rustlibs: [ 30 "liblog_rust", 31 "libserde", 32 "libthiserror", 33 "libxml_rust", 34 ], 35 apex_available: [ 36 "//apex_available:platform", 37 "com.android.virt", 38 ], 39 product_available: true, 40 vendor_available: true, 41} 42 43rust_test { 44 name: "serde-xml-rs_test_src_lib", 45 host_supported: true, 46 crate_name: "serde_xml_rs", 47 cargo_env_compat: true, 48 cargo_pkg_version: "0.6.0", 49 srcs: ["src/lib.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 "liblog_rust", 58 "libserde", 59 "libthiserror", 60 "libxml_rust", 61 ], 62} 63