Steve Kim | eac8c26 | 2021-04-01 21:12:18 +0000 | [diff] [blame] | 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 |
Bob Badour | 628c24b | 2021-04-03 06:57:12 -0700 | [diff] [blame] | 17 | package { |
| 18 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 19 | } |
| 20 | |
Steve Kim | eac8c26 | 2021-04-01 21:12:18 +0000 | [diff] [blame] | 21 | cc_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 | |
| 32 | cc_library_static { |
| 33 | name: "libcuttlefish_confui_host", |
| 34 | srcs: [ |
Steve Kim | 541b437 | 2021-04-02 03:06:57 +0000 | [diff] [blame] | 35 | "host_renderer.cc", |
Steve Kim | eac8c26 | 2021-04-01 21:12:18 +0000 | [diff] [blame] | 36 | "host_server.cc", |
| 37 | "host_utils.cc", |
| 38 | "server_common.cc", |
| 39 | "session.cc", |
Steve Kim | 541b437 | 2021-04-02 03:06:57 +0000 | [diff] [blame] | 40 | "fonts.S", |
Steve Kim | eac8c26 | 2021-04-01 21:12:18 +0000 | [diff] [blame] | 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 | } |