From 5840d16bf5e1f012da7f5eeeeb8a13a3e070a3ea Mon Sep 17 00:00:00 2001 From: hobbycao Date: Mon, 14 Mar 2022 15:11:27 +0800 Subject: [PATCH] gn format Signed-off-by: hobbycao --- camera_hdf/hdi_impl/BUILD.gn | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/camera_hdf/hdi_impl/BUILD.gn b/camera_hdf/hdi_impl/BUILD.gn index 61ff2a6..0be3180 100644 --- a/camera_hdf/hdi_impl/BUILD.gn +++ b/camera_hdf/hdi_impl/BUILD.gn @@ -13,7 +13,8 @@ import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") -import("//foundation/distributedhardware/distributedcamera/distributedcamera.gni") +import( + "//foundation/distributedhardware/distributedcamera/distributedcamera.gni") ohos_shared_library("distributed_camera_hdf") { include_dirs = [ @@ -68,12 +69,12 @@ ohos_shared_library("distributed_camera_hdf") { "src/dcamera_device/dmetadata_processor.cpp", "src/dcamera_host/dcamera_host.cpp", "src/dcamera_provider/dcamera_provider.cpp", + "src/dstream_operator/dbuffer_manager.cpp", + "src/dstream_operator/dcamera_steam.cpp", + "src/dstream_operator/dimage_buffer.cpp", "src/dstream_operator/doffline_stream_operator.cpp", "src/dstream_operator/dstream_operator.cpp", - "src/dstream_operator/dbuffer_manager.cpp", - "src/dstream_operator/dimage_buffer.cpp", - "src/dstream_operator/dcamera_steam.cpp", - "src/utils/dcamera.cpp" + "src/utils/dcamera.cpp", ] cflags = [ @@ -83,9 +84,7 @@ ohos_shared_library("distributed_camera_hdf") { if (device_name == "baltimore") { cflags += [ "-DBALTIMORE_CAMERA" ] - include_dirs += [ - "${camera_hdf_path_baltimore}/camera/interfaces/include", - ] + include_dirs += [ "${camera_hdf_path_baltimore}/camera/interfaces/include" ] } else { include_dirs += [ "${camera_hdf_path}/camera/interfaces/include", @@ -94,14 +93,14 @@ ohos_shared_library("distributed_camera_hdf") { } deps = [ - "//utils/native/base:utils", "${common_path}:distributed_camera_utils", "${fwk_utils_path}:distributedhardwareutils", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//foundation/graphic/standard/frameworks/surface:surface", "//drivers/peripheral/display/hal:hdi_display_gralloc", + "//foundation/graphic/standard/frameworks/surface:surface", "//foundation/multimedia/camera_standard/frameworks/native/metadata:metadata", "//third_party/jsoncpp:jsoncpp", + "//utils/native/base:utils", ] defines = [