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_inotify_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_inotify_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-ISC"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "inotify_test_src_lib", 18 host_supported: true, 19 crate_name: "inotify", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.11.0", 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: "2018", 29 features: [ 30 "default", 31 "futures-core", 32 "stream", 33 "tokio", 34 ], 35 rustlibs: [ 36 "libbitflags", 37 "libfutures_core", 38 "libfutures_util", 39 "libinotify_sys", 40 "liblibc", 41 "libmaplit", 42 "librand", 43 "libtempfile", 44 "libtokio", 45 ], 46} 47 48rust_test { 49 name: "inotify_test_tests_main", 50 host_supported: true, 51 crate_name: "main", 52 cargo_env_compat: true, 53 cargo_pkg_version: "0.11.0", 54 crate_root: "tests/main.rs", 55 test_suites: ["general-tests"], 56 auto_gen_config: true, 57 test_options: { 58 unit_test: true, 59 }, 60 edition: "2018", 61 features: [ 62 "default", 63 "futures-core", 64 "stream", 65 "tokio", 66 ], 67 rustlibs: [ 68 "libbitflags", 69 "libfutures_core", 70 "libfutures_util", 71 "libinotify", 72 "libinotify_sys", 73 "liblibc", 74 "libmaplit", 75 "librand", 76 "libtempfile", 77 "libtokio", 78 ], 79} 80 81rust_library { 82 name: "libinotify", 83 host_supported: true, 84 crate_name: "inotify", 85 cargo_env_compat: true, 86 cargo_pkg_version: "0.11.0", 87 crate_root: "src/lib.rs", 88 edition: "2018", 89 features: [ 90 "default", 91 "futures-core", 92 "stream", 93 "tokio", 94 ], 95 rustlibs: [ 96 "libbitflags", 97 "libfutures_core", 98 "libinotify_sys", 99 "liblibc", 100 "libtokio", 101 ], 102 apex_available: [ 103 "//apex_available:platform", 104 "//apex_available:anyapex", 105 ], 106 product_available: true, 107 vendor_available: true, 108} 109