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: [ |
Ted Bauer | 206d44a | 2024-03-15 17:04:06 +0000 | [diff] [blame] | 12 | "libaconfig_device_paths", |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 13 | "libaconfig_protos", |
Zhi Dou | 8ee1a5b | 2024-08-07 18:51:23 +0000 | [diff] [blame^] | 14 | "libaconfigd_protos", |
Ted Bauer | 6d4db66 | 2024-03-06 18:08:32 -0500 | [diff] [blame] | 15 | "libaconfig_storage_read_api", |
| 16 | "libaconfig_storage_file", |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 17 | "libanyhow", |
| 18 | "libclap", |
Ted Bauer | a98448f | 2024-03-06 14:01:19 -0500 | [diff] [blame] | 19 | "libnix", |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 20 | "libprotobuf", |
| 21 | "libregex", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | rust_binary { |
| 26 | name: "aflags", |
| 27 | defaults: ["aflags.defaults"], |
| 28 | } |
| 29 | |
| 30 | rust_test_host { |
| 31 | name: "aflags.test", |
| 32 | defaults: ["aflags.defaults"], |
| 33 | test_suites: ["general-tests"], |
| 34 | } |