1cc_defaults {
2    name: "propertyinfoserializer_defaults",
3    host_supported: true,
4    cpp_std: "experimental",
5    cppflags: [
6        "-Wall",
7        "-Wextra",
8        "-Werror",
9    ],
10    static_libs: [
11        "libbase",
12        "libpropertyinfoparser",
13    ],
14}
15
16cc_library_static {
17    name: "libpropertyinfoserializer",
18    defaults: ["propertyinfoserializer_defaults"],
19    recovery_available: true,
20    srcs: [
21        "property_info_file.cpp",
22        "property_info_serializer.cpp",
23        "trie_builder.cpp",
24        "trie_serializer.cpp",
25    ],
26
27    export_include_dirs: ["include"],
28}
29
30cc_test {
31    name: "propertyinfoserializer_tests",
32    defaults: ["propertyinfoserializer_defaults"],
33    srcs: [
34        "trie_builder_test.cpp",
35        "property_info_serializer_test.cpp",
36    ],
37    static_libs: ["libpropertyinfoserializer"],
38    test_suites: ["device-tests"],
39}
40