• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_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
19cc_library_static {
20    name: "lib_microdroid_signature_proto",
21    proto: {
22        export_proto_headers: true,
23        type: "full",
24    },
25    defaults: ["microdroid_signature_default"],
26}
27
28cc_library_static {
29    name: "lib_microdroid_signature_proto_lite",
30    recovery_available: true,
31    proto: {
32        export_proto_headers: true,
33        type: "lite",
34    },
35    defaults: ["microdroid_signature_default"],
36    apex_available: [
37        "com.android.virt",
38    ],
39}
40
41cc_binary {
42    name: "mk_payload",
43    srcs: [
44        "mk_payload.cc",
45    ],
46    shared_libs: [
47        "libbase",
48        "libcuttlefish_fs",
49        "libcuttlefish_utils",
50        "liblog",
51        "libz",
52    ],
53    static_libs: [
54        "lib_microdroid_signature_proto_lite",
55        "libcdisk_spec",
56        "libext2_uuid",
57        "libimage_aggregator",
58        "libjsoncpp",
59        "libprotobuf-cpp-lite",
60        "libsparse",
61        "libxml2",
62    ],
63    generated_sources: ["apex-info-list"],
64    apex_available: [
65        "com.android.virt",
66    ],
67}
68