Merge "Expose libtombstone_proto srcs."

This commit is contained in:
Josh Gao 2021-02-04 02:43:10 +00:00 committed by Gerrit Code Review
commit 4b24f09124
2 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,9 @@
cc_library {
filegroup {
name: "libtombstone_proto-src",
srcs: ["tombstone.proto"],
}
cc_library_static {
name: "libtombstone_proto",
cflags: [
"-Wall",
@ -14,9 +19,11 @@ cc_library {
type: "lite",
},
srcs: [
"tombstone.proto",
],
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"],
stl: "libc++_static",
apex_available: [

View file

@ -1,5 +1,8 @@
syntax = "proto3";
option java_package = "com.android.server.os";
option java_outer_classname = "TombstoneProtos";
message Tombstone {
Architecture arch = 1;
string build_fingerprint = 2;