blob: 1aaf04f6d0218257b3ce0528a1cf8d17ef07d8b8 [file] [log] [blame]
Cody Schuffelen742266f2019-07-11 15:10:10 -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_binary_host {
17 name: "fetch_cvd",
18 srcs: [
19 "build_api.cc",
Cody Schuffelen33a86462019-07-11 18:56:38 -070020 "credential_source.cc",
Cody Schuffelen742266f2019-07-11 15:10:10 -070021 "curl_wrapper.cc",
Cody Schuffelena53a5f72019-08-02 15:53:44 -070022 "fetch_cvd.cc",
Cody Schuffelen6b598822019-07-16 17:09:03 -070023 "install_zip.cc",
Cody Schuffelen742266f2019-07-11 15:10:10 -070024 ],
25 header_libs: [
26 "cuttlefish_glog",
27 ],
28 stl: "libc++_static",
29 static_libs: [
30 "libbase",
Cody Schuffelen76de0502019-08-23 18:05:35 -070031 "libcuttlefish_host_config",
Cody Schuffelenc775e3b2019-07-11 16:55:42 -070032 "libcuttlefish_fs",
33 "libcuttlefish_utils",
Cody Schuffelen742266f2019-07-11 15:10:10 -070034 "libcurl",
35 "libcrypto",
Cody Schuffelendc7d05e2019-07-11 17:26:00 -070036 "libgflags",
Tom Cherryaf63ef02020-01-08 13:45:03 -080037 "liblog",
Cody Schuffelen742266f2019-07-11 15:10:10 -070038 "libssl",
39 "libz",
40 "libjsoncpp",
41 ],
42 defaults: ["cuttlefish_host_only"],
43}