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_image_unpacker.cc", 36 "data_image.cc", 37 "flags.cc", 38 "image_aggregator.cc", 39 "misc_info.cc", 40 "super_image_mixer.cc", 41 ], 42 header_libs: [ 43 "bootimg_headers", 44 "cuttlefish_glog", 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 "libsparse", 58 "libcuttlefish_host_config", 59 "libcuttlefish_vm_manager", 60 "libgflags", 61 "libxml2", 62 "libjsoncpp", 63 ], 64 defaults: ["cuttlefish_host_only", "cuttlefish_libicuuc"], 65} 66 67python_binary_host { 68 name: "cf_bpttool", 69 srcs: [ "cf_bpttool.py" ], 70 defaults: ["py2_only"], 71} 72