Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 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 | |
| 16 | cc_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 | |
| 31 | cc_binary_host { |
| 32 | name: "assemble_cvd", |
| 33 | srcs: [ |
| 34 | "assemble_cvd.cc", |
| 35 | "boot_image_unpacker.cc", |
| 36 | "data_image.cc", |
| 37 | "flags.cc", |
Cody Schuffelen | b737ef5 | 2019-09-25 14:54:38 -0700 | [diff] [blame] | 38 | "image_aggregator.cc", |
| 39 | "super_image_mixer.cc", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 40 | ], |
| 41 | header_libs: [ |
Ram Muthiah | 1aa02f8 | 2019-10-22 20:26:28 +0000 | [diff] [blame] | 42 | "bootimg_headers", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 43 | "cuttlefish_glog", |
| 44 | ], |
| 45 | shared_libs: [ |
| 46 | "cdisk_spec", |
Cody Schuffelen | 134ff03 | 2019-11-22 00:25:32 -0800 | [diff] [blame^] | 47 | "vsoc_lib", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 48 | "libcuttlefish_fs", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 49 | "libcuttlefish_utils", |
| 50 | "cuttlefish_auto_resources", |
| 51 | "libbase", |
| 52 | "libnl", |
| 53 | "libprotobuf-cpp-full", |
Cody Schuffelen | b737ef5 | 2019-09-25 14:54:38 -0700 | [diff] [blame] | 54 | "libziparchive", |
| 55 | "libz", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 56 | ], |
| 57 | static_libs: [ |
| 58 | "libcuttlefish_host_config", |
| 59 | "libcuttlefish_vm_manager", |
Cody Schuffelen | 134ff03 | 2019-11-22 00:25:32 -0800 | [diff] [blame^] | 60 | "libivserver", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 61 | "libgflags", |
| 62 | "libxml2", |
| 63 | "libjsoncpp", |
| 64 | ], |
| 65 | defaults: ["cuttlefish_host_only", "cuttlefish_libicuuc"], |
| 66 | } |
| 67 | |
Jorge E. Moreira | 744c327 | 2019-11-06 17:49:08 -0800 | [diff] [blame] | 68 | sh_binary_host { |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 69 | name: "cf_bpttool", |
Jorge E. Moreira | 744c327 | 2019-11-06 17:49:08 -0800 | [diff] [blame] | 70 | src: "cf_bpttool", |
Cody Schuffelen | 147b88e | 2019-09-09 16:00:11 -0700 | [diff] [blame] | 71 | } |