1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_library_host_shared {
17    name: "cdisk_spec",
18    srcs: [
19        "cdisk_spec.proto",
20    ],
21    proto: {
22        type: "full",
23        export_proto_headers: true,
24        include_dirs: [
25            "external/protobuf/src",
26        ],
27    },
28    defaults: ["cuttlefish_host_only"],
29}
30
31cc_binary_host {
32    name: "assemble_cvd",
33    srcs: [
34        "assemble_cvd.cc",
35        "boot_config.cc",
36        "boot_image_unpacker.cc",
37        "disk_flags.cc",
38        "flags.cc",
39        "image_aggregator.cc",
40        "misc_info.cc",
41        "super_image_mixer.cc",
42    ],
43    header_libs: [
44        "bootimg_headers",
45    ],
46    shared_libs: [
47        "cdisk_spec",
48        "libcuttlefish_fs",
49        "libcuttlefish_utils",
50        "libbase",
51        "libnl",
52        "libprotobuf-cpp-full",
53        "libziparchive",
54        "libz",
55    ],
56    static_libs: [
57        "libext2_uuid",
58        "libsparse",
59        "libcuttlefish_host_config",
60        "libcuttlefish_vm_manager",
61        "libgflags",
62        "libxml2",
63        "libjsoncpp",
64    ],
65    defaults: ["cuttlefish_host_only", "cuttlefish_libicuuc"],
66}
67