switch path deps on utils to commonlibrary

Signed-off-by: lijiahao <lijiahao36@huawei.com>
This commit is contained in:
lijiahao 2022-09-21 17:29:45 +08:00
parent a4da9559f4
commit 0db77823d7
14 changed files with 22 additions and 30 deletions

View File

@ -70,7 +70,7 @@ ohos_moduletest_suite("HatsHdfCameraTest") {
"//base/hiviewdfx/interfaces/innerkits/libhilog/include",
#producer
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include",
"$camera_path/pipeline_core/utils",
"$camera_path/pipeline_core/include",

View File

@ -32,10 +32,10 @@ ohos_moduletest_suite("HatsHdfAdapterCodecTest") {
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hdf_core:libhdi",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]

View File

@ -34,8 +34,8 @@ ohos_static_library("disp_hdi_test_common") {
]
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
@ -63,9 +63,9 @@ ohos_moduletest_suite("HatsHdfDisplayDeviceTest") {
".",
]
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
cflags = [ "-Wno-unused-function" ]
}

View File

@ -33,8 +33,8 @@ ohos_moduletest_suite("HatsHdfDisplayGrallocTest") {
"//foundation/graphic/standard/utils/include",
]
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"utils_base:utils",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"

View File

@ -41,9 +41,9 @@ ohos_moduletest_suite("HatsHdfWifiHdiTest") {
]
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]
@ -79,9 +79,9 @@ ohos_moduletest_suite("HatsHdfWifiHdistartandstopTest") {
]
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]
@ -117,9 +117,9 @@ ohos_moduletest_suite("HatsHdfWificlientTest") {
]
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]
@ -161,9 +161,9 @@ ohos_moduletest_suite("HatsHdfWificommonTest") {
]
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]

View File

@ -45,9 +45,9 @@ ohos_moduletest_suite("HatsHdfWlanbenchmarkTest") {
]
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]

View File

@ -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_var.gni")
import("//test/xts/tools/build/suite.gni")

View File

@ -28,15 +28,12 @@ ohos_moduletest_suite("HatsStartupPartitionSlotTest") {
"./include",
"//drivers/peripheral/partitionslot/hal/src",
"//third_party/googletest/googletest/include/gtest",
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
]
sources = [ "./src/partitionslot_test.cpp" ]
deps = [
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
deps = [ "//third_party/googletest:gtest_main" ]
external_deps = [
"c_utils:utils",

View File

@ -37,11 +37,11 @@ ohos_moduletest_suite("HatsHdfV1RilServiceTest") {
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"drivers_interface_ril:libril_proxy_1.0",
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_single",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]

View File

@ -17,7 +17,6 @@ ohos_source_set("useriam_test_common") {
testonly = true
sources = [ "src/iam_hat_test.cpp" ]
include_dirs = [ "./include" ]
deps = [ "//utils/native/base:utils" ]
external_deps = [
"c_utils:utils",

View File

@ -33,7 +33,7 @@ ohos_moduletest_suite("HatsUserIamFaceAuthTest") {
"//base/useriam/user_auth_framework/common",
"//base/useriam/user_auth_framework/common/logs",
"//third_party/googletest/googletest/include/gtest",
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
]
sources = [
@ -47,14 +47,13 @@ ohos_moduletest_suite("HatsUserIamFaceAuthTest") {
"//drivers/hdf_core/adapter/uhdf2/model/camera/sequenceable/buffer_producer:libbuffer_producer_sequenceable_1.0",
"//drivers/peripheral/face_auth/hdi_service:libface_auth_interface_service_1.0",
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
external_deps = [
"c_utils:utils",
"drivers_interface_face_auth:face_auth_idl_headers",
"graphic_standard:surface",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"utils_base:utils",
]
}

View File

@ -33,7 +33,7 @@ ohos_moduletest_suite("HatsUserIamFingerprintAuthTest") {
"//base/useriam/user_auth_framework/common",
"//base/useriam/user_auth_framework/common/logs",
"//third_party/googletest/googletest/include/gtest",
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
]
sources = [
@ -46,13 +46,12 @@ ohos_moduletest_suite("HatsUserIamFingerprintAuthTest") {
"//base/useriam/user_auth_framework/common:iam_test",
"//drivers/peripheral/fingerprint_auth/hdi_service:libfingerprint_auth_interface_service_1.0",
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
external_deps = [
"c_utils:utils",
"drivers_interface_fingerprint_auth:fingerprint_auth_idl_headers",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"utils_base:utils",
]
}

View File

@ -33,7 +33,7 @@ ohos_moduletest_suite("HatsUserIamPinAuthTest") {
"//base/useriam/user_auth_framework/common",
"//base/useriam/user_auth_framework/common/logs",
"//third_party/googletest/googletest/include/gtest",
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
]
sources = [
@ -46,13 +46,12 @@ ohos_moduletest_suite("HatsUserIamPinAuthTest") {
"//base/useriam/user_auth_framework/common:iam_test",
"//drivers/peripheral/pin_auth/hdi_service:libpin_auth_interface_service_1.0",
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
external_deps = [
"c_utils:utils",
"drivers_interface_pin_auth:pin_auth_idl_headers",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"utils_base:utils",
]
}

View File

@ -31,7 +31,7 @@ ohos_moduletest_suite("HatsUserIamUserAuthTest") {
"//base/useriam/user_auth_framework/common",
"//base/useriam/user_auth_framework/common/logs",
"//third_party/googletest/googletest/include/gtest",
"//utils/native/base/include",
"//commonlibrary/c_utils/base/include",
]
sources = [
@ -44,13 +44,12 @@ ohos_moduletest_suite("HatsUserIamUserAuthTest") {
"//base/useriam/user_auth_framework/common:iam_test",
"//drivers/peripheral/user_auth/hdi_service:libuser_auth_interface_service_1.0",
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
external_deps = [
"c_utils:utils",
"drivers_interface_user_auth:user_auth_idl_headers",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"utils_base:utils",
]
}