• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 - 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15import("//drivers/interface/camera/camera.gni")
16
17config("camera_sequenceable_config") {
18  include_dirs = [
19    "./",
20    "../include",
21  ]
22}
23
24ohos_shared_library("libbuffer_producer_sequenceable_1.0") {
25  sources = [ "buffer_producer_sequenceable.cpp" ]
26
27  public_configs = [ ":camera_sequenceable_config" ]
28
29  external_deps = [
30    "c_utils:utils",
31    "graphic_surface:buffer_handle",
32    "graphic_surface:surface",
33    "hdf_core:libpub_utils",
34    "hilog:libhilog",
35    "ipc:ipc_single",
36  ]
37  public_external_deps = [ "graphic_surface:buffer_handle" ]
38  branch_protector_ret = "pac_ret"
39
40  if (drivers_interface_camera_feature_coverage) {
41    cflags_cc += [ "--coverage" ]
42    ldflags += [ "--coverage" ]
43  }
44  install_images = [ system_base_dir ]
45  innerapi_tags = [
46    "chipsetsdk"
47  ]
48  subsystem_name = "hdf"
49  part_name = "drivers_interface_camera"
50}
51