Cody Schuffelen | 742266f | 2019-07-11 15:10:10 -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_binary_host { |
| 17 | name: "fetch_cvd", |
| 18 | srcs: [ |
| 19 | "build_api.cc", |
Cody Schuffelen | 33a8646 | 2019-07-11 18:56:38 -0700 | [diff] [blame] | 20 | "credential_source.cc", |
Cody Schuffelen | 742266f | 2019-07-11 15:10:10 -0700 | [diff] [blame] | 21 | "curl_wrapper.cc", |
Cody Schuffelen | a53a5f7 | 2019-08-02 15:53:44 -0700 | [diff] [blame] | 22 | "fetch_cvd.cc", |
Cody Schuffelen | 6b59882 | 2019-07-16 17:09:03 -0700 | [diff] [blame] | 23 | "install_zip.cc", |
Cody Schuffelen | 742266f | 2019-07-11 15:10:10 -0700 | [diff] [blame] | 24 | ], |
| 25 | header_libs: [ |
| 26 | "cuttlefish_glog", |
| 27 | ], |
| 28 | stl: "libc++_static", |
| 29 | static_libs: [ |
| 30 | "libbase", |
Cody Schuffelen | 76de050 | 2019-08-23 18:05:35 -0700 | [diff] [blame] | 31 | "libcuttlefish_host_config", |
Cody Schuffelen | c775e3b | 2019-07-11 16:55:42 -0700 | [diff] [blame] | 32 | "libcuttlefish_fs", |
| 33 | "libcuttlefish_utils", |
Cody Schuffelen | 742266f | 2019-07-11 15:10:10 -0700 | [diff] [blame] | 34 | "libcurl", |
| 35 | "libcrypto", |
Cody Schuffelen | dc7d05e | 2019-07-11 17:26:00 -0700 | [diff] [blame] | 36 | "libgflags", |
Tom Cherry | af63ef0 | 2020-01-08 13:45:03 -0800 | [diff] [blame] | 37 | "liblog", |
Cody Schuffelen | 742266f | 2019-07-11 15:10:10 -0700 | [diff] [blame] | 38 | "libssl", |
| 39 | "libz", |
| 40 | "libjsoncpp", |
| 41 | ], |
| 42 | defaults: ["cuttlefish_host_only"], |
| 43 | } |