From 76db5b46cb9c9ef661754f371680ae8a0d261615 Mon Sep 17 00:00:00 2001 From: CrazyRong Date: Thu, 8 Aug 2024 20:05:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=A1=86=E6=9E=B6gn=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: CrazyRong --- aw/cxx/distributed/BUILD.gn | 6 +++--- aw/cxx/hwext/BUILD.gn | 17 ++++++----------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/aw/cxx/distributed/BUILD.gn b/aw/cxx/distributed/BUILD.gn index 58fa639..4160197 100644 --- a/aw/cxx/distributed/BUILD.gn +++ b/aw/cxx/distributed/BUILD.gn @@ -15,9 +15,8 @@ import("//build/ohos.gni") config("distributedtest_config") { include_dirs = [ - "//commonlibrary/c_utils/base/include", - ".", "utils/", + ".", ] } @@ -28,15 +27,16 @@ ohos_static_library("distributedtest_lib") { "distributed_cfg.cpp", "distributed_major.cpp", ] - deps = [ "//third_party/googletest:gtest" ] if (is_standard_system) { external_deps = [ "c_utils:utils", + "googletest:gtest", "hilog:libhilog", ] } else { external_deps = [ "c_utils:utils", + "googletest:gtest" "hilog:libhilog", ] } diff --git a/aw/cxx/hwext/BUILD.gn b/aw/cxx/hwext/BUILD.gn index cfef1a3..f99f183 100755 --- a/aw/cxx/hwext/BUILD.gn +++ b/aw/cxx/hwext/BUILD.gn @@ -13,20 +13,15 @@ import("//build/ohos.gni") -config("performance_test_config") { - include_dirs = [ - ".", - "//commonlibrary/c_utils/base/include", - ] -} - ohos_static_library("performance_test_static") { testonly = true sources = [ "perf.cpp" ] - deps = [ "//third_party/googletest:gtest" ] - public_deps = [ "//third_party/libxml2:libxml2" ] - public_configs = [ ":performance_test_config" ] + include_dirs = [ "." ] subsystem_name = "testfwk" part_name = "developer_test" - external_deps = [ "c_utils:utils" ] + external_deps = [ + "c_utils:utils", + "googletest:gtest", + "libxml2:libxml2", + ] } -- Gitee