2021-02-01 23:35:30 +01:00
|
|
|
filegroup {
|
|
|
|
name: "libtombstone_proto-src",
|
|
|
|
srcs: ["tombstone.proto"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_static {
|
2021-01-27 00:53:11 +01:00
|
|
|
name: "libtombstone_proto",
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Wextra",
|
|
|
|
"-Wthread-safety",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
|
|
|
|
compile_multilib: "both",
|
|
|
|
|
|
|
|
proto: {
|
|
|
|
export_proto_headers: true,
|
|
|
|
type: "lite",
|
|
|
|
},
|
|
|
|
|
2021-02-01 23:35:30 +01:00
|
|
|
srcs: [":libtombstone_proto-src"],
|
|
|
|
|
|
|
|
// b/155341058: Soong doesn't automatically add libprotobuf if there aren't any explicitly
|
|
|
|
// listed protos in srcs.
|
|
|
|
static_libs: ["libprotobuf-cpp-lite"],
|
2021-01-27 00:53:11 +01:00
|
|
|
|
|
|
|
stl: "libc++_static",
|
|
|
|
apex_available: [
|
|
|
|
"com.android.runtime",
|
|
|
|
],
|
|
|
|
|
|
|
|
recovery_available: true,
|
|
|
|
vendor_ramdisk_available: true,
|
|
|
|
}
|