From 2ff21a48fb7094133d12f28ec9267b8fe7081cc7 Mon Sep 17 00:00:00 2001 From: zhuoli Date: Tue, 15 Mar 2022 10:00:25 +0800 Subject: [PATCH] Fix sdk compilation for mac caused by ut Signed-off-by: zhuoli Change-Id: Ie0df089b33af3d7aa5e0982466da6fe4fb1b2704 --- ts2panda/BUILD.gn | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ts2panda/BUILD.gn b/ts2panda/BUILD.gn index 954e903051e..a0e6a24788b 100755 --- a/ts2panda/BUILD.gn +++ b/ts2panda/BUILD.gn @@ -243,10 +243,8 @@ ohos_copy("copy_ts2abc_tests") { } group("ts2abc_unittests") { - testonly = true - deps = [ "tests:ts2abc_tests(${buildtool_linux})" ] - - # if (host_os == "linux") { - # deps += [ "${ts2abc_root}/ts2abc/tests:unittest" ] - # } + if (host_os == "linux") { + testonly = true + deps = [ "tests:ts2abc_tests(${buildtool_linux})" ] + } } -- Gitee