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: "android.hardware.camera.provider@2.7-external-vsock-service", 22 defaults: ["hidl_defaults"], 23 proprietary: true, 24 relative_install_path: "hw", 25 srcs: ["external-service.cpp"], 26 compile_multilib: "first", 27 init_rc: ["android.hardware.camera.provider@2.7-external-vsock-service.rc"], 28 shared_libs: [ 29 "android.hardware.camera.provider@2.7", 30 "libbinder", 31 "libhidlbase", 32 "liblog", 33 "libutils", 34 ], 35} 36 37cc_library_shared { 38 name: "android.hardware.camera.provider@2.7-impl-cuttlefish", 39 defaults: ["hidl_defaults"], 40 proprietary: true, 41 relative_install_path: "hw", 42 srcs: [ 43 "vsock_camera_provider_2_7.cpp", 44 "vsock_camera_device_3_4.cpp", 45 "vsock_camera_device_session_3_4.cpp", 46 "vsock_camera_metadata.cpp", 47 "vsock_camera_server.cpp", 48 "vsock_frame_provider.cpp", 49 "cached_stream_buffer.cpp", 50 "stream_buffer_cache.cpp", 51 ], 52 shared_libs: [ 53 "android.hardware.camera.common@1.0", 54 "android.hardware.camera.device@1.0", 55 "android.hardware.camera.device@3.2", 56 "android.hardware.camera.device@3.3", 57 "android.hardware.camera.device@3.4", 58 "android.hardware.camera.device@3.5", 59 "android.hardware.camera.provider@2.4", 60 "android.hardware.camera.provider@2.5", 61 "android.hardware.camera.provider@2.6", 62 "android.hardware.camera.provider@2.7", 63 "android.hardware.camera.provider@2.4-external", 64 "android.hardware.camera.provider@2.4-legacy", 65 "android.hardware.graphics.mapper@2.0", 66 "android.hardware.graphics.mapper@3.0", 67 "android.hardware.graphics.mapper@4.0", 68 "android.hidl.allocator@1.0", 69 "android.hidl.memory@1.0", 70 "camera.device@1.0-impl", 71 "camera.device@3.2-impl", 72 "camera.device@3.3-impl", 73 "camera.device@3.4-impl", 74 "libcamera_metadata", 75 "libcutils", 76 "libhardware", 77 "libhidlbase", 78 "liblog", 79 "libutils", 80 "libui", 81 "libvsock_utils", 82 "libcuttlefish_fs", 83 "libjsoncpp", 84 "libyuv", 85 "libsync", 86 "libfmq", 87 "libgralloctypes", 88 ], 89 header_libs: [ 90 "camera.device@3.4-external-impl_headers", 91 "camera.device@3.4-impl_headers", 92 "camera.device@3.5-external-impl_headers", 93 "camera.device@3.5-impl_headers", 94 ], 95 static_libs: [ 96 "android.hardware.camera.common@1.0-helper", 97 ], 98 include_dirs: ["device/google/cuttlefish"], 99 export_include_dirs: ["."], 100} 101