• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_library {
21    name: "libcuttlefish_utils",
22    srcs: [
23        "archive.cpp",
24        "subprocess.cpp",
25        "environment.cpp",
26        "size_utils.cpp",
27        "files.cpp",
28        "users.cpp",
29        "network.cpp",
30        "base64.cpp",
31        "tcp_socket.cpp",
32        "tee_logging.cpp",
33    ],
34    shared: {
35        shared_libs: [
36            "libbase",
37            "libcuttlefish_fs",
38            "libcrypto",
39        ],
40    },
41    static: {
42        static_libs: [
43            "libbase",
44            "libcuttlefish_fs",
45        ],
46        shared_libs: [
47          "libcrypto", // libcrypto_static is not accessible from all targets
48        ],
49    },
50    defaults: ["cuttlefish_host"],
51}
52