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 { 33 name: "libcuttlefish_confui_host", 34 srcs: [ 35 "cbor.cc", 36 "fonts.S", 37 "host_renderer.cc", 38 "host_server.cc", 39 "host_utils.cc", 40 "host_virtual_input.cc", 41 "secure_input.cc", 42 "server_common.cc", 43 "session.cc", 44 "sign.cc", 45 ], 46 shared_libs: [ 47 "[email protected]", 48 "libbase", 49 "libcn-cbor", 50 "libcrypto", 51 "libcuttlefish_fs", 52 "libfruit", 53 "libjsoncpp", 54 "liblog", 55 ], 56 header_libs: [ 57 "libcuttlefish_confui_host_headers", 58 "libdrm_headers", 59 ], 60 static_libs: [ 61 "libcuttlefish_confui", 62 "libcuttlefish_host_config", 63 "libcuttlefish_input_connector", 64 "libcuttlefish_security", 65 "libcuttlefish_utils", 66 "libcuttlefish_wayland_server", 67 "libft2.nodep", 68 "libteeui", 69 "libteeui_localization", 70 ], 71 defaults: ["cuttlefish_buildhost_only"], 72} 73