1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_defaults {
6    name: "libavflog.defaults",
7    crate_name: "avflog",
8    defaults: ["avf_build_flags_rust"],
9    host_supported: true,
10    srcs: ["src/lib.rs"],
11    edition: "2021",
12    rustlibs: [
13        "liblog_rust",
14    ],
15}
16
17rust_library {
18    name: "libavflog",
19    defaults: ["libavflog.defaults"],
20    apex_available: [
21        "//apex_available:platform",
22        "//apex_available:anyapex",
23    ],
24}
25
26rust_test {
27    name: "libavflog.test",
28    defaults: ["libavflog.defaults"],
29    prefer_rlib: true,
30    test_suites: ["general-tests"],
31}
32