diff --git a/audio/hal/hdi_binder/proxy/BUILD.gn b/audio/hal/hdi_binder/proxy/BUILD.gn index bf7b3b0b626c35c11c881fede62430fef4752b55..dd348657b96fe700089464ec7f579991bb29e102 100755 --- a/audio/hal/hdi_binder/proxy/BUILD.gn +++ b/audio/hal/hdi_binder/proxy/BUILD.gn @@ -53,12 +53,6 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//drivers/peripheral/audio/hal/hdi_binder/server/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/include", "$hdf_framework_path/core/sec/include", "$hdf_framework_path/core/shared/include", "$hdf_framework_path/core/host/include", @@ -73,7 +67,7 @@ if (defined(ohos_lite)) { ] sources = [ - "$hdf_framework_path/ability/sbuf/src/hdf_sbuf.c", + "$hdf_framework_path/utils/src/hdf_sbuf.c", "//drivers/peripheral/audio/hal/hdi_passthrough/src/audio_adapter_info_common.c", "//drivers/peripheral/audio/hal/hdi_passthrough/src/audio_common.c", "//third_party/cJSON/cJSON.c", @@ -103,26 +97,7 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//drivers/peripheral/audio/hal/hdi_binder/server/include", "//third_party/cJSON", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", - "$hdf_framework_path/include", - "$hdf_framework_path/core/sec/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/manager/include", - "$hdf_uhdf_path/include/devhost", - "$hdf_uhdf_path/devhost/include", - "$hdf_uhdf_path/devmgr/include", - "$hdf_uhdf_path/host/include", - "$hdf_uhdf_path/manager/include", - "$hdf_uhdf_path/include/host", ] sources = [ @@ -137,15 +112,10 @@ if (defined(ohos_lite)) { ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//utils/native/base:utils", ] diff --git a/audio/hal/hdi_binder/server/BUILD.gn b/audio/hal/hdi_binder/server/BUILD.gn index c7a76442c872539f1701b4c1ab113a2a88a4a24c..3509acf6b03cacfca88f554bda8092248cc50a0c 100755 --- a/audio/hal/hdi_binder/server/BUILD.gn +++ b/audio/hal/hdi_binder/server/BUILD.gn @@ -54,12 +54,6 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//drivers/peripheral/audio/hal/hdi_binder/server/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/include", "$hdf_framework_path/core/sec/include", "$hdf_framework_path/core/shared/include", "$hdf_framework_path/core/host/include", @@ -72,8 +66,8 @@ if (defined(ohos_lite)) { ] sources = [ - "$hdf_framework_path/ability/sbuf/src/hdf_sbuf.c", "$hdf_framework_path/support/posix/src/osal_mem.c", + "$hdf_framework_path/utils/src/hdf_sbuf.c", "src/hdf_audio_server.c", "src/hdf_audio_server_capture.c", "src/hdf_audio_server_common.c", @@ -97,15 +91,7 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/interfaces/include", "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/hal/hdi_binder/server/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", ] sources = [ @@ -116,15 +102,10 @@ if (defined(ohos_lite)) { ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//utils/native/base:utils", ] diff --git a/audio/hal/hdi_passthrough/BUILD.gn b/audio/hal/hdi_passthrough/BUILD.gn index 7d6377317e5d8bcd251dacc7989d061c0edb4c0c..6ee3f5156e394ff9a4f42efa1b72eb37f7dd286e 100755 --- a/audio/hal/hdi_passthrough/BUILD.gn +++ b/audio/hal/hdi_passthrough/BUILD.gn @@ -69,7 +69,6 @@ if (defined(ohos_lite)) { "$hdf_framework_path/include/core", "$hdf_framework_path/include/utils", "$hdf_framework_path/include/osal", - "$hdf_framework_path/ability/sbuf/include", "//drivers//adapter/khdf/liteos/osal/include", "//third_party/bounds_checking_function/include", ] @@ -106,28 +105,16 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/supportlibs/adm_adapter/include", "//third_party/cJSON", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/osal/include", "$hdf_uhdf_path/common/include/core", ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/hal/pathselect/BUILD.gn b/audio/hal/pathselect/BUILD.gn index 04664f31218fce8f00c10485b43c9510b8c6cbc3..ad1b17ff8ed86d27193c5cd16ca53aef8d5be107 100755 --- a/audio/hal/pathselect/BUILD.gn +++ b/audio/hal/pathselect/BUILD.gn @@ -59,11 +59,6 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/hal/pathselect/include", "//third_party/cJSON", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", "$hdf_framework_path/include", "$hdf_framework_path/core/sec/include", "$hdf_framework_path/core/shared/include", @@ -94,27 +89,14 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/pathselect/include", "//third_party/cJSON", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/sample/BUILD.gn b/audio/sample/BUILD.gn index 206ec3194c05c3cc97d9a1aa3230886699c27b5e..0df239bf36a83027c6bbe3846239d7ddba17be98 100755 --- a/audio/sample/BUILD.gn +++ b/audio/sample/BUILD.gn @@ -25,11 +25,6 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/interfaces/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//utils/native/base/include", - "$hdf_framework_path/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_framework_path/core/adapter/syscall/include", "$hdf_framework_path/core/adapter/vnode/include", "$hdf_framework_path/core/shared/include", @@ -37,7 +32,6 @@ if (defined(ohos_lite)) { "$hdf_uhdf_path/osal/include", "$hdf_uhdf_path/include/hdi", "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/include/config", "$hdf_uhdf_path/include/osal", "$hdf_uhdf_path/include/host", "$hdf_uhdf_path/shared/include", @@ -63,25 +57,14 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/interfaces/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//utils/native/base/include", - "$hdf_framework_path/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_framework_path/core/adapter/syscall/include", "$hdf_framework_path/core/adapter/vnode/include", "$hdf_framework_path/core/shared/include", "$hdf_framework_path/include/core/", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/hdi", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/osal", "$hdf_uhdf_path/include/host", "$hdf_uhdf_path/shared/include", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/host/include", - "$hdf_uhdf_path/include", "$hdf_uhdf_path/common/security/include", "//third_party/bounds_checking_function/include", ] @@ -101,40 +84,15 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/interfaces/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//utils/native/base/include", - "$hdf_framework_path/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/core/adapter/syscall/include", - "$hdf_framework_path/core/adapter/vnode/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/core/", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/hdi", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/osal", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", - "$hdf_uhdf_path/host/include", - "$hdf_uhdf_path/include", - "$hdf_uhdf_path/common/security/include", ] sources = [ "framework_render.c" ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -158,40 +116,15 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/interfaces/include", "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", "//utils/native/base/include", - "$hdf_framework_path/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/core/adapter/syscall/include", - "$hdf_framework_path/core/adapter/vnode/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/core/", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/hdi", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/osal", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", - "$hdf_uhdf_path/host/include", - "$hdf_uhdf_path/include", - "$hdf_uhdf_path/common/security/include", ] sources = [ "framework_capture.c" ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/supportlibs/adm_adapter/BUILD.gn b/audio/supportlibs/adm_adapter/BUILD.gn index 539545a97fa3ac268c474d2acf1f95065a98e957..d9819a27cf5a6cb5d73763d17b5b8d84967b97c3 100755 --- a/audio/supportlibs/adm_adapter/BUILD.gn +++ b/audio/supportlibs/adm_adapter/BUILD.gn @@ -51,7 +51,7 @@ config("audio_interface_config") { if (defined(ohos_lite)) { shared_library("hdi_audio_interface_lib_capture") { sources = [ - "$hdf_framework_path/ability/sbuf/src/hdf_sbuf.c", + "$hdf_framework_path/utils/src/hdf_sbuf.c", "//drivers/peripheral/audio/hal/hdi_passthrough/src/audio_common.c", "src/audio_interface_lib_capture.c", "src/audio_interface_lib_common.c", @@ -61,15 +61,7 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/supportlibs/adm_adapter/include", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", "//base/hiviewdfx/hilog_lite/interfaces/native/kits/", "//device/hisilicon/hispark_taurus/sdk_linux/huawei_proprietary/include", ] @@ -86,7 +78,7 @@ if (defined(ohos_lite)) { shared_library("hdi_audio_interface_lib_render") { sources = [ - "$hdf_framework_path/ability/sbuf/src/hdf_sbuf.c", + "$hdf_framework_path/utils/src/hdf_sbuf.c", "//drivers/peripheral/audio/hal/hdi_passthrough/src/audio_common.c", "src/audio_interface_lib_common.c", "src/audio_interface_lib_render.c", @@ -96,14 +88,7 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/supportlibs/adm_adapter/include", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/osal/include", "//base/hiviewdfx/hilog_lite/interfaces/native/kits/", "//device/hisilicon/hispark_taurus/sdk_linux/huawei_proprietary/include", @@ -130,28 +115,15 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/supportlibs/adm_adapter/include", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", "//device/hisilicon/hispark_taurus/sdk_linux/huawei_proprietary/include", ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -177,28 +149,15 @@ if (defined(ohos_lite)) { "//drivers/peripheral/audio/hal/hdi_passthrough/include", "//drivers/peripheral/audio/supportlibs/adm_adapter/include", "//drivers/peripheral/audio/interfaces/include", - "$hdf_framework_path/include/core", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include", "//third_party/bounds_checking_function/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_uhdf_path/osal/include", "//device/hisilicon/hispark_taurus/sdk_linux/huawei_proprietary/include", ] deps = [ - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/hcs:hdf_default.hcb", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/host:hdf_devhost", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/manager:hdf_devmgr", - "$hdf_uhdf_path/manager:hdf_devmgr.rc", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/test/systemtest/adm/audio_adm_interface/BUILD.gn b/audio/test/systemtest/adm/audio_adm_interface/BUILD.gn index ed05aaad23a37252897093465965ea35960c5f3d..7988b6171fe8e8989cb3ad22375b20d15383ac35 100755 --- a/audio/test/systemtest/adm/audio_adm_interface/BUILD.gn +++ b/audio/test/systemtest/adm/audio_adm_interface/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -92,10 +91,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", - "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/adm_common/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -110,15 +106,10 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "//drivers/adapter/uhdf2/config:libhdf_hcs", - "//drivers/adapter/uhdf2/hcs:hdf_default.hcb", "//drivers/adapter/uhdf2/hdi:libhdi", - "//drivers/adapter/uhdf2/host:hdf_devhost", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/manager:hdf_devmgr", - "//drivers/adapter/uhdf2/manager:hdf_devmgr.rc", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", "//utils/native/base:utils", diff --git a/audio/test/systemtest/adm_interface_lib/capture/BUILD.gn b/audio/test/systemtest/adm_interface_lib/capture/BUILD.gn index 96b254e00167161289442bde02df8ea56743007d..93ee27d8bc0e2ab3daa6b51eb032fcf8a1defe0e 100755 --- a/audio/test/systemtest/adm_interface_lib/capture/BUILD.gn +++ b/audio/test/systemtest/adm_interface_lib/capture/BUILD.gn @@ -37,7 +37,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -91,9 +90,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include", "//utils/native/base/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/lib_common/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", diff --git a/audio/test/systemtest/adm_interface_lib/render/BUILD.gn b/audio/test/systemtest/adm_interface_lib/render/BUILD.gn index f6e9ba3cac5f6d99937c0234153b82f6ae57bc54..4dee496749cab4ebc839243d95317d9671327cd2 100755 --- a/audio/test/systemtest/adm_interface_lib/render/BUILD.gn +++ b/audio/test/systemtest/adm_interface_lib/render/BUILD.gn @@ -37,7 +37,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -91,9 +90,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/lib_common/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", diff --git a/audio/test/systemtest/audio_function/audio_pathroute/BUILD.gn b/audio/test/systemtest/audio_function/audio_pathroute/BUILD.gn index 1a4662c3a4d1fe48efc987ee72859895f3198292..f8d978d42a036347d743396016aa02ff9f625574 100755 --- a/audio/test/systemtest/audio_function/audio_pathroute/BUILD.gn +++ b/audio/test/systemtest/audio_function/audio_pathroute/BUILD.gn @@ -25,7 +25,7 @@ if (defined(ohos_lite)) { unittest("hdf_audio_hdi_path_route_test") { sources = [ "../../common/hdi_common/src/audio_hdi_common.cpp", - "//drivers/framework/ability/sbuf/src/hdf_sbuf.c", + "//drivers/framework/utils/src/hdf_sbuf.c", "src/audio_pathroute_test.cpp", ] @@ -36,7 +36,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -90,9 +89,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//drivers/peripheral/audio/test/systemtest/audio_function/audio_pathroute/include", @@ -107,15 +104,10 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "//drivers/adapter/uhdf2/config:libhdf_hcs", - "//drivers/adapter/uhdf2/hcs:hdf_default.hcb", "//drivers/adapter/uhdf2/hdi:libhdi", - "//drivers/adapter/uhdf2/host:hdf_devhost", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/manager:hdf_devmgr", - "//drivers/adapter/uhdf2/manager:hdf_devmgr.rc", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", "//utils/native/base:utils", diff --git a/audio/test/systemtest/audio_function/audio_server/BUILD.gn b/audio/test/systemtest/audio_function/audio_server/BUILD.gn index 0db8a98b373813cfedf92544cd92780718891ded..75d27c2fa5249f294986222f0ccc4e83c24e0115 100755 --- a/audio/test/systemtest/audio_function/audio_server/BUILD.gn +++ b/audio/test/systemtest/audio_function/audio_server/BUILD.gn @@ -39,9 +39,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//drivers/peripheral/audio/test/systemtest/audio_function/audio_server/include", @@ -79,9 +77,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//drivers/peripheral/audio/test/systemtest/audio_function/audio_server/include", diff --git a/audio/test/systemtest/audio_function/audio_smartpa/BUILD.gn b/audio/test/systemtest/audio_function/audio_smartpa/BUILD.gn index 2f4445656e9dcd31d9e747eb4c0b5ccb3dae570b..f881332d151c15c0d202b37cc4175efff8d64477 100755 --- a/audio/test/systemtest/audio_function/audio_smartpa/BUILD.gn +++ b/audio/test/systemtest/audio_function/audio_smartpa/BUILD.gn @@ -41,9 +41,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//drivers/peripheral/audio/test/systemtest/audio_function/audio_smartpa/include", @@ -96,9 +94,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//drivers/peripheral/audio/test/systemtest/audio_function/audio_smartpa/include", @@ -117,15 +113,10 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "//drivers/adapter/uhdf2/config:libhdf_hcs", - "//drivers/adapter/uhdf2/hcs:hdf_default.hcb", "//drivers/adapter/uhdf2/hdi:libhdi", - "//drivers/adapter/uhdf2/host:hdf_devhost", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/manager:hdf_devmgr", - "//drivers/adapter/uhdf2/manager:hdf_devmgr.rc", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", "//utils/native/base:utils", diff --git a/audio/test/systemtest/hdi/adapter/BUILD.gn b/audio/test/systemtest/hdi/adapter/BUILD.gn index 4d0c0a56e712f5aa86e479c4a2c11382615fe205..aa4fc238f5376a94146b290f00bf76c825515155 100755 --- a/audio/test/systemtest/hdi/adapter/BUILD.gn +++ b/audio/test/systemtest/hdi/adapter/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -83,9 +82,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/utils", "//drivers/framework/include/osal", "//drivers/framework/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//third_party/bounds_checking_function/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", diff --git a/audio/test/systemtest/hdi/capture/BUILD.gn b/audio/test/systemtest/hdi/capture/BUILD.gn index 4749f1cb34bf9c3bf77c0ade4901ad4cf88920a7..5a4416af285016aa5be1de4af4d91da1a9aad15d 100755 --- a/audio/test/systemtest/hdi/capture/BUILD.gn +++ b/audio/test/systemtest/hdi/capture/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -76,7 +75,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -117,7 +115,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -158,7 +155,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -199,7 +195,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -247,9 +242,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -302,9 +295,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -357,9 +348,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -412,9 +401,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -467,9 +454,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", diff --git a/audio/test/systemtest/hdi/hdiperformace/BUILD.gn b/audio/test/systemtest/hdi/hdiperformace/BUILD.gn index 7520293e6e681e45118baca496e8a626a66f65d9..a04aca89182ba6ce153ded1045b1b17c8bcb9210 100755 --- a/audio/test/systemtest/hdi/hdiperformace/BUILD.gn +++ b/audio/test/systemtest/hdi/hdiperformace/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -76,7 +75,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -124,9 +122,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -179,9 +175,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", diff --git a/audio/test/systemtest/hdi/hdireliability/BUILD.gn b/audio/test/systemtest/hdi/hdireliability/BUILD.gn index 48d1c9e6fd3ef0d96d870dd1686a580fae69271f..6c9e1ed8f36b281ba1bc0a2e9d6b34026ab640c6 100755 --- a/audio/test/systemtest/hdi/hdireliability/BUILD.gn +++ b/audio/test/systemtest/hdi/hdireliability/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -79,7 +78,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -114,7 +112,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -149,7 +146,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -192,9 +188,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include", "//third_party/bounds_checking_function/include", "//utils/native/base/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -249,9 +243,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include", "//third_party/bounds_checking_function/include", "//utils/native/base/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -306,9 +298,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include", "//third_party/bounds_checking_function/include", "//utils/native/base/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -363,9 +353,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include", "//third_party/bounds_checking_function/include", "//utils/native/base/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", diff --git a/audio/test/systemtest/hdi/render/BUILD.gn b/audio/test/systemtest/hdi/render/BUILD.gn index 89560210baac762a3bfc475312795892e341a353..31c324cae0342192b1cfd50b150f60a2bc743c34 100755 --- a/audio/test/systemtest/hdi/render/BUILD.gn +++ b/audio/test/systemtest/hdi/render/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -76,7 +75,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -117,7 +115,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -158,7 +155,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -199,7 +195,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/core", "//drivers/framework/include/utils", "//drivers/framework/include/osal", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include", "//drivers/framework/core/sec/include", @@ -247,9 +242,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -302,9 +295,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -357,9 +348,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -412,9 +401,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", @@ -467,9 +454,7 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//drivers/peripheral/audio/test/systemtest/common/hdi_common/include", "//third_party/googletest/googletest/include/gtest", diff --git a/audio/test/unittest/adm/BUILD.gn b/audio/test/unittest/adm/BUILD.gn index eae60faba01b01443c6da483cc7c76995f58d669..ac079eab94ce365944f406232395c6b5c160213b 100755 --- a/audio/test/unittest/adm/BUILD.gn +++ b/audio/test/unittest/adm/BUILD.gn @@ -18,13 +18,11 @@ ohos_unittest("hdf_audio_adm_test") { module_out_path = module_output_path include_dirs = [ - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/framework/test/unittest/include", "//drivers/framework/test/unittest/osal", @@ -41,8 +39,8 @@ ohos_unittest("hdf_audio_adm_test") { "//drivers/framework/model/audio/sapm/test/unittest/common/audio_sapm_test.cpp", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", "//drivers/adapter/uhdf2/test/unittest/common:libhdf_test_common", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/test/unittest/driver/BUILD.gn b/audio/test/unittest/driver/BUILD.gn index 827478df70ca286f3909a02b43edd0e9e0ee7079..413dea5d7a9e1b9e91e6330b887c09c55474e039 100755 --- a/audio/test/unittest/driver/BUILD.gn +++ b/audio/test/unittest/driver/BUILD.gn @@ -18,13 +18,11 @@ ohos_unittest("khdf_audio_driver_test") { module_out_path = module_output_path include_dirs = [ - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/framework/test/unittest/include", "//drivers/framework/test/unittest/osal", @@ -40,8 +38,8 @@ ohos_unittest("khdf_audio_driver_test") { "//drivers/peripheral/audio/chipsets/hi3516dv300/soc/test/unittest/common/hi3516_platform_ops_test.cpp", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", "//drivers/adapter/uhdf2/test/unittest/common:libhdf_test_common", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/audio/test/unittest/hdi/adapter/BUILD.gn b/audio/test/unittest/hdi/adapter/BUILD.gn index 16b1fc4d4b6f8ea6b987081cd8334242d9734ce1..f2b0176ea5e35e1ec2fece948fa037c2239ffab4 100755 --- a/audio/test/unittest/hdi/adapter/BUILD.gn +++ b/audio/test/unittest/hdi/adapter/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", @@ -83,15 +81,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", diff --git a/audio/test/unittest/hdi/capture/BUILD.gn b/audio/test/unittest/hdi/capture/BUILD.gn index 5e48aa03894bb3df9c1e82be3c8f700dd99c7579..340a813bf22c20ea9e364f50f1d2502535d455f3 100755 --- a/audio/test/unittest/hdi/capture/BUILD.gn +++ b/audio/test/unittest/hdi/capture/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", @@ -83,15 +81,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", diff --git a/audio/test/unittest/hdi/manager/BUILD.gn b/audio/test/unittest/hdi/manager/BUILD.gn index b0cd40bb5baf9dfd8b038cabff296ff62c95b7f9..2c5cbcab618884bee6cb2bbb123ebec5a8571a88 100755 --- a/audio/test/unittest/hdi/manager/BUILD.gn +++ b/audio/test/unittest/hdi/manager/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", @@ -83,15 +81,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", diff --git a/audio/test/unittest/hdi/render/BUILD.gn b/audio/test/unittest/hdi/render/BUILD.gn index b7ce05b89a58dcf5a65f1d69f3daf997b657286d..2185a8ef8c75a796ac44f78f116ff81c0f6dd0a4 100755 --- a/audio/test/unittest/hdi/render/BUILD.gn +++ b/audio/test/unittest/hdi/render/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", @@ -83,15 +81,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", diff --git a/audio/test/unittest/lib/interface_lib_capture/BUILD.gn b/audio/test/unittest/lib/interface_lib_capture/BUILD.gn index bab028c221e246a6e972f5db23d6a71789dbb165..a49d9f1434b85faa5a6f2f3381c20ebf4b397ebf 100755 --- a/audio/test/unittest/lib/interface_lib_capture/BUILD.gn +++ b/audio/test/unittest/lib/interface_lib_capture/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", ] @@ -86,15 +84,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", ] diff --git a/audio/test/unittest/lib/interface_lib_render/BUILD.gn b/audio/test/unittest/lib/interface_lib_render/BUILD.gn index 9bcb72280303b5962257779c5cd143b2f714335a..8a704e413cf0b63a6f731fac14a0a1128adc5efa 100755 --- a/audio/test/unittest/lib/interface_lib_render/BUILD.gn +++ b/audio/test/unittest/lib/interface_lib_render/BUILD.gn @@ -38,15 +38,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", ] @@ -86,15 +84,13 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", - "//drivers/framework/ability/sbuf/include", "//drivers/adapter/uhdf2/osal/include", "//third_party/googletest/googletest/include/gtest", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", ] diff --git a/camera/hal/adapter/chipset/hispark_taurus/src/pipeline_core/BUILD.gn b/camera/hal/adapter/chipset/hispark_taurus/src/pipeline_core/BUILD.gn index 3e2166b9bbd92aefc5ea0df2cea1ded85fc3e346..3c6aaa90aa813980f7756f409fe2de806698fead 100644 --- a/camera/hal/adapter/chipset/hispark_taurus/src/pipeline_core/BUILD.gn +++ b/camera/hal/adapter/chipset/hispark_taurus/src/pipeline_core/BUILD.gn @@ -108,12 +108,9 @@ ohos_shared_library("camera_pipeline_core") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata/include", # hcs parser - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", "//drivers/framework/utils/include", "//drivers/adapter/uhdf2/osal/include", @@ -125,8 +122,7 @@ ohos_shared_library("camera_pipeline_core") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", # hcs parser - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/graphic/standard:libsurface", ] diff --git a/camera/hal/adapter/chipset/rpi3/src/driver_adapter/main_test/BUILD.gn b/camera/hal/adapter/chipset/rpi3/src/driver_adapter/main_test/BUILD.gn index 68ecbf1b9ac0e91e0c53bbc76d96459fff6741ac..048c9adc8e107be65dbd2f5b438ec066b2eb0f86 100644 --- a/camera/hal/adapter/chipset/rpi3/src/driver_adapter/main_test/BUILD.gn +++ b/camera/hal/adapter/chipset/rpi3/src/driver_adapter/main_test/BUILD.gn @@ -46,7 +46,6 @@ ohos_executable("v4l2_main") { include_dirs = [ "$camera_path/include", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", "//drivers/framework/include/utils", "//drivers/peripheral/camera/hal/adapter/platform/v4l2/src/driver_adapter/include", diff --git a/camera/hal/adapter/platform/v4l2/src/driver_adapter/BUILD.gn b/camera/hal/adapter/platform/v4l2/src/driver_adapter/BUILD.gn index 07179458da1e3d9f996579beb69a61da6a6a3c22..c99346376d5a846a92fa72432a877f9f8eefd13c 100644 --- a/camera/hal/adapter/platform/v4l2/src/driver_adapter/BUILD.gn +++ b/camera/hal/adapter/platform/v4l2/src/driver_adapter/BUILD.gn @@ -53,7 +53,6 @@ ohos_shared_library("camera_v4l2_adapter") { include_dirs = [ "$camera_path/include", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", "//drivers/framework/include/utils", "//drivers/peripheral/camera/hal/adapter/platform/v4l2/src/driver_adapter/include", diff --git a/camera/hal/adapter/platform/v4l2/src/pipeline_core/BUILD.gn b/camera/hal/adapter/platform/v4l2/src/pipeline_core/BUILD.gn index aa944efc14f474353b847255b9239572f3407f23..acecd587bfcbf094731a6254794dfdd0a973ccd0 100644 --- a/camera/hal/adapter/platform/v4l2/src/pipeline_core/BUILD.gn +++ b/camera/hal/adapter/platform/v4l2/src/pipeline_core/BUILD.gn @@ -102,12 +102,9 @@ ohos_shared_library("camera_pipeline_core") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata/include", # hcs parser - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", "//drivers/framework/utils/include", "//drivers/adapter/uhdf2/osal/include", @@ -119,8 +116,7 @@ ohos_shared_library("camera_pipeline_core") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", # hcs parser - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/graphic/standard:libsurface", ] diff --git a/camera/hal/hdi_impl/BUILD.gn b/camera/hal/hdi_impl/BUILD.gn index cbd07aac664fb9752a8664396dd186e24a8dd7d1..fac65920a64ec40b3cffb6bb8e8f6a02a011aeb0 100644 --- a/camera/hal/hdi_impl/BUILD.gn +++ b/camera/hal/hdi_impl/BUILD.gn @@ -106,16 +106,12 @@ ohos_shared_library("camera_hdi_impl") { "$camera_path/pipeline_core/ipp/include", # HCS文件解析需要 - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/include/hdi", - "$hdf_framework_path/ability/sbuf/include", ] if (use_hitrace) { @@ -132,9 +128,8 @@ ohos_shared_library("camera_hdi_impl") { "$camera_path/device_manager:camera_device_manager", "$camera_path/pipeline_core:camera_pipeline_core", "$camera_path/utils:camera_utils", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", diff --git a/camera/hal/hdi_impl/test/BUILD.gn b/camera/hal/hdi_impl/test/BUILD.gn index 65644c5dd8f25fa25bc452ae67c1051150a3d838..7f56d7afbe44be3490d22823d65fd0be9d429423 100644 --- a/camera/hal/hdi_impl/test/BUILD.gn +++ b/camera/hal/hdi_impl/test/BUILD.gn @@ -98,14 +98,10 @@ ohos_unittest("hdi_impl_unittest") { "$camera_path/pipeline_core/ipp/include", # HCS - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", "//drivers/adapter/uhdf2/osal/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/include/hdi", @@ -119,9 +115,8 @@ ohos_unittest("hdi_impl_unittest") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "../../../interfaces/include/client:libcamera_client", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", diff --git a/camera/hal/init/BUILD.gn b/camera/hal/init/BUILD.gn index c77dfeb9e477441775e4d57d08e5e0405e04cd0e..26fd98ef1b249525cd15e08b2cc57dcd4cfa2cdb 100644 --- a/camera/hal/init/BUILD.gn +++ b/camera/hal/init/BUILD.gn @@ -58,14 +58,10 @@ ohos_executable("ohos_camera_demo") { "$camera_path/pipeline_core/ipp/include", # HCS - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/include/hdi", "$hdf_uhdf_path/devhost/include", @@ -79,9 +75,8 @@ ohos_executable("ohos_camera_demo") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", diff --git a/camera/hal/pipeline_core/test/BUILD.gn b/camera/hal/pipeline_core/test/BUILD.gn index 4bc4095c409f207228924377235644d295764633..0fd7fb7afccc60814f4a21b91725f9ca9c0df8b7 100644 --- a/camera/hal/pipeline_core/test/BUILD.gn +++ b/camera/hal/pipeline_core/test/BUILD.gn @@ -93,11 +93,8 @@ ohos_unittest("pipeline_core_unittest") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata/include", # hcs parser - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", "//drivers/framework/utils/include", "//drivers/adapter/uhdf2/osal/include", @@ -121,8 +118,7 @@ ohos_unittest("pipeline_core_unittest") { "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", # hcs parser - "$hdf_uhdf_path/config:libhdf_hcs", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/graphic/standard:libsurface", "//third_party/googletest:gmock_main", diff --git a/camera/hal/test/fuzz/BUILD.gn b/camera/hal/test/fuzz/BUILD.gn index df5f823a6653c3f2f4831ed333511a124c403b7b..6d2b30997cbc6f23d3b2253c10dc7659b3439142 100644 --- a/camera/hal/test/fuzz/BUILD.gn +++ b/camera/hal/test/fuzz/BUILD.gn @@ -67,9 +67,8 @@ ohos_fuzztest("IPCCameraDeviceRemote_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -140,9 +139,8 @@ ohos_fuzztest("IPCCameraHostService_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -213,9 +211,8 @@ ohos_fuzztest("IPCOffline_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -286,9 +283,8 @@ ohos_fuzztest("IPCStreamOperator_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -360,9 +356,8 @@ ohos_fuzztest("IPCCameraDeviceCallback_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -434,9 +429,8 @@ ohos_fuzztest("IPCCameraHostCallback_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", @@ -509,9 +503,8 @@ ohos_fuzztest("IPCStreamOperatorCallback_fuzzer") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/display/hal:hdi_display_gralloc", diff --git a/camera/hal/test/mpi/BUILD.gn b/camera/hal/test/mpi/BUILD.gn index 38097a271430a68d2af2f82318dde5889f5be8b8..6f52d673daee0f983fdd5cd0b78db66bae9da960 100644 --- a/camera/hal/test/mpi/BUILD.gn +++ b/camera/hal/test/mpi/BUILD.gn @@ -92,14 +92,10 @@ ohos_unittest("camera_case_unittest") { "$camera_path/pipeline_core/ipp/include", # HCS文件解析需要 - "//drivers/framework/include/config", "//drivers/framework/include/osal", "//drivers/framework/include/utils", - "//drivers/adapter/uhdf2/include/config", "//drivers/adapter/uhdf2/osal/include", - "//drivers/framework/ability/config/hcs_parser/include", "//system/core/include/cutils", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/include/hdi", ] @@ -110,9 +106,8 @@ ohos_unittest("camera_case_unittest") { "$camera_path/device_manager:camera_device_manager", "$camera_path/hdi_impl:camera_hdi_impl", "$camera_path/pipeline_core:camera_pipeline_core", - "$hdf_uhdf_path/config:libhdf_hcs", "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/graphic/standard:libsurface", "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", diff --git a/camera/hal_c/hdi_cif/BUILD.gn b/camera/hal_c/hdi_cif/BUILD.gn index 609bd393b46af25f69e3a7ac84fdccef0f537e39..6e2d2cdbbd035379b54eae327326eed74ec42460 100644 --- a/camera/hal_c/hdi_cif/BUILD.gn +++ b/camera/hal_c/hdi_cif/BUILD.gn @@ -73,7 +73,7 @@ ohos_shared_library("hdi_cif") { deps = [ "$hdf_uhdf_path/hdi:libhdi", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", diff --git a/camera/interfaces/include/client/BUILD.gn b/camera/interfaces/include/client/BUILD.gn index a9ee203945bbfab3b84d15d03ed2dc719d65af71..3b02db9570bb07d5603c99f54d8bee2fac76475a 100644 --- a/camera/interfaces/include/client/BUILD.gn +++ b/camera/interfaces/include/client/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -21,7 +21,6 @@ group("camera_client") { ohos_shared_library("libcamera_client") { include_dirs = [ "../", - "$hdf_framework_path/ability/sbuf/include", "$hdf_uhdf_path/manager/include", "$hdf_uhdf_path/include/hdi", "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata/include", @@ -49,7 +48,7 @@ ohos_shared_library("libcamera_client") { "$hdf_uhdf_path/hdi:libhdi", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/graphic/standard:libsurface", "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", diff --git a/codec/hdi_service/BUILD.gn b/codec/hdi_service/BUILD.gn index eef9b6f565691c4c498a74deed66eff59d35e5fb..0905eccc97b5e24a040931c5e327e777dc1bdf4a 100755 --- a/codec/hdi_service/BUILD.gn +++ b/codec/hdi_service/BUILD.gn @@ -28,7 +28,7 @@ ohos_shared_library("libcodec_client") { "//drivers/adapter/uhdf2/hdi:libhdi", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", ] if (is_standard_system) { @@ -67,7 +67,7 @@ ohos_shared_library("libcodec_server") { "//drivers/adapter/uhdf2/hdi:libhdi", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/codec/hdi_service:codec_client", ] diff --git a/codec/hdi_service/codec_test/BUILD.gn b/codec/hdi_service/codec_test/BUILD.gn index 645c6b736aa5f31d53a1994e6c7093f8f07448eb..0d8f6ee3b6f2257b8fa00f19670cff62677e7a47 100755 --- a/codec/hdi_service/codec_test/BUILD.gn +++ b/codec/hdi_service/codec_test/BUILD.gn @@ -34,7 +34,7 @@ ohos_unittest("codec_test") { ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/codec/hdi_service:codec_client", "//drivers/peripheral/codec/hdi_service:codec_service", "//third_party/googletest:gtest_main", diff --git a/display/hal/default/BUILD.gn b/display/hal/default/BUILD.gn index 4e26d9223f56de02322b88315ad4d6360fbb4d38..6351fbde6019a222cd63fc99f5d87b9c2b46b41f 100644 --- a/display/hal/default/BUILD.gn +++ b/display/hal/default/BUILD.gn @@ -24,7 +24,6 @@ shared_library("display_layer") { "//drivers/peripheral/display/interfaces/include", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/utils/include", "//drivers/framework/include/core", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", diff --git a/display/interfaces/hdi_cpp/client/BUILD.gn b/display/interfaces/hdi_cpp/client/BUILD.gn index efedbf58388c905a214397f8864ba92816f406ef..62badc26eb3defccc63362eae80ea66d6654ec96 100644 --- a/display/interfaces/hdi_cpp/client/BUILD.gn +++ b/display/interfaces/hdi_cpp/client/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -33,7 +33,7 @@ if (is_standard_system) { "$hdf_uhdf_path/hdi:libhdi", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//foundation/graphic/standard/utils:buffer_handle", ] diff --git a/display/interfaces/hdi_cpp/server/BUILD.gn b/display/interfaces/hdi_cpp/server/BUILD.gn index 483e0bb7c6ba39cda0d24948aba33a4185a56f2f..476a299c9ffd4675d87be879e100f4cd2e1f9cdd 100644 --- a/display/interfaces/hdi_cpp/server/BUILD.gn +++ b/display/interfaces/hdi_cpp/server/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -37,7 +37,7 @@ if (is_standard_system) { "$hdf_uhdf_path/hdi:libhdi", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/display/hal:hdi_display_gralloc", "//foundation/graphic/standard/utils:buffer_handle", ] diff --git a/display/test/unittest/BUILD.gn b/display/test/unittest/BUILD.gn index 884972783114e0a8f2a296e9075fbf07f9e3d318..0dcd27b149ec880e6c86948a251cbce66a6ca494 100644 --- a/display/test/unittest/BUILD.gn +++ b/display/test/unittest/BUILD.gn @@ -19,13 +19,11 @@ unittest("hdf_peripheral_display_test") { include_dirs = [ "//third_party/googletest/googletest/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/framework/test/unittest/include", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", diff --git a/input/hal/BUILD.gn b/input/hal/BUILD.gn index e086149454b762d8fca859848177af4dbddd6f6c..63067d6c50b33165fb9913b42c1a9a6424e95718 100644 --- a/input/hal/BUILD.gn +++ b/input/hal/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "$HDF_FWKS/include/osal", "$HDF_FWKS/core/adapter/syscall/include", "$HDF_FWKS/include/core", - "$HDF_FWKS/ability/sbuf/include", "$HDF_FWKS/core/shared/include", "$HDF_FWKS/utils/include", "//third_party/bounds_checking_function/include", @@ -84,7 +83,7 @@ if (defined(ohos_lite)) { public_configs = [ ":input_hdi_public_config" ] include_dirs = [ "$INPUT_ROOT_DIR/hal/include" ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/input/test/unittest/BUILD.gn b/input/test/unittest/BUILD.gn index d4fdb45afce0f10fe717061dd73a58aa1f0cab47..81921c25b98b0a4773c5541908bb000f400362d8 100644 --- a/input/test/unittest/BUILD.gn +++ b/input/test/unittest/BUILD.gn @@ -27,13 +27,11 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/framework/test/unittest/include", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", @@ -86,8 +84,8 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", "$hdf_uhdf_path/test/unittest/common:libhdf_test_common", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/input/hal:hdi_input", "//utils/native/base:utils", ] diff --git a/input/udriver/BUILD.gn b/input/udriver/BUILD.gn index 03facca99d8e20f05dff79bed991a961ccc2b6ec..41113ea12ffb47daca7a20282c5d9b5ece0e047d 100644 --- a/input/udriver/BUILD.gn +++ b/input/udriver/BUILD.gn @@ -25,7 +25,7 @@ ohos_shared_library("libhdf_input_hotplug") { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/misc/vibrator/hal/BUILD.gn b/misc/vibrator/hal/BUILD.gn index 5f3af3e1167174556146c3de2fc53d30886f244b..8328f16e0397083797a6e22574cfd190f92e0097 100644 --- a/misc/vibrator/hal/BUILD.gn +++ b/misc/vibrator/hal/BUILD.gn @@ -33,7 +33,6 @@ if (defined(ohos_lite)) { "$FWK_ROOT_DIR/include/utils", "$FWK_ROOT_DIR/include/osal", "$FWK_ROOT_DIR/include/core", - "$FWK_ROOT_DIR/ability/sbuf/include", "//drivers/adapter/uhdf/posix/include", "//third_party/bounds_checking_function/include", ] @@ -74,7 +73,7 @@ if (defined(ohos_lite)) { ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/misc/vibrator/test/performance/BUILD.gn b/misc/vibrator/test/performance/BUILD.gn index f08cb939081bf8bb92aa2ef1669d458916aa021f..624fbb328acf72b93e1135d19e99c4bade67a5d8 100644 --- a/misc/vibrator/test/performance/BUILD.gn +++ b/misc/vibrator/test/performance/BUILD.gn @@ -26,7 +26,6 @@ if (defined(ohos_lite)) { output_dir = "$root_out_dir/test/unittest/hdf" include_dirs = [ "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", @@ -70,7 +69,7 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/misc/vibrator/hal:hdi_vibrator", "//utils/native/base:utils", ] diff --git a/misc/vibrator/test/unittest/BUILD.gn b/misc/vibrator/test/unittest/BUILD.gn index b40e981196ceafbdd2f6032d18ee56048c3a1d03..ebde0aff9404715b0d465597d519806621d8d923 100644 --- a/misc/vibrator/test/unittest/BUILD.gn +++ b/misc/vibrator/test/unittest/BUILD.gn @@ -26,7 +26,6 @@ if (defined(ohos_lite)) { output_dir = "$root_out_dir/test/unittest/hdf" include_dirs = [ "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", @@ -70,7 +69,7 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/misc/vibrator/hal:hdi_vibrator", "//utils/native/base:utils", ] diff --git a/sensor/hal/BUILD.gn b/sensor/hal/BUILD.gn index 4a6b7b69320eae6a415b3189c4f82d2381ed7b22..900ae778f0c995e9d398382fe30a63cc7f2301de 100644 --- a/sensor/hal/BUILD.gn +++ b/sensor/hal/BUILD.gn @@ -36,7 +36,6 @@ if (defined(ohos_lite)) { "$FWK_ROOT_DIR/include/utils", "$FWK_ROOT_DIR/include/osal", "$FWK_ROOT_DIR/include/core", - "$FWK_ROOT_DIR/ability/sbuf/include", "//drivers/adapter/uhdf/posix/include", "//third_party/bounds_checking_function/include", ] @@ -90,7 +89,7 @@ if (defined(ohos_lite)) { ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] defines = [ "__OHOS__USER__" ] diff --git a/sensor/test/performance/BUILD.gn b/sensor/test/performance/BUILD.gn index f6482d042b4f965c4b26a05b6ac5d897ae603a97..d406d8b2612cd5565439b763fb175b58711f1b05 100644 --- a/sensor/test/performance/BUILD.gn +++ b/sensor/test/performance/BUILD.gn @@ -18,7 +18,6 @@ unittest("hdf_peripheral_sensor_test_performance") { output_dir = "$root_out_dir/test/unittest/hdf" include_dirs = [ "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", diff --git a/sensor/test/unittest/BUILD.gn b/sensor/test/unittest/BUILD.gn index 25832be5c5c5d8999e57d7e18acf25f4b4d7a50f..42e3b234717f2d97fa35f3aecf70e25eeeb8ba58 100644 --- a/sensor/test/unittest/BUILD.gn +++ b/sensor/test/unittest/BUILD.gn @@ -26,7 +26,6 @@ if (defined(ohos_lite)) { output_dir = "$root_out_dir/test/unittest/hdf" include_dirs = [ "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", @@ -76,7 +75,7 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/sensor/hal:hdi_sensor", "//utils/native/base:utils", ] diff --git a/usb/ddk/BUILD.gn b/usb/ddk/BUILD.gn index 026ee42e0867aaf28ce2b787656074e40a38fc8b..0aeb6338a7a9f0fb6c39379a8c9a925606ab4f35 100755 --- a/usb/ddk/BUILD.gn +++ b/usb/ddk/BUILD.gn @@ -23,12 +23,6 @@ group("libusb_core") { ohos_shared_library("libusb_ddk_host") { include_dirs = [ - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/include/core", - "$hdf_uhdf_path/include/host", "device/include", "host/include", "//drivers/peripheral/usb/interfaces/ddk/common", @@ -45,8 +39,8 @@ ohos_shared_library("libusb_ddk_host") { ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/host:libhdf_host", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -61,12 +55,6 @@ ohos_shared_library("libusb_ddk_host") { ohos_shared_library("libusb_ddk_device") { include_dirs = [ - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/include/core", - "$hdf_uhdf_path/include/host", "device/include", "host/include", "//drivers/peripheral/usb/interfaces/ddk/common", @@ -82,8 +70,8 @@ ohos_shared_library("libusb_ddk_device") { ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/host:libhdf_host", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/usb/gadget/function/acm/BUILD.gn b/usb/gadget/function/acm/BUILD.gn index 114c23f1bd05d2515d8290d3d12cb295e62a342f..6e359bf2ebecbe42115a2af89d7716e33f9a54d8 100755 --- a/usb/gadget/function/acm/BUILD.gn +++ b/usb/gadget/function/acm/BUILD.gn @@ -28,10 +28,9 @@ ohos_shared_library("libusbfn_cdcacm") { sources = [ "cdcacm.c" ] deps = [ - "//drivers/adapter/uhdf2/config:uhdf_hcs_pkg", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/gadget/function/ecm/BUILD.gn b/usb/gadget/function/ecm/BUILD.gn index a82fbd14fb9cf61f603b2e481c0a13e96cad3819..327c4324ce908b32ba7716fbc574d894969e2cc5 100755 --- a/usb/gadget/function/ecm/BUILD.gn +++ b/usb/gadget/function/ecm/BUILD.gn @@ -28,10 +28,9 @@ ohos_shared_library("libusbfn_cdcecm") { sources = [ "cdcecm.c" ] deps = [ - "//drivers/adapter/uhdf2/config:uhdf_hcs_pkg", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/gadget/function/master/BUILD.gn b/usb/gadget/function/master/BUILD.gn index f328ec54dad0ff73d5f61e4b116c4a0242b9d9d7..ee0c3320d4f3dbffa198cb8c82b56a7ab25c8fdc 100755 --- a/usb/gadget/function/master/BUILD.gn +++ b/usb/gadget/function/master/BUILD.gn @@ -28,10 +28,9 @@ ohos_shared_library("libusbfn_master") { sources = [ "dev_master.c" ] deps = [ - "//drivers/adapter/uhdf2/config:uhdf_hcs_pkg", "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/net/BUILD.gn b/usb/net/BUILD.gn index cc05aa96fb95b77c3b0e100f123b514e4e8fb575..c0bc9f988ea30c4b2f4b013c02703687d873ebc9 100755 --- a/usb/net/BUILD.gn +++ b/usb/net/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -32,7 +32,7 @@ ohos_shared_library("libusbhost_ecm") { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/sample/device/linux/BUILD.gn b/usb/sample/device/linux/BUILD.gn index 193e1c9fc15b42861f671de022117b2b6e6f743a..2ee836503631af400fe56bb212983db7e2e2d851 100755 --- a/usb/sample/device/linux/BUILD.gn +++ b/usb/sample/device/linux/BUILD.gn @@ -17,22 +17,6 @@ import("//drivers/adapter/uhdf2/uhdf.gni") ohos_executable("acm_test") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -41,11 +25,10 @@ ohos_executable("acm_test") { sources = [ "acm_test.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -62,22 +45,6 @@ ohos_executable("acm_test") { ohos_executable("acm_read") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -86,11 +53,10 @@ ohos_executable("acm_read") { sources = [ "acm_read.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -107,22 +73,6 @@ ohos_executable("acm_read") { ohos_executable("acm_write") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -131,11 +81,10 @@ ohos_executable("acm_write") { sources = [ "acm_write.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -152,22 +101,6 @@ ohos_executable("acm_write") { ohos_executable("acm_speed_write") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -176,11 +109,10 @@ ohos_executable("acm_speed_write") { sources = [ "acm_speed_write.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -197,22 +129,6 @@ ohos_executable("acm_speed_write") { ohos_executable("acm_speed_read") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -221,11 +137,10 @@ ohos_executable("acm_speed_read") { sources = [ "acm_speed_read.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -242,22 +157,6 @@ ohos_executable("acm_speed_read") { ohos_executable("prop_test") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "//drivers/peripheral/usb/interfaces/ddk/device", "//drivers/peripheral/usb/interfaces/ddk/common", "//drivers/peripheral/usb/gadget/function/include", @@ -266,11 +165,10 @@ ohos_executable("prop_test") { sources = [ "prop_test.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/usb/sample/device/liteos/BUILD.gn b/usb/sample/device/liteos/BUILD.gn index 4ce3f3dabe0e9a9299d68da3c3c65a2ef59d77c9..8bd0ef61ef75f6d15a55d9ff9387dfc0c9cb9ecd 100755 --- a/usb/sample/device/liteos/BUILD.gn +++ b/usb/sample/device/liteos/BUILD.gn @@ -32,7 +32,6 @@ executable("acm_test") { sources = [ "acm_test.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", @@ -74,7 +73,6 @@ executable("acm_read") { sources = [ "acm_read.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", @@ -109,7 +107,6 @@ executable("acm_write") { sources = [ "acm_write.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", @@ -144,7 +141,6 @@ executable("acm_speed_write") { sources = [ "acm_speed_write.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", @@ -186,7 +182,6 @@ executable("acm_speed_read") { sources = [ "acm_speed_read.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", @@ -228,7 +223,6 @@ executable("prop_test") { sources = [ "prop_test.c" ] include_dirs = [ - "$HDF_FRAMEWORKS/ability/sbuf/include", "$HDF_FRAMEWORKS/core/shared/include", "$HDF_FRAMEWORKS/core/host/include", "$HDF_FRAMEWORKS/core/master/include", diff --git a/usb/sample/host/BUILD.gn b/usb/sample/host/BUILD.gn index 1a776c15424d72fd6d1068a1f4036365f2e461a7..3bb80d16a7600ee395420002593f19ade8eca41d 100755 --- a/usb/sample/host/BUILD.gn +++ b/usb/sample/host/BUILD.gn @@ -30,7 +30,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/core/adapter/syscall/include", "//drivers/framework/include/core", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/core/shared/include", "//drivers/framework/core/common/include/host", "//drivers/framework/utils/include", @@ -61,22 +60,6 @@ if (defined(ohos_lite)) { ohos_executable("usbhost_ddk_test") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "include", "//drivers/peripheral/usb/ddk/common/include", "//drivers/peripheral/usb/ddk/device/include", @@ -93,11 +76,10 @@ if (defined(ohos_lite)) { ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -130,7 +112,7 @@ if (defined(ohos_lite)) { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] @@ -147,22 +129,6 @@ if (defined(ohos_lite)) { ohos_executable("usbhost_pnp_test") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "include", "//drivers/peripheral/usb/serial/include", ] @@ -170,11 +136,10 @@ if (defined(ohos_lite)) { sources = [ "src/usbhost_pnp_test.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -204,7 +169,7 @@ if (defined(ohos_lite)) { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] @@ -235,7 +200,7 @@ if (defined(ohos_lite)) { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] @@ -253,22 +218,6 @@ if (defined(ohos_lite)) { ohos_executable("usbhost_nosdk_speed_test") { include_dirs = [ "//utils/native/base/include", - "$hdf_framework_path/core/manager/include", - "$hdf_framework_path/core/host/include", - "$hdf_framework_path/core/shared/include", - "$hdf_framework_path/include/osal", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/include/core", - "$hdf_framework_path/utils/include", - "$hdf_framework_path/ability/sbuf/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_uhdf_path/ipc/include", - "$hdf_uhdf_path/osal/include", - "$hdf_uhdf_path/include/config", - "$hdf_uhdf_path/include/host", - "$hdf_uhdf_path/shared/include", - "$hdf_uhdf_path/manager/include", "include", "//drivers/peripheral/usb/ddk/common/include", "//drivers/peripheral/usb/ddk/device/include", @@ -282,11 +231,10 @@ if (defined(ohos_lite)) { sources = [ "src/usbhost_nosdk_speed.c" ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/host:libhdf_host", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] @@ -315,7 +263,7 @@ if (defined(ohos_lite)) { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/sample/host/liteos_test/BUILD.gn b/usb/sample/host/liteos_test/BUILD.gn old mode 100755 new mode 100644 index 95b347004b8cc12f3f4ad8246939ad163d8172ec..4b55a7086d9bfc4e8cdd4d203b1b736d1c664940 --- a/usb/sample/host/liteos_test/BUILD.gn +++ b/usb/sample/host/liteos_test/BUILD.gn @@ -20,7 +20,6 @@ executable("liteos_host_speed_test") { output_dir = "$USB_OUTPUT_DIR" sources = [ "src/usbhost_speed_test.c" ] include_dirs = [ - "$HDF_FWKS/ability/sbuf/include", "$HDF_FWKS/core/shared/include", "$HDF_FWKS/core/host/include", "$HDF_FWKS/core/master/include", diff --git a/usb/serial/BUILD.gn b/usb/serial/BUILD.gn index 6b24774e02645d1ad187bf0334a235519ec94d81..77e9c3e2a52b36956a5688584a61a6df21256e96 100755 --- a/usb/serial/BUILD.gn +++ b/usb/serial/BUILD.gn @@ -32,7 +32,7 @@ ohos_shared_library("libusbhost_acm") { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] @@ -61,7 +61,7 @@ ohos_shared_library("libusbhost_acm_rawapi") { deps = [ "//drivers/adapter/uhdf2/host:libhdf_host", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/usb/ddk:libusb_core", "//utils/native/base:utils", ] diff --git a/usb/test/moduletest/BUILD.gn b/usb/test/moduletest/BUILD.gn index 724ce65448670a7eb8cd1ad97cc24a10f4b80f3c..4eecb3b2f6a2f53b2d59b5d5c202a4ccadfda51d 100755 --- a/usb/test/moduletest/BUILD.gn +++ b/usb/test/moduletest/BUILD.gn @@ -34,7 +34,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/core/adapter/syscall/include", "//drivers/framework/include/core", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/core/shared/include", "//drivers/framework/core/common/include/host", "//drivers/framework/utils/include", @@ -76,7 +75,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/core/adapter/syscall/include", "//drivers/framework/include/core", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/core/shared/include", "//drivers/framework/core/common/include/host", "//drivers/framework/utils/include", @@ -118,7 +116,6 @@ if (defined(ohos_lite)) { "//drivers/framework/include/osal", "//drivers/framework/core/adapter/syscall/include", "//drivers/framework/include/core", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/core/shared/include", "//drivers/framework/core/common/include/host", "//drivers/framework/utils/include", @@ -153,7 +150,6 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//drivers/peripheral/usb/sample/device/liteos/lib/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_framework_path/core/shared/include", "$hdf_framework_path/core/host/include", "$hdf_framework_path/core/master/include", @@ -184,7 +180,6 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//drivers/peripheral/usb/sample/device/liteos/lib/include", - "$hdf_framework_path/ability/sbuf/include", "$hdf_framework_path/core/shared/include", "$hdf_framework_path/core/host/include", "$hdf_framework_path/core/master/include", @@ -224,10 +219,6 @@ if (defined(ohos_lite)) { module_out_path = module_output_path include_dirs = [ "//third_party/googletest/googletest/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", "common", ] sources = [ @@ -235,8 +226,7 @@ if (defined(ohos_lite)) { "./common/usb_utils.cpp", ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] } @@ -286,10 +276,6 @@ if (defined(ohos_lite)) { module_out_path = module_output_path include_dirs = [ "//third_party/googletest/googletest/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", "common", ] sources = [ @@ -297,8 +283,7 @@ if (defined(ohos_lite)) { "./common/usb_utils.cpp", ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] } @@ -307,10 +292,6 @@ if (defined(ohos_lite)) { module_out_path = module_output_path include_dirs = [ "//third_party/googletest/googletest/include", - "$hdf_framework_path/include/config", - "$hdf_framework_path/ability/config/hcs_parser/include", - "$hdf_framework_path/include/utils", - "$hdf_framework_path/utils/include", "common", ] sources = [ @@ -318,8 +299,7 @@ if (defined(ohos_lite)) { "./common/usb_utils.cpp", ] deps = [ - "$hdf_uhdf_path/config:uhdf_hcs_pkg", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//utils/native/base:utils", ] } diff --git a/usb/test/performance/BUILD.gn b/usb/test/performance/BUILD.gn index 4d6e37d5efca4e98329f426fd614e28f7f912731..2d59ef2fc397bba42fef1accea2c8f80feb9180b 100755 --- a/usb/test/performance/BUILD.gn +++ b/usb/test/performance/BUILD.gn @@ -26,13 +26,11 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/framework/test/unittest/include", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", diff --git a/wlan/client/BUILD.gn b/wlan/client/BUILD.gn index 0b7205d4e86648cdcb819cf69fa36e5a90485efe..b200a4882847f5b9e1243bd27515b9535a11a9ec 100755 --- a/wlan/client/BUILD.gn +++ b/wlan/client/BUILD.gn @@ -35,7 +35,6 @@ if (defined(ohos_lite)) { "$FWK_ROOT_DIR/include", "$FWK_ROOT_DIR/include/utils", "$FWK_ROOT_DIR/core/shared/include", - "$FWK_ROOT_DIR/ability/sbuf/include", "$FWK_ROOT_DIR/include/core", "//drivers/adapter/uhdf/posix/include", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", @@ -83,7 +82,7 @@ if (defined(ohos_lite)) { deps = [ "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//utils/native/base:utils", ] diff --git a/wlan/hal/BUILD.gn b/wlan/hal/BUILD.gn index 10e3fb83766c2fd799a8677f552e2a9bf1c7883d..7bad207f585ec01d82685d248e48a06c722d9fb0 100755 --- a/wlan/hal/BUILD.gn +++ b/wlan/hal/BUILD.gn @@ -39,7 +39,6 @@ if (defined(ohos_lite)) { "$FWK_ROOT_DIR/include", "$FWK_ROOT_DIR/include/wifi", "$FWK_ROOT_DIR/include/utils", - "$FWK_ROOT_DIR/ability/sbuf/include", "//drivers/adapter/uhdf/posix/include", "//third_party/bounds_checking_function/include", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", @@ -87,7 +86,7 @@ if (defined(ohos_lite)) { "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", ] deps = [ - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/wlan/client:wifi_driver_client", "//utils/native/base:utils", ] diff --git a/wlan/hdi_service/BUILD.gn b/wlan/hdi_service/BUILD.gn index 54347d405dcebf6014c5fd3d15af6b511801b599..fce21fce02ca3ac29b33718028d2689ba19db8d6 100644 --- a/wlan/hdi_service/BUILD.gn +++ b/wlan/hdi_service/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/ohos.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -45,7 +45,7 @@ ohos_shared_library("wifi_hdi_device") { "$hdf_uhdf_path/hdi:libhdi", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", @@ -100,7 +100,7 @@ ohos_shared_library("wifi_hdi_c_device") { "$hdf_uhdf_path/hdi:libhdi", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", - "//drivers/adapter/uhdf2/osal:libhdf_utils", + "//drivers/adapter/uhdf2/utils:libhdf_utils", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", diff --git a/wlan/test/hdi_service/BUILD.gn b/wlan/test/hdi_service/BUILD.gn index 768578cb4cbb60b38a463bde3810d4bd9172df82..db7bb3c193bc5833b7d5754f086fbdc6f9d31a68 100644 --- a/wlan/test/hdi_service/BUILD.gn +++ b/wlan/test/hdi_service/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//build/test.gni") import("//drivers/adapter/uhdf2/uhdf.gni") @@ -17,7 +17,7 @@ import("//drivers/adapter/uhdf2/uhdf.gni") module_output_path = "hdf/hdi" FWK_ROOT_DIR = "//drivers/framework" -###########################palTest########################### +###########################palTest########################### ohos_unittest("WlanHdiServiceTest") { module_out_path = module_output_path @@ -26,7 +26,7 @@ ohos_unittest("WlanHdiServiceTest") { deps = [ "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", @@ -45,7 +45,6 @@ ohos_unittest("WlanHdiServiceTest") { "//drivers/peripheral/wlan/hal/include", "//drivers/peripheral/wlan/hdi_service/include", "$FWK_ROOT_DIR/core/shared/include", - "$FWK_ROOT_DIR/ability/sbuf/include", "$FWK_ROOT_DIR/include", "$FWK_ROOT_DIR/include/wifi", "$FWK_ROOT_DIR/include/core", @@ -69,7 +68,7 @@ ohos_unittest("WlanHdiServiceTestC") { deps = [ "$hdf_uhdf_path/hdi:libhdi", "$hdf_uhdf_path/ipc:libhdf_ipc_adapter", - "$hdf_uhdf_path/osal:libhdf_utils", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", @@ -88,7 +87,6 @@ ohos_unittest("WlanHdiServiceTestC") { "//drivers/peripheral/wlan/hal/include", "//drivers/peripheral/wlan/hdi_service/include", "$FWK_ROOT_DIR/core/shared/include", - "$FWK_ROOT_DIR/ability/sbuf/include", "$FWK_ROOT_DIR/include", "$FWK_ROOT_DIR/include/wifi", "$FWK_ROOT_DIR/include/core", diff --git a/wlan/test/performance/BUILD.gn b/wlan/test/performance/BUILD.gn index 3fc95ff233a9f4feb87bd13e905194bb93d62379..8082850e86a75254affc7fbf479a405dc1b4e9e0 100644 --- a/wlan/test/performance/BUILD.gn +++ b/wlan/test/performance/BUILD.gn @@ -25,13 +25,11 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/peripheral/wlan/client/include", "//drivers/peripheral/wlan/hal/include", @@ -78,8 +76,8 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", "$hdf_uhdf_path/test/unittest/common:libhdf_test_common", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", "//utils/native/base:utils", diff --git a/wlan/test/unittest/BUILD.gn b/wlan/test/unittest/BUILD.gn index 6150d220ecf4f651606706e199f7a694b9a488f7..0e880b8f40f38fd70e11ca7dd00ff21eb99fcd8c 100644 --- a/wlan/test/unittest/BUILD.gn +++ b/wlan/test/unittest/BUILD.gn @@ -25,13 +25,11 @@ if (defined(ohos_lite)) { include_dirs = [ "//third_party/googletest/googletest/include", "//third_party/bounds_checking_function/include", - "//drivers/framework/ability/sbuf/include", "//drivers/framework/include/platform", "//drivers/framework/include/core", "//drivers/framework/include/osal", "//drivers/adapter/uhdf/posix/include", "//drivers/framework/include/utils", - "//drivers/framework/include/config", "//drivers/framework/include", "//drivers/peripheral/wlan/client/include", "//drivers/peripheral/wlan/hal/include", @@ -96,8 +94,8 @@ if (defined(ohos_lite)) { "-fno-strict-aliasing", ] deps = [ - "$hdf_uhdf_path/osal:libhdf_utils", "$hdf_uhdf_path/test/unittest/common:libhdf_test_common", + "$hdf_uhdf_path/utils:libhdf_utils", "//drivers/peripheral/wlan/client:wifi_driver_client", "//drivers/peripheral/wlan/hal:wifi_hal", "//utils/native/base:utils",