c08a34e3dc
This is done so that we could depend on it elsewhere without needing all the unrelated methods. Needed for ag/24553347 Bug: 296207744 Test: refactoring build Change-Id: I7c6733208f3ae63ba9559753a24cffcb8e1b9d1e
55 lines
1.1 KiB
Text
55 lines
1.1 KiB
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "libtombstone_proto-src",
|
|
srcs: ["tombstone.proto"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libtombstone_proto",
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Wthread-safety",
|
|
"-Werror",
|
|
],
|
|
|
|
compile_multilib: "both",
|
|
|
|
proto: {
|
|
export_proto_headers: true,
|
|
type: "lite",
|
|
},
|
|
|
|
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: [
|
|
"//apex_available:platform",
|
|
"com.android.runtime",
|
|
],
|
|
|
|
ramdisk_available: true,
|
|
recovery_available: true,
|
|
vendor_ramdisk_available: true,
|
|
}
|
|
|
|
java_library_static {
|
|
name: "libtombstone_proto_java",
|
|
proto: {
|
|
type: "lite",
|
|
},
|
|
srcs: [
|
|
"tombstone.proto",
|
|
],
|
|
jarjar_rules: "jarjar-rules.txt",
|
|
sdk_version: "current",
|
|
static_libs: ["libprotobuf-java-lite"],
|
|
}
|
|
|