• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 - 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/config/features.gni")
15import("//build/ohos.gni")
16import("//build/test.gni")
17import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
18import("../../camera.gni")
19module_output_path = "hdf/camera"
20
21include_dirs = [
22  "$camera_path/include",
23  "$camera_path/../../interfaces/include",
24  "$camera_path/../../interfaces/hdi_ipc",
25  "$camera_path/../../interfaces/hdi_ipc/utils/include",
26  "$camera_path/../../interfaces/hdi_ipc/callback/host/include",
27  "$camera_path/../../interfaces/hdi_ipc/callback/device/include",
28  "$camera_path/../../interfaces/hdi_ipc/callback/operator/include",
29  "$camera_path/include",
30  "$camera_path/../v4l2",
31  "$camera_path/../v4l2/include",
32  "$camera_path/../v4l2/include/camera_host",
33  "$camera_path/../v4l2/include/camera_device",
34  "$camera_path/../v4l2/include/stream_operator",
35  "$camera_path/../v4l2/include/offline_stream_operator",
36  "$camera_path/device_manager/include/",
37  "$camera_path/device_manager/include/mpi",
38  "$camera_path/pipeline_core/utils",
39  "$camera_path/pipeline_core/pipeline_impl/include",
40  "$camera_path/pipeline_core/host_stream/include",
41  "$camera_path/pipeline_core/include",
42  "$camera_path/pipeline_core/ipp/include",
43  "$camera_path/pipeline_core/nodes/include",
44  "$camera_path/utils/event",
45  "$camera_path/../v4l2/src/stream_operator/stream_tunnel/standard",
46]
47
48cflags = [
49  "-g",
50  "-O0",
51  "-fno-omit-frame-pointer",
52]
53
54deps = [
55  "$board_camera_path/device_manager:camera_device_manager",
56  "$board_camera_path/pipeline_core:camera_pipeline_core",
57  "$camera_path/../../hdi_service/v1_0:camera_host_service_1.0",
58  "$camera_path/buffer_manager:camera_buffer_manager",
59  "//drivers/interface/camera/v1_0:libcamera_proxy_1.0",
60  "//drivers/interface/camera/v1_0:libcamera_stub_1.0",
61]
62
63external_deps = [
64  "drivers_interface_camera:metadata",
65  "hdf_core:libhdf_ipc_adapter",
66  "hdf_core:libhdf_utils",
67  "hdf_core:libhdi",
68  "hilog:libhilog",
69  "ipc:ipc_core",
70]
71