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