1# Copyright (C) 2023 - 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("map_data_sequenceable_config") {
18  include_dirs = [
19    "./",
20    "../include",
21  ]
22}
23
24ohos_shared_library("libmap_data_sequenceable_1.0") {
25  sources = [ "map_data_sequenceable.cpp" ]
26
27  all_dependent_configs = [ ":map_data_sequenceable_config" ]
28  public_configs = [ ":map_data_sequenceable_config" ]
29
30  external_deps = [
31    "c_utils:utils",
32    "graphic_surface:surface",
33    "hdf_core:libpub_utils",
34    "hilog:libhilog",
35    "ipc:ipc_single",
36  ]
37  cflags_cc = [ "-fstack-protector-strong" ]
38
39  if (drivers_interface_camera_feature_coverage) {
40    cflags_cc += [ "--coverage" ]
41    ldflags += [ "--coverage" ]
42  }
43  install_images = [ system_base_dir ]
44  relative_install_dir = "chipset-sdk"
45  subsystem_name = "hdf"
46  innerapi_tags = [ "chipsetsdk" ]
47  part_name = "drivers_interface_camera"
48}
49