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 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_binary { 21 name: "[email protected]", 22 defaults: ["hidl_defaults"], 23 proprietary: true, 24 relative_install_path: "hw", 25 srcs: ["external-service.cpp"], 26 compile_multilib: "first", 27 init_rc: ["[email protected]"], 28 shared_libs: [ 29 "[email protected]", 30 "libbinder", 31 "libhidlbase", 32 "liblog", 33 "libutils", 34 ], 35} 36 37cc_library_shared { 38 name: "[email protected]", 39 defaults: ["hidl_defaults"], 40 proprietary: true, 41 relative_install_path: "hw", 42 srcs: [ 43 "cached_stream_buffer.cpp", 44 "stream_buffer_cache.cpp", 45 "vsock_camera_device_3_4.cpp", 46 "vsock_camera_device_session_3_4.cpp", 47 "vsock_camera_metadata.cpp", 48 "vsock_camera_provider_2_7.cpp", 49 "vsock_camera_server.cpp", 50 "vsock_frame_provider.cpp", 51 ], 52 shared_libs: [ 53 "[email protected]", 54 "[email protected]", 55 "[email protected]", 56 "[email protected]", 57 "[email protected]", 58 "[email protected]", 59 "[email protected]", 60 "[email protected]", 61 "[email protected]", 62 "[email protected]", 63 "[email protected]", 64 "[email protected]", 65 "[email protected]", 66 "[email protected]", 67 "[email protected]", 68 "[email protected]", 69 "[email protected]", 70 "[email protected]", 71 "[email protected]", 72 "[email protected]", 73 "[email protected]", 74 "libcamera_metadata", 75 "libcutils", 76 "libcuttlefish_fs", 77 "libfmq", 78 "libgralloctypes", 79 "libhardware", 80 "libhidlbase", 81 "libjsoncpp", 82 "liblog", 83 "libsync", 84 "libui", 85 "libutils", 86 "libvsock_utils", 87 "libyuv", 88 ], 89 header_libs: [ 90 "[email protected]_headers", 91 "[email protected]_headers", 92 "[email protected]_headers", 93 "[email protected]_headers", 94 ], 95 static_libs: [ 96 "[email protected]", 97 ], 98 include_dirs: ["device/google/cuttlefish"], 99 export_include_dirs: ["."], 100} 101