• 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    "//drivers/peripheral/base",
21    "../include",
22  ]
23}
24
25ohos_shared_library("libbuffer_producer_sequenceable_1.0") {
26  sources = [ "buffer_producer_sequenceable.cpp" ]
27
28  public_configs = [ ":camera_sequenceable_config" ]
29
30  external_deps = [
31    "c_utils:utils",
32    "graphic_surface:buffer_handle",
33    "graphic_surface:surface",
34    "hdf_core:libpub_utils",
35    "hilog:libhilog",
36    "ipc:ipc_single",
37  ]
38  public_external_deps = [ "graphic_surface:buffer_handle" ]
39  cflags_cc = [ "-fstack-protector-strong" ]
40
41  if (drivers_interface_camera_feature_coverage) {
42    cflags_cc += [ "--coverage" ]
43    ldflags += [ "--coverage" ]
44  }
45  install_images = [ system_base_dir ]
46  relative_install_dir = "chipset-sdk"
47  subsystem_name = "hdf"
48  part_name = "drivers_interface_camera"
49}
50