Joel Galenson | c2d4901 | 2021-11-29 16:20:42 -0800 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
Joel Galenson | 0b6c763 | 2021-04-01 16:26:10 -0700 | [diff] [blame] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Jeff Vander Stoep | dbbce4e | 2020-10-15 21:38:22 +0200 | [diff] [blame] | 3 | |
Bob Badour | 62d9de9 | 2021-02-12 15:25:39 -0800 | [diff] [blame] | 4 | package { |
| 5 | default_applicable_licenses: ["external_rust_crates_grpcio_license"], |
| 6 | } |
| 7 | |
| 8 | // Added automatically by a large-scale-change |
| 9 | // See: http://go/android-license-faq |
| 10 | license { |
| 11 | name: "external_rust_crates_grpcio_license", |
| 12 | visibility: [":__subpackages__"], |
| 13 | license_kinds: [ |
| 14 | "SPDX-license-identifier-Apache-2.0", |
| 15 | ], |
| 16 | license_text: [ |
| 17 | "LICENSE", |
| 18 | ], |
| 19 | } |
| 20 | |
Jeff Vander Stoep | dbbce4e | 2020-10-15 21:38:22 +0200 | [diff] [blame] | 21 | rust_library { |
| 22 | name: "libgrpcio", |
| 23 | host_supported: true, |
| 24 | crate_name: "grpcio", |
Joel Galenson | 2db15cd | 2021-09-22 11:03:27 -0700 | [diff] [blame] | 25 | cargo_env_compat: true, |
| 26 | cargo_pkg_version: "0.9.1", |
Jeff Vander Stoep | dbbce4e | 2020-10-15 21:38:22 +0200 | [diff] [blame] | 27 | srcs: ["src/lib.rs"], |
| 28 | edition: "2018", |
| 29 | features: [ |
| 30 | "protobuf", |
| 31 | "protobuf-codec", |
| 32 | ], |
| 33 | rustlibs: [ |
| 34 | "libfutures", |
| 35 | "libgrpcio_sys", |
| 36 | "liblibc", |
| 37 | "liblog_rust", |
| 38 | "libparking_lot", |
| 39 | "libprotobuf", |
| 40 | ], |
Roopa Sattiraju | d895f09 | 2021-12-21 15:54:03 -0800 | [diff] [blame] | 41 | apex_available: [ |
| 42 | "//apex_available:platform", |
| 43 | "com.android.bluetooth", |
| 44 | ], |
| 45 | min_sdk_version: "29", |
Jeff Vander Stoep | dbbce4e | 2020-10-15 21:38:22 +0200 | [diff] [blame] | 46 | } |