Merge "Expose libtombstone_proto srcs."
This commit is contained in:
commit
4b24f09124
2 changed files with 14 additions and 4 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue