1// 2// Copyright (C) 2019 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_wayland_server", 22 srcs: [ 23 "wayland_compositor.cpp", 24 "wayland_dmabuf.cpp", 25 "wayland_seat.cpp", 26 "wayland_server.cpp", 27 "wayland_shell.cpp", 28 "wayland_subcompositor.cpp", 29 "wayland_surface.cpp", 30 "wayland_surfaces.cpp", 31 "wayland_virtio_gpu_metadata.cpp", 32 ], 33 header_libs: [ 34 "libdrm_headers", 35 ], 36 shared_libs: [ 37 "libbase", 38 "libcuttlefish_fs", 39 "liblog", 40 ], 41 static_libs: [ 42 "libdrm", 43 "libffi", 44 "libwayland_crosvm_gpu_display_extension_server_protocols", 45 "libwayland_extension_server_protocols", 46 "libwayland_server", 47 ], 48 defaults: ["cuttlefish_host"], 49} 50