From 685e6f1e40abda5e127e77fe991e66258071b519 Mon Sep 17 00:00:00 2001 From: l30052721 Date: Wed, 25 Oct 2023 19:54:33 +0800 Subject: [PATCH] =?UTF-8?q?libyuv=E6=9B=B4=E6=96=B0=E9=9C=80=E6=B1=82?= =?UTF-8?q?=EF=BC=8C=E7=9B=B8=E6=9C=BA=E4=B8=9A=E5=8A=A1=E7=9A=84=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: l30052721 --- bundle.json | 6 +++--- services/data_process/BUILD.gn | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bundle.json b/bundle.json index 2f23df33..5c7f3202 100644 --- a/bundle.json +++ b/bundle.json @@ -46,13 +46,13 @@ "hitrace", "safwk", "drivers_interface_camera", - "access_token" + "access_token", + "libyuv" ], "third_party": [ "cJSON", "ffmpeg", - "jsoncpp", - "libyuv" + "jsoncpp" ] }, "build": { diff --git a/services/data_process/BUILD.gn b/services/data_process/BUILD.gn index f3d14847..53cb1280 100644 --- a/services/data_process/BUILD.gn +++ b/services/data_process/BUILD.gn @@ -68,12 +68,10 @@ ohos_shared_library("distributed_camera_data_process") { deps = [ "${common_path}:distributed_camera_utils" ] if (!distributed_camera_common) { - include_dirs += [ "//third_party/libyuv/files/include" ] sources += [ "src/pipeline_node/multimedia_codec/decoder/decode_data_process.cpp", "src/pipeline_node/scale_conversion/scale_convert_process.cpp", ] - deps += [ "//third_party/libyuv:yuv" ] } else { include_dirs += [ "//third_party/ffmpeg/" ] sources += [ @@ -107,6 +105,9 @@ ohos_shared_library("distributed_camera_data_process") { "player_framework:media_client", ] + if (!distributed_camera_common) { + external_deps += [ "libyuv:yuv" ] + } subsystem_name = "distributedhardware" part_name = "distributed_camera" -- Gitee