blob: 0839d65fddd70a904e46684ec1394257bcbe3823 [file] [log] [blame]
Ted Bauer4dbf58a2024-02-08 18:46:52 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_defaults {
6 name: "aflags.defaults",
7 edition: "2021",
8 clippy_lints: "android",
9 lints: "android",
10 srcs: ["src/main.rs"],
11 rustlibs: [
Ted Bauer206d44a2024-03-15 17:04:06 +000012 "libaconfig_device_paths",
Ted Bauerb1edaae2024-09-11 19:07:44 +000013 "libaconfig_flags",
Ted Bauer4dbf58a2024-02-08 18:46:52 +000014 "libaconfig_protos",
Dennis Shenad030fa2024-10-03 16:45:13 +000015 "libaconfigd_protos_rust",
Ted Bauer6d4db662024-03-06 18:08:32 -050016 "libaconfig_storage_read_api",
17 "libaconfig_storage_file",
Ted Bauer4dbf58a2024-02-08 18:46:52 +000018 "libanyhow",
19 "libclap",
Ted Bauera98448f2024-03-06 14:01:19 -050020 "libnix",
Ted Bauer4dbf58a2024-02-08 18:46:52 +000021 "libprotobuf",
22 "libregex",
23 ],
24}
25
26rust_binary {
27 name: "aflags",
Ted Bauerb1edaae2024-09-11 19:07:44 +000028 host_supported: true,
Ted Bauer4dbf58a2024-02-08 18:46:52 +000029 defaults: ["aflags.defaults"],
30}
31
32rust_test_host {
33 name: "aflags.test",
34 defaults: ["aflags.defaults"],
35 test_suites: ["general-tests"],
36}