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 */ 16 17package { 18 // See: http://go/android-license-faq 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22cc_library_shared { 23 name: "libgooglecamerahalutils", 24 defaults: ["google_camera_hal_defaults"], 25 owner: "google", 26 vendor: true, 27 srcs: [ 28 "camera_id_manager.cc", 29 "gralloc_buffer_allocator.cc", 30 "hal_camera_metadata.cc", 31 "hal_utils.cc", 32 "hwl_buffer_allocator.cc", 33 "internal_stream_manager.cc", 34 "multicam_realtime_process_block.cc", 35 "pipeline_request_id_manager.cc", 36 "realtime_process_block.cc", 37 "result_dispatcher.cc", 38 "stream_buffer_cache_manager.cc", 39 "utils.cc", 40 "vendor_tag_utils.cc", 41 "zoom_ratio_mapper.cc", 42 "zsl_buffer_manager.cc", 43 "zsl_result_dispatcher.cc", 44 ], 45 shared_libs: [ 46 "lib_profiler", 47 "libcamera_metadata", 48 "libcutils", 49 "libgrallocusage", 50 "libhardware", 51 "liblog", 52 "libutils", 53 "libui", 54 "libsync", 55 ], 56 export_shared_lib_headers: [ 57 "lib_profiler", 58 ], 59 export_include_dirs: ["."], 60 include_dirs: [ 61 "system/media/private/camera/include", 62 ], 63} 64