Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Josh Gao | d3df0ae | 2021-02-01 14:35:30 -0800 | [diff] [blame] | 5 | filegroup { |
| 6 | name: "libtombstone_proto-src", |
| 7 | srcs: ["tombstone.proto"], |
| 8 | } |
| 9 | |
| 10 | cc_library_static { |
Josh Gao | 76e1e30 | 2021-01-26 15:53:11 -0800 | [diff] [blame] | 11 | name: "libtombstone_proto", |
| 12 | cflags: [ |
| 13 | "-Wall", |
| 14 | "-Wextra", |
| 15 | "-Wthread-safety", |
| 16 | "-Werror", |
| 17 | ], |
| 18 | |
| 19 | compile_multilib: "both", |
| 20 | |
| 21 | proto: { |
| 22 | export_proto_headers: true, |
| 23 | type: "lite", |
| 24 | }, |
| 25 | |
Josh Gao | d3df0ae | 2021-02-01 14:35:30 -0800 | [diff] [blame] | 26 | srcs: [":libtombstone_proto-src"], |
| 27 | |
| 28 | // b/155341058: Soong doesn't automatically add libprotobuf if there aren't any explicitly |
| 29 | // listed protos in srcs. |
| 30 | static_libs: ["libprotobuf-cpp-lite"], |
Josh Gao | 76e1e30 | 2021-01-26 15:53:11 -0800 | [diff] [blame] | 31 | |
| 32 | stl: "libc++_static", |
| 33 | apex_available: [ |
Paul Duffin | 69caa70 | 2021-05-12 11:22:55 +0100 | [diff] [blame^] | 34 | "//apex_available:platform", |
Josh Gao | 76e1e30 | 2021-01-26 15:53:11 -0800 | [diff] [blame] | 35 | "com.android.runtime", |
| 36 | ], |
| 37 | |
| 38 | recovery_available: true, |
| 39 | vendor_ramdisk_available: true, |
| 40 | } |