blob: bb82f032b1630c01ae7352810969ba5d0dd60616 [file] [log] [blame]
Josh Gaod3df0ae2021-02-01 14:35:30 -08001filegroup {
2 name: "libtombstone_proto-src",
3 srcs: ["tombstone.proto"],
4}
5
6cc_library_static {
Josh Gao76e1e302021-01-26 15:53:11 -08007 name: "libtombstone_proto",
8 cflags: [
9 "-Wall",
10 "-Wextra",
11 "-Wthread-safety",
12 "-Werror",
13 ],
14
15 compile_multilib: "both",
16
17 proto: {
18 export_proto_headers: true,
19 type: "lite",
20 },
21
Josh Gaod3df0ae2021-02-01 14:35:30 -080022 srcs: [":libtombstone_proto-src"],
23
24 // b/155341058: Soong doesn't automatically add libprotobuf if there aren't any explicitly
25 // listed protos in srcs.
26 static_libs: ["libprotobuf-cpp-lite"],
Josh Gao76e1e302021-01-26 15:53:11 -080027
28 stl: "libc++_static",
29 apex_available: [
30 "com.android.runtime",
31 ],
32
33 recovery_available: true,
34 vendor_ramdisk_available: true,
35}