| cc_binary { |
| name: "aconfigd", |
| srcs: [ |
| "aconfigd.cpp", |
| "aconfigd.proto", |
| "aconfigd_main.cpp", |
| "aconfigd_util.cpp", |
| ], |
| static_libs: [ |
| "libaconfig_storage_read_api_cc", |
| "libaconfig_storage_write_api_cc", |
| "libaconfig_storage_protos_cc", |
| "libprotobuf-cpp-lite", |
| "libbase", |
| "libcutils", |
| "liblog", |
| ], |
| init_rc: ["aconfigd.rc"], |
| ldflags: ["-Wl,--allow-multiple-definition"], |
| } |
| |
| cc_test { |
| name: "aconfigd_test", |
| srcs: [ |
| "aconfigd_test.cpp", |
| "aconfigd.proto", |
| ], |
| static_libs: [ |
| "libgmock", |
| "libaconfig_storage_read_api_cc", |
| "libaconfig_storage_write_api_cc", |
| "libaconfig_storage_protos_cc", |
| "libprotobuf-cpp-lite", |
| "libbase", |
| "libcutils", |
| "liblog", |
| ], |
| data: [ |
| "tests/package.map", |
| "tests/flag.map", |
| "tests/flag.val", |
| ], |
| test_suites: [ |
| "device-tests", |
| "general-tests", |
| ], |
| } |