blob: 17b9a9184e9740a384f1a177890ca2bde6c789c4 [file] [log] [blame]
Jiyong Parkd8fb8762021-07-09 18:26:50 +09001// This file is generated by cargo2android.py --config cargo2android.json.
Joel Galenson38fd0f82021-06-21 14:21:49 -07002// Do not modify this file as changes will be overridden on upgrade.
Andrew Walbran64134862020-09-28 15:12:58 +01003
Bob Badour84e4c5c2021-02-12 19:53:02 -08004package {
5 default_applicable_licenses: ["external_rust_crates_vsock_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11 name: "external_rust_crates_vsock_license",
12 visibility: [":__subpackages__"],
13 license_kinds: [
14 "SPDX-license-identifier-Apache-2.0",
15 ],
16 license_text: [
17 "LICENSE",
18 ],
19}
20
Andrew Walbran64134862020-09-28 15:12:58 +010021rust_library {
22 name: "libvsock",
23 host_supported: true,
24 crate_name: "vsock",
Joel Galenson91d7d382021-11-29 14:05:54 -080025 cargo_env_compat: true,
David LeGarebc5a1c42022-03-02 16:21:06 +000026 cargo_pkg_version: "0.2.6",
Andrew Walbran64134862020-09-28 15:12:58 +010027 srcs: ["src/lib.rs"],
28 edition: "2018",
29 rustlibs: [
30 "liblibc",
31 "libnix",
32 ],
Jiyong Parkd8fb8762021-07-09 18:26:50 +090033 apex_available: [
34 "//apex_available:platform",
35 "com.android.virt",
36 ],
Andrew Walbran64134862020-09-28 15:12:58 +010037}