From d1664c5a2fc48816e2a107db9e6809e1d70b36d9 Mon Sep 17 00:00:00 2001 From: xingyuanfeng Date: Thu, 6 Jun 2024 10:01:09 +0800 Subject: [PATCH] =?UTF-8?q?syscap=5Fcodec=E6=B8=85=E7=90=86test=E5=91=8A?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xingyuanfeng --- bundle.json | 3 ++- test/unittest/common/BUILD.gn | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bundle.json b/bundle.json index caa571e..9236f84 100644 --- a/bundle.json +++ b/bundle.json @@ -27,7 +27,8 @@ "components": [ "napi", "bounds_checking_function", - "cJSON" + "cJSON", + "googletest" ], "third_party": [] }, diff --git a/test/unittest/common/BUILD.gn b/test/unittest/common/BUILD.gn index c2cfecc..668ac7d 100644 --- a/test/unittest/common/BUILD.gn +++ b/test/unittest/common/BUILD.gn @@ -85,10 +85,10 @@ if (defined(ohos_lite)) { "syscap_codec_test.cpp", ] - deps = [ - "//third_party/bounds_checking_function:libsec_static", - "//third_party/cJSON:cjson_static", - "//third_party/googletest:gtest_main", + external_deps = [ + "bounds_checking_function:libsec_static", + "cJSON:cjson_static", + "googletest:gtest_main", ] } -- Gitee