1570af302Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
2570af302Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3570af302Sopenharmony_ci# you may not use this file except in compliance with the License.
4570af302Sopenharmony_ci# You may obtain a copy of the License at
5570af302Sopenharmony_ci#
6570af302Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7570af302Sopenharmony_ci#
8570af302Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9570af302Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10570af302Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11570af302Sopenharmony_ci# See the License for the specific language governing permissions and
12570af302Sopenharmony_ci# limitations under the License.
13570af302Sopenharmony_ci
14570af302Sopenharmony_ciimport("../../../test_template.gni")
15570af302Sopenharmony_ciimport("test_src_functionalext_supplement.gni")
16570af302Sopenharmony_ci
17570af302Sopenharmony_cigroup("functionalext_supplement_test") {
18570af302Sopenharmony_ci  testonly = true
19570af302Sopenharmony_ci  deps = []
20570af302Sopenharmony_ci
21570af302Sopenharmony_ci  foreach(s, functionalext_supplement_list) {
22570af302Sopenharmony_ci    deps += [ "${s}" ]
23570af302Sopenharmony_ci  }
24570af302Sopenharmony_ci}
25570af302Sopenharmony_ci
26570af302Sopenharmony_ciconfig("module_private_config") {
27570af302Sopenharmony_ci  visibility = [ ":*" ]
28570af302Sopenharmony_ci}
29570af302Sopenharmony_ci
30570af302Sopenharmony_ciohos_executable("musl_unittest") {
31570af302Sopenharmony_ci  testonly = true
32570af302Sopenharmony_ci  subsystem_name = "musl"
33570af302Sopenharmony_ci  part_name = "libc-gtest"
34570af302Sopenharmony_ci
35570af302Sopenharmony_ci  sources = [
36570af302Sopenharmony_ci    "conf/conf_gtest/conf_confstr_test.cpp",
37570af302Sopenharmony_ci    "conf/conf_gtest/conf_get_nprocs_test.cpp",
38570af302Sopenharmony_ci    "conf/conf_gtest/conf_get_npros_conf_test.cpp",
39570af302Sopenharmony_ci    "conf/conf_gtest/conf_sysconf_test.cpp",
40570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_isalnum_test.cpp",
41570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_isspace_test.cpp",
42570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_isupper_l_test.cpp",
43570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_tolower_l_test.cpp",
44570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_tolower_test.cpp",
45570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_toupper_l_test.cpp",
46570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_toupper_test.cpp",
47570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_towctrans_l_test.cpp",
48570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_towupper_l_test.cpp",
49570af302Sopenharmony_ci    "ctype/ctype_gtest/ctype_towupper_test.cpp",
50570af302Sopenharmony_ci    "dirent/dirent_gtest/dirent_alphasort64_test.cpp",
51570af302Sopenharmony_ci    "dirent/dirent_gtest/dirent_closedir_test.cpp",
52570af302Sopenharmony_ci    "dirent/dirent_gtest/dirent_opendir_test.cpp",
53570af302Sopenharmony_ci    "dirent/dirent_gtest/dirent_readdir64_test.cpp",
54570af302Sopenharmony_ci    "dirent/dirent_gtest/dirent_scandir_test.cpp",
55570af302Sopenharmony_ci    "env/env_gtest/env_getenv_test.cpp",
56570af302Sopenharmony_ci    "exit/exit_gtest/exit_abort_test.cpp",
57570af302Sopenharmony_ci    "exit/exit_gtest/exit_assert_fail_test.cpp",
58570af302Sopenharmony_ci    "exit/exit_gtest/exit_cxa_atexit_test.cpp",
59570af302Sopenharmony_ci    "exit/exit_gtest/exit_quick_exit_test.cpp",
60570af302Sopenharmony_ci    "fcntl/fcntl_gtest/fcntl_fcntl_test.cpp",
61570af302Sopenharmony_ci    "fcntl/fcntl_gtest/fcntl_open64_test.cpp",
62570af302Sopenharmony_ci    "fcntl/fcntl_gtest/fcntl_posix_fadvise64_test.cpp",
63570af302Sopenharmony_ci    "fcntl/fcntl_gtest/fcntl_posix_fallocate64_test.cpp",
64570af302Sopenharmony_ci    "fenv/fenv_gtest/fenv_fegetround_test.cpp",
65570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_fgets_chk_test.cpp",
66570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_fwrite_chk_test.cpp",
67570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_memchr_chk_test.cpp",
68570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_memcpy_chk_test.cpp",
69570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_mempcpy_chk_test.cpp",
70570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_memrchr_chk_test.cpp",
71570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_open64_chk_test.cpp",
72570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_open_chk_test.cpp",
73570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_openat64_chk_test.cpp",
74570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_openat_chk_test.cpp",
75570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_poll_chk_test.cpp",
76570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_ppoll_chk_test.cpp",
77570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_pread_chk_test.cpp",
78570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_pwrite_chk_test.cpp",
79570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_read_chk_test.cpp",
80570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_readlinkat_chk_test.cpp",
81570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_recv_chk_test.cpp",
82570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_sendto_chk_test.cpp",
83570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_snprintf_chk_test.cpp",
84570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_sprintf_chk_test.cpp",
85570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_stpcpy_chk_test.cpp",
86570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strcat_chk_test.cpp",
87570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strchr_chk_test.cpp",
88570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strcpy_chk_test.cpp",
89570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strlcat_chk_test.cpp",
90570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strlcpy_chk_test.cpp",
91570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strlen_chk_test.cpp",
92570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strncpy_chk_test.cpp",
93570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_strrchr_chk_test.cpp",
94570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_umask_chk_test.cpp",
95570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_vsnprintf_chk_test.cpp",
96570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_vsprintf_chk_test.cpp",
97570af302Sopenharmony_ci    "fortify/fortify_gtest/fortify_write_chk_test.cpp",
98570af302Sopenharmony_ci    "hook/hook_gtest/hook_memtrace_test.cpp",
99570af302Sopenharmony_ci    "hook/hook_gtest/hook_munmap_test.cpp",
100570af302Sopenharmony_ci    "hook/hook_gtest/hook_realloc_test.cpp",
101570af302Sopenharmony_ci    "legacy/legacy_gtest/legacy_endutent_test.cpp",
102570af302Sopenharmony_ci    "legacy/legacy_gtest/legacy_getutent_test.cpp",
103570af302Sopenharmony_ci    "legacy/legacy_gtest/legacy_utmpname_test.cpp",
104570af302Sopenharmony_ci    "linux/linux_gtest/linux_delete_module_test.cpp",
105570af302Sopenharmony_ci    "linux/linux_gtest/linux_init_module_test.cpp",
106570af302Sopenharmony_ci    "linux/linux_gtest/linux_pivot_root_test.cpp",
107570af302Sopenharmony_ci    "linux/linux_gtest/linux_umount2_test.cpp",
108570af302Sopenharmony_ci    "linux/linux_gtest/linux_unshare_test.cpp",
109570af302Sopenharmony_ci    "locale/locale_gtest/locale_catopen_test.cpp",
110570af302Sopenharmony_ci    "locale/locale_gtest/locale_duplocale_test.cpp",
111570af302Sopenharmony_ci
112570af302Sopenharmony_ci    # ldso unittest
113570af302Sopenharmony_ci    "ldso/ldso_gtest/cxa_thread_atexit_test.cpp",
114570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_cfi_test.cpp",
115570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dl_iterate_phdr_test.cpp",
116570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dladdr_test.cpp",
117570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlclose_test.cpp",
118570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlerror_test.cpp",
119570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlns_create_test.cpp",
120570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlns_inherit_test.cpp",
121570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlopen_ext_test.cpp",
122570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlopen_ns_test.cpp",
123570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlopen_test.cpp",
124570af302Sopenharmony_ci    "ldso/ldso_gtest/ldso_dlsym_test.cpp",
125570af302Sopenharmony_ci    "legacy/legacy_gtest/legacy_getpagesize_test.cpp",
126570af302Sopenharmony_ci    "linux/linux_gtest/linux_epoll_create1_test.cpp",
127570af302Sopenharmony_ci    "linux/linux_gtest/linux_epoll_create_test.cpp",
128570af302Sopenharmony_ci    "linux/linux_gtest/linux_epoll_ctl_test.cpp",
129570af302Sopenharmony_ci    "linux/linux_gtest/linux_epoll_wait_test.cpp",
130570af302Sopenharmony_ci    "linux/linux_gtest/linux_eventfd_test.cpp",
131570af302Sopenharmony_ci    "linux/linux_gtest/linux_getrandom_test.cpp",
132570af302Sopenharmony_ci    "linux/linux_gtest/linux_gettid_test.cpp",
133570af302Sopenharmony_ci    "linux/linux_gtest/linux_getxattr_test.cpp",
134570af302Sopenharmony_ci    "linux/linux_gtest/linux_inotify_add_watch_test.cpp",
135570af302Sopenharmony_ci    "linux/linux_gtest/linux_inotify_init_test.cpp",
136570af302Sopenharmony_ci    "linux/linux_gtest/linux_prctl_test.cpp",
137570af302Sopenharmony_ci    "linux/linux_gtest/linux_setxattr_test.cpp",
138570af302Sopenharmony_ci    "linux/linux_gtest/linux_timerfd_create_test.cpp",
139570af302Sopenharmony_ci    "linux/linux_gtest/linux_timerfd_settime_test.cpp",
140570af302Sopenharmony_ci    "locale/locale_gtest/locale_localeconv_test.cpp",
141570af302Sopenharmony_ci    "locale/locale_gtest/locale_newlocale_test.cpp",
142570af302Sopenharmony_ci    "locale/locale_gtest/locale_nl_langinfo_l_test.cpp",
143570af302Sopenharmony_ci    "locale/locale_gtest/locale_strtof_l_test.cpp",
144570af302Sopenharmony_ci    "locale/locale_gtest/locale_uselocale_test.cpp",
145570af302Sopenharmony_ci    "malloc/malloc_gtest/malloc_calloc_test.cpp",
146570af302Sopenharmony_ci    "malloc/malloc_gtest/malloc_free_test.cpp",
147570af302Sopenharmony_ci    "malloc/malloc_gtest/malloc_malloc_test.cpp",
148570af302Sopenharmony_ci    "malloc/malloc_gtest/malloc_malloc_usable_size_test.cpp",
149570af302Sopenharmony_ci
150570af302Sopenharmony_ci    # math unittest
151570af302Sopenharmony_ci    "math/math_gtest/complex_test.cpp",
152570af302Sopenharmony_ci    "math/math_gtest/math_acos_test.cpp",
153570af302Sopenharmony_ci    "math/math_gtest/math_acosh_test.cpp",
154570af302Sopenharmony_ci    "math/math_gtest/math_asin_test.cpp",
155570af302Sopenharmony_ci    "math/math_gtest/math_asinh_test.cpp",
156570af302Sopenharmony_ci    "math/math_gtest/math_atan2_test.cpp",
157570af302Sopenharmony_ci    "math/math_gtest/math_atan_test.cpp",
158570af302Sopenharmony_ci    "math/math_gtest/math_atanh_test.cpp",
159570af302Sopenharmony_ci    "math/math_gtest/math_cbrt_test.cpp",
160570af302Sopenharmony_ci    "math/math_gtest/math_ceil_test.cpp",
161570af302Sopenharmony_ci    "math/math_gtest/math_copysign_test.cpp",
162570af302Sopenharmony_ci    "math/math_gtest/math_cos_test.cpp",
163570af302Sopenharmony_ci    "math/math_gtest/math_cosh_test.cpp",
164570af302Sopenharmony_ci    "math/math_gtest/math_data_test.cpp",
165570af302Sopenharmony_ci    "math/math_gtest/math_drem_test.cpp",
166570af302Sopenharmony_ci    "math/math_gtest/math_erf_test.cpp",
167570af302Sopenharmony_ci    "math/math_gtest/math_erfc_test.cpp",
168570af302Sopenharmony_ci    "math/math_gtest/math_exp2_test.cpp",
169570af302Sopenharmony_ci    "math/math_gtest/math_exp_test.cpp",
170570af302Sopenharmony_ci    "math/math_gtest/math_expm1_test.cpp",
171570af302Sopenharmony_ci    "math/math_gtest/math_fabs_test.cpp",
172570af302Sopenharmony_ci    "math/math_gtest/math_fdim_test.cpp",
173570af302Sopenharmony_ci    "math/math_gtest/math_finite_test.cpp",
174570af302Sopenharmony_ci    "math/math_gtest/math_floor_test.cpp",
175570af302Sopenharmony_ci    "math/math_gtest/math_fma_test.cpp",
176570af302Sopenharmony_ci    "math/math_gtest/math_fmax_test.cpp",
177570af302Sopenharmony_ci    "math/math_gtest/math_fmin_test.cpp",
178570af302Sopenharmony_ci    "math/math_gtest/math_fmod_test.cpp",
179570af302Sopenharmony_ci    "math/math_gtest/math_frexp_test.cpp",
180570af302Sopenharmony_ci    "math/math_gtest/math_hypot_test.cpp",
181570af302Sopenharmony_ci    "math/math_gtest/math_ilogb_test.cpp",
182570af302Sopenharmony_ci    "math/math_gtest/math_j0_test.cpp",
183570af302Sopenharmony_ci    "math/math_gtest/math_j1_test.cpp",
184570af302Sopenharmony_ci    "math/math_gtest/math_jn_test.cpp",
185570af302Sopenharmony_ci    "math/math_gtest/math_ldexp_test.cpp",
186570af302Sopenharmony_ci    "math/math_gtest/math_lgamma_r_test.cpp",
187570af302Sopenharmony_ci    "math/math_gtest/math_lgamma_test.cpp",
188570af302Sopenharmony_ci    "math/math_gtest/math_llrint_test.cpp",
189570af302Sopenharmony_ci    "math/math_gtest/math_log10_test.cpp",
190570af302Sopenharmony_ci    "math/math_gtest/math_log1p_test.cpp",
191570af302Sopenharmony_ci    "math/math_gtest/math_log2_test.cpp",
192570af302Sopenharmony_ci    "math/math_gtest/math_log_test.cpp",
193570af302Sopenharmony_ci    "math/math_gtest/math_logb_test.cpp",
194570af302Sopenharmony_ci    "math/math_gtest/math_lrint_test.cpp",
195570af302Sopenharmony_ci    "math/math_gtest/math_modf_test.cpp",
196570af302Sopenharmony_ci    "math/math_gtest/math_nearbyint_test.cpp",
197570af302Sopenharmony_ci    "math/math_gtest/math_nextafter_test.cpp",
198570af302Sopenharmony_ci    "math/math_gtest/math_nexttoward_test.cpp",
199570af302Sopenharmony_ci    "math/math_gtest/math_pow_test.cpp",
200570af302Sopenharmony_ci    "math/math_gtest/math_remainder_test.cpp",
201570af302Sopenharmony_ci    "math/math_gtest/math_remquo_test.cpp",
202570af302Sopenharmony_ci    "math/math_gtest/math_rint_test.cpp",
203570af302Sopenharmony_ci    "math/math_gtest/math_round_test.cpp",
204570af302Sopenharmony_ci    "math/math_gtest/math_scalb_test.cpp",
205570af302Sopenharmony_ci    "math/math_gtest/math_scalbn_test.cpp",
206570af302Sopenharmony_ci    "math/math_gtest/math_signbit_test.cpp",
207570af302Sopenharmony_ci    "math/math_gtest/math_significand_test.cpp",
208570af302Sopenharmony_ci    "math/math_gtest/math_sin_test.cpp",
209570af302Sopenharmony_ci    "math/math_gtest/math_sincos_test.cpp",
210570af302Sopenharmony_ci    "math/math_gtest/math_sinh_test.cpp",
211570af302Sopenharmony_ci    "math/math_gtest/math_sqrt_test.cpp",
212570af302Sopenharmony_ci    "math/math_gtest/math_tan_test.cpp",
213570af302Sopenharmony_ci    "math/math_gtest/math_tanh_test.cpp",
214570af302Sopenharmony_ci    "math/math_gtest/math_tgamma_test.cpp",
215570af302Sopenharmony_ci    "math/math_gtest/math_trunc_test.cpp",
216570af302Sopenharmony_ci    "math/math_gtest/math_y0_test.cpp",
217570af302Sopenharmony_ci    "math/math_gtest/math_y1_test.cpp",
218570af302Sopenharmony_ci    "math/math_gtest/math_yn_test.cpp",
219570af302Sopenharmony_ci    "misc/misc_gtest/misc_basename_test.cpp",
220570af302Sopenharmony_ci    "misc/misc_gtest/misc_closelog_test.cpp",
221570af302Sopenharmony_ci    "misc/misc_gtest/misc_dirname_test.cpp",
222570af302Sopenharmony_ci    "misc/misc_gtest/misc_getentropy_test.cpp",
223570af302Sopenharmony_ci    "misc/misc_gtest/misc_getpriority_test.cpp",
224570af302Sopenharmony_ci    "misc/misc_gtest/misc_getrlimit64_test.cpp",
225570af302Sopenharmony_ci    "misc/misc_gtest/misc_ioctl_test.cpp",
226570af302Sopenharmony_ci    "misc/misc_gtest/misc_nftw64_test.cpp",
227570af302Sopenharmony_ci    "misc/misc_gtest/misc_realpath_test.cpp",
228570af302Sopenharmony_ci    "misc/misc_gtest/misc_setpriority_test.cpp",
229570af302Sopenharmony_ci    "misc/misc_gtest/misc_syscall_test.cpp",
230570af302Sopenharmony_ci    "misc/misc_gtest/misc_uname_test.cpp",
231570af302Sopenharmony_ci    "mman/mman_gtest/mman_madvise_test.cpp",
232570af302Sopenharmony_ci    "mman/mman_gtest/mman_mmap_test.cpp",
233570af302Sopenharmony_ci    "mman/mman_gtest/mman_mprotect_test.cpp",
234570af302Sopenharmony_ci    "mman/mman_gtest/mman_msync_test.cpp",
235570af302Sopenharmony_ci    "multibyte/multibyte_gtest/multibyte_mbrtowc_test.cpp",
236570af302Sopenharmony_ci    "network/network_gtest/arpa_inet_test.cpp",
237570af302Sopenharmony_ci    "network/network_gtest/endian_test.cpp",
238570af302Sopenharmony_ci    "network/network_gtest/fortify_test.cpp",
239570af302Sopenharmony_ci    "network/network_gtest/net_if_test.cpp",
240570af302Sopenharmony_ci    "network/network_gtest/netdb_test.cpp",
241570af302Sopenharmony_ci    "network/network_gtest/netinet_ether_test.cpp",
242570af302Sopenharmony_ci    "network/network_gtest/network_herror_test.cpp",
243570af302Sopenharmony_ci    "network/network_gtest/network_res_search_test.cpp",
244570af302Sopenharmony_ci    "network/network_gtest/resolv_test.cpp",
245570af302Sopenharmony_ci    "network/network_gtest/socket_test.cpp",
246570af302Sopenharmony_ci    "passwd/passwd_gtest/passwd_endgrent_test.cpp",
247570af302Sopenharmony_ci    "prng/prng_gtest/prng_rand_r_test.cpp",
248570af302Sopenharmony_ci    "prng/prng_gtest/prng_rand_test.cpp",
249570af302Sopenharmony_ci    "process/process_gtest/process_unsetenv_test.cpp",
250570af302Sopenharmony_ci    "regex/regex_gtest/regex_fnmatch_test.cpp",
251570af302Sopenharmony_ci    "search/search_gtest/search_tdelete_test.cpp",
252570af302Sopenharmony_ci    "search/search_gtest/search_tfind_test.cpp",
253570af302Sopenharmony_ci    "select/select_gtest/select_poll_test.cpp",
254570af302Sopenharmony_ci    "setjmp/setjmp_gtest/setjmp_setjmp_test.cpp",
255570af302Sopenharmony_ci    "sigchain/sigchain_gtest/sigchain_add_special_signal_handler_test.cpp",
256570af302Sopenharmony_ci    "signal/signal_gtest/signal_sigaddset_test.cpp",
257570af302Sopenharmony_ci    "signal/signal_gtest/signal_sigemptyset_test.cpp",
258570af302Sopenharmony_ci    "signal/signal_gtest/signal_sigtimedwait_test.cpp",
259570af302Sopenharmony_ci    "signal/signal_gtest/signal_sysv_signal_test.cpp",
260570af302Sopenharmony_ci    "stat/stat_gtest/stat_chmod_test.cpp",
261570af302Sopenharmony_ci    "stat/stat_gtest/stat_fstat64_test.cpp",
262570af302Sopenharmony_ci    "stat/stat_gtest/stat_fstat_test.cpp",
263570af302Sopenharmony_ci    "stat/stat_gtest/stat_fstatat64_test.cpp",
264570af302Sopenharmony_ci    "stat/stat_gtest/stat_fstatat_test.cpp",
265570af302Sopenharmony_ci    "stat/stat_gtest/stat_fstatfs64_test.cpp",
266570af302Sopenharmony_ci    "stat/stat_gtest/stat_lstat_test.cpp",
267570af302Sopenharmony_ci    "stat/stat_gtest/stat_mkdir_test.cpp",
268570af302Sopenharmony_ci    "stat/stat_gtest/stat_stat_test.cpp",
269570af302Sopenharmony_ci    "stat/stat_gtest/stat_statvfs64_test.cpp",
270570af302Sopenharmony_ci    "stat/stat_gtest/stat_umask_test.cpp",
271570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_clearerr_unlocked_test.cpp",
272570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_feof_unlocked_test.cpp",
273570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_ferror_test.cpp",
274570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_ferror_unlocked_test.cpp",
275570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fflush_unlocked_test.cpp",
276570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fgetpos64_test.cpp",
277570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fileno_unlocked_test.cpp",
278570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fpurge_test.cpp",
279570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fputc_unlocked_test.cpp",
280570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_fsetlocking_test.cpp",
281570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_gets_test.cpp",
282570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_getwchar_test.cpp",
283570af302Sopenharmony_ci    "stdio/stdio_gtest/stdio_perror_test.cpp",
284570af302Sopenharmony_ci    "stdlib/stdlib_gtest/stdlib_arc4random_test.cpp",
285570af302Sopenharmony_ci    "stdlib/stdlib_gtest/stdlib_div_test.cpp",
286570af302Sopenharmony_ci    "string/string_gtest/string_bcmp_test.cpp",
287570af302Sopenharmony_ci    "string/string_gtest/string_bcopy_test.cpp",
288570af302Sopenharmony_ci    "string/string_gtest/string_memchr_test.cpp",
289570af302Sopenharmony_ci    "string/string_gtest/string_memcmp_test.cpp",
290570af302Sopenharmony_ci    "string/string_gtest/string_memcpy_test.cpp",
291570af302Sopenharmony_ci    "string/string_gtest/string_memrchr_test.cpp",
292570af302Sopenharmony_ci    "string/string_gtest/string_memset_test.cpp",
293570af302Sopenharmony_ci    "string/string_gtest/string_strcasecmp_test.cpp",
294570af302Sopenharmony_ci    "string/string_gtest/string_strcat_test.cpp",
295570af302Sopenharmony_ci    "string/string_gtest/string_strchr_test.cpp",
296570af302Sopenharmony_ci    "string/string_gtest/string_strcmp_test.cpp",
297570af302Sopenharmony_ci    "string/string_gtest/string_strcpy_test.cpp",
298570af302Sopenharmony_ci    "string/string_gtest/string_strcspn_test.cpp",
299570af302Sopenharmony_ci    "string/string_gtest/string_strdup_test.cpp",
300570af302Sopenharmony_ci    "string/string_gtest/string_strlen_test.cpp",
301570af302Sopenharmony_ci    "string/string_gtest/string_strncasecmp_test.cpp",
302570af302Sopenharmony_ci    "string/string_gtest/string_strncmp_test.cpp",
303570af302Sopenharmony_ci    "string/string_gtest/string_strncpy_test.cpp",
304570af302Sopenharmony_ci    "string/string_gtest/string_strnlen_test.cpp",
305570af302Sopenharmony_ci    "string/string_gtest/string_strpbrk_test.cpp",
306570af302Sopenharmony_ci    "string/string_gtest/string_strrchr_test.cpp",
307570af302Sopenharmony_ci    "string/string_gtest/string_strspn_test.cpp",
308570af302Sopenharmony_ci    "string/string_gtest/string_strstr_test.cpp",
309570af302Sopenharmony_ci    "string/string_gtest/string_wmemchr_test.cpp",
310570af302Sopenharmony_ci    "string/string_gtest/string_wmemcmp_test.cpp",
311570af302Sopenharmony_ci    "temp/temp_gtest/temp_mkostemp64_test.cpp",
312570af302Sopenharmony_ci    "temp/temp_gtest/temp_mkstemp64_test.cpp",
313570af302Sopenharmony_ci    "temp/temp_gtest/temp_mkstemps64_test.cpp",
314570af302Sopenharmony_ci    "thread/thread_gtest/pthread_attr_test.cpp",
315570af302Sopenharmony_ci    "thread/thread_gtest/pthread_barrier_test.cpp",
316570af302Sopenharmony_ci    "thread/thread_gtest/pthread_cleanup_test.cpp",
317570af302Sopenharmony_ci    "thread/thread_gtest/pthread_cond_test.cpp",
318570af302Sopenharmony_ci    "thread/thread_gtest/pthread_key_test.cpp",
319570af302Sopenharmony_ci    "thread/thread_gtest/pthread_spin_test.cpp",
320570af302Sopenharmony_ci    "thread/thread_gtest/thread_callonce_test.cpp",
321570af302Sopenharmony_ci    "thread/thread_gtest/thread_cnd_test.cpp",
322570af302Sopenharmony_ci    "thread/thread_gtest/thread_mutex_test.cpp",
323570af302Sopenharmony_ci    "thread/thread_gtest/thread_mutexattr_test.cpp",
324570af302Sopenharmony_ci    "thread/thread_gtest/thread_pthrd_test.cpp",
325570af302Sopenharmony_ci    "thread/thread_gtest/thread_rwlock_test.cpp",
326570af302Sopenharmony_ci    "thread/thread_gtest/thread_sem_test.cpp",
327570af302Sopenharmony_ci    "thread/thread_gtest/thread_thrd_test.cpp",
328570af302Sopenharmony_ci    "thread/thread_gtest/thread_tls_get_addr_test.cpp",
329570af302Sopenharmony_ci    "thread/thread_gtest/thread_tss_test.cpp",
330570af302Sopenharmony_ci    "time/time_gtest/sys_clock_test.cpp",
331570af302Sopenharmony_ci    "time/time_gtest/time_daylight_test.cpp",
332570af302Sopenharmony_ci    "time/time_gtest/time_ftime_test.cpp",
333570af302Sopenharmony_ci    "time/time_gtest/time_test.cpp",
334570af302Sopenharmony_ci    "time/time_gtest/time_timezone_test.cpp",
335570af302Sopenharmony_ci    "time/time_gtest/time_tzname_test.cpp",
336570af302Sopenharmony_ci    "time/time_gtest/time_tzset_test.cpp",
337570af302Sopenharmony_ci    "time/time_gtest/timer_test.cpp",
338570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_Exit_test.cpp",
339570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_access_test.cpp",
340570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_dup2_test.cpp",
341570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_dup_test.cpp",
342570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_fdatasync_test.cpp",
343570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_fsync_test.cpp",
344570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_ftruncate64_test.cpp",
345570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_getid_test.cpp",
346570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_pipe2_test.cpp",
347570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_pipe_test.cpp",
348570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_pread64_test.cpp",
349570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_pwrite64_test.cpp",
350570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_read_test.cpp",
351570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_readlink_test.cpp",
352570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_rmdir_test.cpp",
353570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_unlink_test.cpp",
354570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_usleep_test.cpp",
355570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_write_test.cpp",
356570af302Sopenharmony_ci    "unistd/unistd_gtest/unistd_writev_test.cpp",
357570af302Sopenharmony_ci  ]
358570af302Sopenharmony_ci
359570af302Sopenharmony_ci  ldflags = [
360570af302Sopenharmony_ci    "-Wl,-rpath=/data/tmp/libcgtest/libs:/data/tmp/libcgtest/libs/rpath-test/",
361570af302Sopenharmony_ci  ]
362570af302Sopenharmony_ci
363570af302Sopenharmony_ci  include_dirs = [ "//third_party/musl" ]
364570af302Sopenharmony_ci  configs = [ ":module_private_config" ]
365570af302Sopenharmony_ci
366570af302Sopenharmony_ci  if (musl_use_pthread_cancel) {
367570af302Sopenharmony_ci    cflags += [ "-DFEATURE_PTHREAD_CANCEL" ]
368570af302Sopenharmony_ci  }
369570af302Sopenharmony_ci  external_deps = [ "googletest:gtest_main" ]
370570af302Sopenharmony_ci}
371