1// 2// Copyright (C) 2018 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 { 17 name: "libcuttlefish_utils", 18 srcs: [ 19 "archive.cpp", 20 "subprocess.cpp", 21 "environment.cpp", 22 "size_utils.cpp", 23 "files.cpp", 24 "users.cpp", 25 "network.cpp", 26 "base64.cpp", 27 "tee_logging.cpp", 28 ], 29 shared: { 30 shared_libs: [ 31 "libbase", 32 "libcuttlefish_fs", 33 "libcrypto", 34 ], 35 }, 36 static: { 37 static_libs: [ 38 "libbase", 39 "libcuttlefish_fs", 40 ], 41 shared_libs: [ 42 "libcrypto", // libcrypto_static is not accessible from all targets 43 ], 44 }, 45 defaults: ["cuttlefish_host_and_guest"], 46} 47