提交 36462442 编写于 作者: Y yangjian

feat: fix build lwip test depend on kernel by enable_ohos_test_xts_acts_use_thirdparty_lwip

Signed-off-by: Nyangjian <jianyang@bestechnic.com>
Change-Id: Iabd6e8b9ad5a8ad7e000454104d2cdebed4f8fa2
上级 23974726
......@@ -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" ]
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册