blob: b74eb249211af3bbcbca7b0a6ac2413bf7245deb [file] [log] [blame]
Steve Kimeac8c262021-04-01 21:12:18 +00001//
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
Bob Badour628c24b2021-04-03 06:57:12 -070017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Steve Kimeac8c262021-04-01 21:12:18 +000021cc_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: [
Steve Kim541b4372021-04-02 03:06:57 +000035 "host_renderer.cc",
Steve Kimeac8c262021-04-01 21:12:18 +000036 "host_server.cc",
37 "host_utils.cc",
38 "server_common.cc",
39 "session.cc",
Steve Kim541b4372021-04-02 03:06:57 +000040 "fonts.S",
Steve Kimeac8c262021-04-01 21:12:18 +000041 ],
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}