• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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("//drivers/peripheral/camera/hal/camera.gni")
19module_output_path = "hdf/camera"
20
21include_dirs = [
22  "//drivers/peripheral/camera/hal/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/hdi_impl",
31  "$camera_path/hdi_impl/include",
32  "$camera_path/hdi_impl/include/camera_host",
33  "$camera_path/hdi_impl/include/camera_device",
34  "$camera_path/hdi_impl/include/stream_operator",
35  "$camera_path/hdi_impl/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  "//drivers/peripheral/camera/interfaces/metadata/include",
46  "//drivers/peripheral/camera/hal/hdi_impl/src/stream_operator/stream_tunnel/standard",
47]
48
49cflags = [
50  "-g",
51  "-O0",
52  "-fno-omit-frame-pointer",
53]
54
55deps = [
56  "$camera_path/buffer_manager:camera_buffer_manager",
57  "$camera_path/device_manager:camera_device_manager",
58  "$camera_path/hdi_impl:camera_host_service_1.0",
59  "$camera_path/pipeline_core:camera_pipeline_core",
60  "//drivers/interface/camera/v1_0:libcamera_proxy_1.0",
61  "//drivers/interface/camera/v1_0:libcamera_stub_1.0",
62  "//drivers/peripheral/camera/interfaces/metadata:metadata",
63]
64
65external_deps = [
66  "hdf_core:libhdi",
67  "hiviewdfx_hilog_native:libhilog",
68  "ipc:ipc_core",
69]
70