• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2021 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// copied from cuttlefish top level Android.bp, cuttlefish_common_headers
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_library_headers {
22    name: "libcuttlefish_confui_host_headers",
23    vendor_available: true,
24    product_available: true,
25    host_supported: true,
26    apex_available: [
27        "//apex_available:platform",
28        "com.android.virt",
29    ],
30}
31
32cc_library_static {
33    name: "libcuttlefish_confui_host",
34    srcs: [
35        "host_renderer.cc",
36        "host_server.cc",
37        "host_utils.cc",
38        "server_common.cc",
39        "session.cc",
40        "fonts.S",
41    ],
42    shared_libs: [
43        "libcuttlefish_fs",
44        "libbase",
45        "libjsoncpp",
46        "liblog",
47    ],
48    header_libs: [
49        "libcuttlefish_confui_host_headers",
50    ],
51    static_libs: [
52        "libcuttlefish_host_config",
53        "libcuttlefish_utils",
54        "libcuttlefish_confui",
55        "libcuttlefish_wayland_server",
56        "libft2.nodep",
57        "libteeui",
58        "libteeui_localization",
59    ],
60    defaults: ["cuttlefish_host"],
61}
62