| Hyun Jae Moon | bb8920e | 2023-03-29 16:48:48 +0000 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --device --tests. |
| 2 | // Do not modify this file as changes will be overridden on upgrade. |
| 3 | |
| 4 | |
| 5 | |
| Bob Badour | 8f32a2b | 2023-04-19 09:47:56 -0700 | [diff] [blame] | 6 | package { |
| 7 | default_applicable_licenses: [ |
| 8 | "external_rust_crates_protobuf-json-mapping_license", |
| 9 | ], |
| 10 | } |
| 11 | |
| 12 | // Added automatically by a large-scale-change |
| 13 | // See: http://go/android-license-faq |
| 14 | license { |
| 15 | name: "external_rust_crates_protobuf-json-mapping_license", |
| 16 | visibility: [":__subpackages__"], |
| 17 | license_kinds: [ |
| 18 | "SPDX-license-identifier-MIT", |
| 19 | ], |
| 20 | license_text: [ |
| 21 | "LICENSE", |
| 22 | ], |
| 23 | } |
| 24 | |
| Hyun Jae Moon | bb8920e | 2023-03-29 16:48:48 +0000 | [diff] [blame] | 25 | rust_library { |
| 26 | name: "libprotobuf_json_mapping", |
| 27 | host_supported: true, |
| 28 | crate_name: "protobuf_json_mapping", |
| 29 | cargo_env_compat: true, |
| 30 | cargo_pkg_version: "3.2.0", |
| 31 | srcs: ["src/lib.rs"], |
| 32 | edition: "2021", |
| 33 | rustlibs: [ |
| 34 | "libprotobuf", |
| 35 | "libprotobuf_support", |
| 36 | "libthiserror", |
| 37 | ], |
| 38 | apex_available: [ |
| 39 | "//apex_available:platform", |
| 40 | "//apex_available:anyapex", |
| 41 | ], |
| 42 | product_available: true, |
| 43 | vendor_available: true, |
| 44 | } |
| 45 | |
| 46 | rust_test { |
| 47 | name: "protobuf-json-mapping_test_src_lib", |
| 48 | host_supported: true, |
| 49 | crate_name: "protobuf_json_mapping", |
| 50 | cargo_env_compat: true, |
| 51 | cargo_pkg_version: "3.2.0", |
| 52 | srcs: ["src/lib.rs"], |
| 53 | test_suites: ["general-tests"], |
| 54 | auto_gen_config: true, |
| 55 | test_options: { |
| 56 | unit_test: true, |
| 57 | }, |
| 58 | edition: "2021", |
| 59 | rustlibs: [ |
| 60 | "libprotobuf", |
| 61 | "libprotobuf_support", |
| 62 | "libthiserror", |
| 63 | ], |
| 64 | } |