# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/test.gni") import("../../../test_template.gni") import("test_src_functionalext_backtrace.gni") group("functionalext_backtrace_test") { testonly = true deps = [] foreach(s, functionalext_backtrace_test) { deps += [ ":${s}" ] } } ohos_executable("unittest_backtrace") { subsystem_name = "musl" part_name = "libc-test" sources = [ "unittest_backtrace.c" ] include_dirs = [ "../common", "//third_party/musl/porting/linux/user/include", "//third_party/musl/libc-test/src/common", "//third_party/FreeBSD/contrib/libexecinfo", "//third_party/FreeBSD/sys", ] configs = [ "//third_party/musl/libc-test/src/common:config_runtest" ] }