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: [ 8 "external_rust_crates_android_logger_license", 9 ], 10} 11 12// Added automatically by a large-scale-change that took the approach of 13// 'apply every license found to every target'. While this makes sure we respect 14// every license restriction, it may not be entirely correct. 15// 16// e.g. GPL in an MIT project might only apply to the contrib/ directory. 17// 18// Please consider splitting the single license below into multiple licenses, 19// taking care not to lose any license_kind information, and overriding the 20// default license using the 'licenses: [...]' property on targets as needed. 21// 22// For unused files, consider creating a 'fileGroup' with "//visibility:private" 23// to attach the license to, and including a comment whether the files may be 24// used in the current project. 25// 26// large-scale-change included anything that looked like it might be a license 27// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 28// 29// Please consider removing redundant or irrelevant files from 'license_text:'. 30// See: http://go/android-license-faq 31license { 32 name: "external_rust_crates_android_logger_license", 33 visibility: [":__subpackages__"], 34 license_kinds: [ 35 "SPDX-license-identifier-Apache-2.0", 36 "SPDX-license-identifier-MIT", 37 ], 38 license_text: [ 39 "LICENSE-APACHE", 40 "LICENSE-MIT", 41 ], 42} 43 44rust_test { 45 name: "android_logger_test_src_lib", 46 crate_name: "android_logger", 47 cargo_env_compat: true, 48 cargo_pkg_version: "0.13.3", 49 crate_root: "src/lib.rs", 50 test_suites: ["general-tests"], 51 auto_gen_config: true, 52 edition: "2015", 53 features: [ 54 "default", 55 "regex", 56 ], 57 rustlibs: [ 58 "libandroid_log_sys", 59 "libenv_logger", 60 "liblog_rust", 61 "libonce_cell", 62 ], 63} 64 65rust_test { 66 name: "android_logger_test_tests_config_log_level", 67 crate_name: "config_log_level", 68 cargo_env_compat: true, 69 cargo_pkg_version: "0.13.3", 70 crate_root: "tests/config_log_level.rs", 71 test_suites: ["general-tests"], 72 auto_gen_config: true, 73 edition: "2015", 74 features: [ 75 "default", 76 "regex", 77 ], 78 rustlibs: [ 79 "libandroid_log_sys", 80 "libandroid_logger", 81 "libenv_logger", 82 "liblog_rust", 83 "libonce_cell", 84 ], 85} 86 87rust_test { 88 name: "android_logger_test_tests_default_init", 89 crate_name: "default_init", 90 cargo_env_compat: true, 91 cargo_pkg_version: "0.13.3", 92 crate_root: "tests/default_init.rs", 93 test_suites: ["general-tests"], 94 auto_gen_config: true, 95 edition: "2015", 96 features: [ 97 "default", 98 "regex", 99 ], 100 rustlibs: [ 101 "libandroid_log_sys", 102 "libandroid_logger", 103 "libenv_logger", 104 "liblog_rust", 105 "libonce_cell", 106 ], 107} 108 109rust_test { 110 name: "android_logger_test_tests_multiple_init", 111 crate_name: "multiple_init", 112 cargo_env_compat: true, 113 cargo_pkg_version: "0.13.3", 114 crate_root: "tests/multiple_init.rs", 115 test_suites: ["general-tests"], 116 auto_gen_config: true, 117 edition: "2015", 118 features: [ 119 "default", 120 "regex", 121 ], 122 rustlibs: [ 123 "libandroid_log_sys", 124 "libandroid_logger", 125 "libenv_logger", 126 "liblog_rust", 127 "libonce_cell", 128 ], 129} 130 131rust_library { 132 name: "libandroid_logger", 133 crate_name: "android_logger", 134 cargo_env_compat: true, 135 cargo_pkg_version: "0.13.3", 136 crate_root: "src/lib.rs", 137 edition: "2015", 138 features: [ 139 "default", 140 "regex", 141 ], 142 rustlibs: [ 143 "libandroid_log_sys", 144 "libenv_logger", 145 "liblog_rust", 146 "libonce_cell", 147 ], 148 apex_available: [ 149 "//apex_available:platform", 150 "//apex_available:anyapex", 151 ], 152 product_available: true, 153 vendor_available: true, 154 min_sdk_version: "29", 155} 156