Jooyung Han | 54b88d4 | 2021-04-14 18:46:14 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | cc_defaults { |
| 6 | name: "microdroid_signature_default", |
| 7 | host_supported: true, |
| 8 | srcs: [ |
| 9 | "microdroid_signature.proto", |
| 10 | "signature.cc", |
| 11 | ], |
| 12 | shared_libs: [ |
| 13 | "libbase", |
| 14 | "liblog", |
| 15 | ], |
| 16 | export_include_dirs: ["include"], |
| 17 | } |
| 18 | |
| 19 | cc_library_static { |
| 20 | name: "lib_microdroid_signature_proto_lite", |
| 21 | recovery_available: true, |
| 22 | proto: { |
| 23 | export_proto_headers: true, |
| 24 | type: "lite", |
| 25 | }, |
| 26 | defaults: ["microdroid_signature_default"], |
| 27 | apex_available: [ |
| 28 | "com.android.virt", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | cc_binary { |
| 33 | name: "mk_microdroid_signature", |
| 34 | srcs: [ |
| 35 | "mk_microdroid_signature.cc", |
| 36 | ], |
| 37 | shared_libs: [ |
| 38 | "libbase", |
| 39 | "liblog", |
| 40 | ], |
| 41 | static_libs: [ |
| 42 | "lib_microdroid_signature_proto_lite", |
| 43 | "libjsoncpp", |
| 44 | "libprotobuf-cpp-lite", |
| 45 | ], |
| 46 | apex_available: [ |
| 47 | "com.android.virt", |
| 48 | ], |
| 49 | } |