diff --git a/ts2panda/BUILD.gn b/ts2panda/BUILD.gn index 7ea0c340d27d25cac373b70e329423649af2c773..a0e6a24788bb9a72a16dd41df84e175bc628ad2e 100755 --- a/ts2panda/BUILD.gn +++ b/ts2panda/BUILD.gn @@ -243,24 +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" ] - # } -} - -# Workaround for dev brach. Should be about to remove shortly -group("src_linux") { -} -group("src_win") { -} -group("src_mac") { -} -group("ts2abc_linux") { -} -group("ts2abc_win") { -} -group("ts2abc_mac") { + if (host_os == "linux") { + testonly = true + deps = [ "tests:ts2abc_tests(${buildtool_linux})" ] + } } diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index bb00179e703c017018b84b002f7ab8e7218e0a69..ab44c2179fae40de82345e62a8cd1bc1a3d25cd8 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -53,7 +53,11 @@ ohos_executable("ts2abc") { configs = [ ":ts2abc_config" ] - cflags = [ "-Wno-c++20-designator" ] + cflags = [ + "-Wno-c++20-designator", + "-Wno-c99-dextensions", + "-Wno-unkonwn-warning-option", + ] deps = [ sdk_libc_secshared_dep ]