2021-02-17 04:02:14 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
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: [
|
2021-05-12 12:22:55 +02:00
|
|
|
"//apex_available:platform",
|
2021-01-27 00:53:11 +01:00
|
|
|
"com.android.runtime",
|
|
|
|
],
|
|
|
|
|
|
|
|
recovery_available: true,
|
|
|
|
vendor_ramdisk_available: true,
|
|
|
|
}
|