diff --git a/bundle.json b/bundle.json index caa571e4a9fe25337dde8f2d4f673d437689ec71..9236f849fb450aacfa893b9297b130dcef7b0a42 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 c2cfecc81b05c8343ef48b217ce5144bf6b5bc89..668ac7ded2f1467ea3f9c6cee20268b6d330922e 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", ] }