• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "hardware_google_camera_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    //   legacy_unencumbered
24    default_applicable_licenses: ["hardware_google_camera_license"],
25}
26
27cc_library_shared {
28    name: "libgooglecamerahalutils",
29    defaults: ["google_camera_hal_defaults"],
30    owner: "google",
31    vendor: true,
32    srcs: [
33        "camera_id_manager.cc",
34        "gralloc_buffer_allocator.cc",
35        "hal_camera_metadata.cc",
36        "hal_utils.cc",
37        "hdrplus_process_block.cc",
38        "hdrplus_request_processor.cc",
39        "hdrplus_result_processor.cc",
40        "hwl_buffer_allocator.cc",
41        "internal_stream_manager.cc",
42        "multicam_realtime_process_block.cc",
43        "pipeline_request_id_manager.cc",
44        "result_dispatcher.cc",
45        "stream_buffer_cache_manager.cc",
46        "utils.cc",
47        "vendor_tag_utils.cc",
48        "zoom_ratio_mapper.cc",
49        "zsl_buffer_manager.cc",
50    ],
51    shared_libs: [
52        "lib_profiler",
53        "libcamera_metadata",
54        "libcutils",
55        "libgrallocusage",
56        "libhardware",
57        "liblog",
58        "libutils",
59        "libui",
60        "libsync",
61    ],
62    export_shared_lib_headers: [
63        "lib_profiler",
64    ],
65    export_include_dirs: ["."],
66    include_dirs: [
67        "system/media/private/camera/include"
68    ],
69}
70