diff --git a/communication_lite/lwip_posix/BUILD.gn b/communication_lite/lwip_posix/BUILD.gn index 5d2b961a5b5977ed16b1a86f9421444cfc8fea36..b2cdd09419168e6a6e7e0773d8bcc6596659addf 100755 --- a/communication_lite/lwip_posix/BUILD.gn +++ b/communication_lite/lwip_posix/BUILD.gn @@ -22,7 +22,7 @@ hcpptest_suite("ActsLwipTest") { "restrict=", ] - deps = [ "//base/security/huks/frameworks/huks_lite/source:huks" ] + deps = ["//third_party/bounds_checking_function:libsec_shared" ] cflags = [ "-Wno-error" ] } diff --git a/communication_lite/lwip_posix/src/ActsLwipTest.cpp b/communication_lite/lwip_posix/src/ActsLwipTest.cpp index f31181d7e25ea2f8226f6aa62e6552fef6fc77fd..288deb26a6122972164a3e5c495af3cd14ffda5c 100755 --- a/communication_lite/lwip_posix/src/ActsLwipTest.cpp +++ b/communication_lite/lwip_posix/src/ActsLwipTest.cpp @@ -17,11 +17,11 @@ #include "sys/socket.h" #include "arpa/inet.h" #include "netinet/tcp.h" -#include "securec.h" #include #include #include #include +#include "securec.h" using namespace std; using namespace testing::ext; diff --git a/communication_lite/softbus_posix/BUILD.gn b/communication_lite/softbus_posix/BUILD.gn index 1c546b032d62b4c2eb93613ef89575a750df8b68..f8d7bc690641873be4305573a3b979f59d93c63b 100755 --- a/communication_lite/softbus_posix/BUILD.gn +++ b/communication_lite/softbus_posix/BUILD.gn @@ -33,7 +33,7 @@ hcpptest_suite("ActsSoftBusTest") { "//third_party/bounds_checking_function/include", "//base/startup/syspara_lite/interfaces/kits/include", "//base/security/deviceauth/interfaces/innerkits/deviceauth_lite", - "//base/security/deviceauth/frameworks/deviceauth_lite/source/huks_adapter/", + "//third_party/bounds_checking_function:libsec_shared", ] defines = [ "_GNU_SOURCE" ] diff --git a/communication_lite/softbus_posix/src/ActsSoftBusTest.cpp b/communication_lite/softbus_posix/src/ActsSoftBusTest.cpp index d808978243f85d6d1a8410ceec3f20986a4413d3..2a6c1008988e638ec25846050d2591542814c593 100755 --- a/communication_lite/softbus_posix/src/ActsSoftBusTest.cpp +++ b/communication_lite/softbus_posix/src/ActsSoftBusTest.cpp @@ -16,10 +16,10 @@ #include "gtest/gtest.h" #include "discovery_service.h" #include "session.h" -#include "securec.h" #include #include #include +#include "securec.h" using namespace std; using namespace testing::ext;