Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_defaults { |
| 6 | name: "aflags.defaults", |
| 7 | edition: "2021", |
| 8 | clippy_lints: "android", |
| 9 | lints: "android", |
| 10 | srcs: ["src/main.rs"], |
| 11 | rustlibs: [ |
| 12 | "libaconfig_protos", |
Ted Bauer | 6d4db66 | 2024-03-06 18:08:32 -0500 | [diff] [blame] | 13 | "libaconfig_storage_read_api", |
| 14 | "libaconfig_storage_file", |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 15 | "libanyhow", |
| 16 | "libclap", |
Ted Bauer | a98448f | 2024-03-06 14:01:19 -0500 | [diff] [blame] | 17 | "libnix", |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 18 | "libprotobuf", |
| 19 | "libregex", |
| 20 | ], |
| 21 | } |
| 22 | |
| 23 | rust_binary { |
| 24 | name: "aflags", |
| 25 | defaults: ["aflags.defaults"], |
| 26 | } |
| 27 | |
| 28 | rust_test_host { |
| 29 | name: "aflags.test", |
| 30 | defaults: ["aflags.defaults"], |
| 31 | test_suites: ["general-tests"], |
| 32 | } |