diff --git a/communication_lite/lwip_hal/BUILD.gn b/communication_lite/lwip_hal/BUILD.gn index 61c2814d9064bb195043853f31e82b2af5d96fa2..26281cd5a781385a6ad33d0c72f3f3a6be437462 100755 --- a/communication_lite/lwip_hal/BUILD.gn +++ b/communication_lite/lwip_hal/BUILD.gn @@ -12,12 +12,18 @@ # limitations under the License. import("//test/xts/tools/lite/build/suite_lite.gni") + +declare_args() { + enable_ohos_test_xts_acts_use_thirdparty_lwip = true +} + hctest_suite("ActsLwipTest") { suite_name = "acts" sources = [ "src/lwip_func_test.c" ] - include_dirs = [ "//kernel/liteos_m/kal" ] - + if (enable_ohos_test_xts_acts_use_thirdparty_lwip) { + deps = [ "//kernel/liteos_m:kernel" ] + } cflags = [ "-Wno-error" ] }