blob: c5ac4c92c16924ddd15ba43565daf92fa2542f17 [file] [log] [blame]
Cody Schuffelen147b88e2019-09-09 16:00:11 -07001//
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",
Cody Schuffelenb737ef52019-09-25 14:54:38 -070038 "image_aggregator.cc",
39 "super_image_mixer.cc",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070040 ],
41 header_libs: [
Ram Muthiah1aa02f82019-10-22 20:26:28 +000042 "bootimg_headers",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070043 "cuttlefish_glog",
44 ],
45 shared_libs: [
46 "cdisk_spec",
Cody Schuffelen134ff032019-11-22 00:25:32 -080047 "vsoc_lib",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070048 "libcuttlefish_fs",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070049 "libcuttlefish_utils",
50 "cuttlefish_auto_resources",
51 "libbase",
52 "libnl",
53 "libprotobuf-cpp-full",
Cody Schuffelenb737ef52019-09-25 14:54:38 -070054 "libziparchive",
55 "libz",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070056 ],
57 static_libs: [
58 "libcuttlefish_host_config",
59 "libcuttlefish_vm_manager",
Cody Schuffelen134ff032019-11-22 00:25:32 -080060 "libivserver",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070061 "libgflags",
62 "libxml2",
63 "libjsoncpp",
64 ],
65 defaults: ["cuttlefish_host_only", "cuttlefish_libicuuc"],
66}
67
Jorge E. Moreira744c3272019-11-06 17:49:08 -080068sh_binary_host {
Cody Schuffelen147b88e2019-09-09 16:00:11 -070069 name: "cf_bpttool",
Jorge E. Moreira744c3272019-11-06 17:49:08 -080070 src: "cf_bpttool",
Cody Schuffelen147b88e2019-09-09 16:00:11 -070071}