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 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_binary { 21 name: "assemble_cvd", 22 srcs: [ 23 "alloc.cc", 24 "assemble_cvd.cc", 25 "boot_config.cc", 26 "boot_image_utils.cc", 27 "clean.cc", 28 "disk_flags.cc", 29 "flags.cc", 30 "misc_info.cc", 31 "super_image_mixer.cc", 32 ], 33 header_libs: [ 34 "bootimg_headers", 35 ], 36 shared_libs: [ 37 "libcuttlefish_fs", 38 "libcuttlefish_utils", 39 "libbase", 40 "libjsoncpp", 41 "libnl", 42 "libprotobuf-cpp-full", 43 "libziparchive", 44 "libz", 45 "libcuttlefish_allocd_utils", 46 ], 47 static_libs: [ 48 "libcdisk_spec", 49 "libext2_uuid", 50 "libimage_aggregator", 51 "libsparse", 52 "libcuttlefish_graphics_detector", 53 "libcuttlefish_host_config", 54 "libcuttlefish_vm_manager", 55 "libgflags", 56 ], 57 required: [ 58 "lz4", 59 ], 60 defaults: ["cuttlefish_host", "cuttlefish_libicuuc"], 61} 62