diff --git a/bundle.json b/bundle.json index 550377790e8a2cca671199217f14a56582a41011..f940ed2ba3542122cafdb9745c2089d9a3673a86 100644 --- a/bundle.json +++ b/bundle.json @@ -46,7 +46,6 @@ "init", "bounds_checking_function", "FreeBSD", - "faultloggerd", "cJSON", "optimized_routines" ], diff --git a/libc-test/src/functionalext/adlt/BUILD.gn b/libc-test/src/functionalext/adlt/BUILD.gn index 4e57de6cb14c4b0304f56330dccbe3cc73167bd3..1c6966215c43a2862f12178487d619f4c470c87a 100644 --- a/libc-test/src/functionalext/adlt/BUILD.gn +++ b/libc-test/src/functionalext/adlt/BUILD.gn @@ -13,7 +13,10 @@ import("//build/test.gni") import("../../../test_template.gni") import("test_src_functionalext_adlt.gni") + +if (defined(musl_use_adlt) && musl_use_adlt == true) { import("adlt_common.gni") +} foreach(s, functionalext_adlt_test) { test_unittest(s) { @@ -21,13 +24,6 @@ foreach(s, functionalext_adlt_test) { } } -action("adlt_build_syms") { - testonly = true - script = "//third_party/musl/libc-test/src/functionalext/adlt/adlt_tools.py" - args = [ "build_sym_script", "--lib-dir", rebase_path(adlt_lib_dir, ""), "--target-lib-dir", adlt_target_lib_dir ] - outputs = [ "$adlt_lib_dir/adlt_build_syms.sh" ] -} - group("functionalext_adlt_test") { testonly = true deps = [] @@ -39,17 +35,26 @@ group("functionalext_adlt_test") { } } -ohos_static_library("adlt_common") { - testonly = true - subsystem_name = "thirdparty" - part_name = "musl" +if (defined(musl_use_adlt) && musl_use_adlt == true) { + action("adlt_build_syms") { + testonly = true + script = "//third_party/musl/libc-test/src/functionalext/adlt/adlt_tools.py" + args = [ "build_sym_script", "--lib-dir", rebase_path(adlt_lib_dir, ""), "--target-lib-dir", adlt_target_lib_dir ] + outputs = [ "$adlt_lib_dir/adlt_build_syms.sh" ] + } - include_dirs = [ - "//third_party/musl/libc-test/src/functionalext/common", - "//third_party/musl/porting/linux/user/include", - "//third_party/musl/libc-test/src/common", - "common" - ] - configs = [ "//third_party/musl/libc-test/src/common:config_runtest" ] - sources = [ "common/adlt_common.cpp" ] + ohos_static_library("adlt_common") { + testonly = true + subsystem_name = "thirdparty" + part_name = "musl" + + include_dirs = [ + "//third_party/musl/libc-test/src/functionalext/common", + "//third_party/musl/porting/linux/user/include", + "//third_party/musl/libc-test/src/common", + "common" + ] + configs = [ "//third_party/musl/libc-test/src/common:config_runtest" ] + sources = [ "common/adlt_common.cpp" ] + } } \ No newline at end of file