blob: e5a4d2c40b141a2eb96827fa672efdd87f0e0e6a [file] [log] [blame]
Colin Cross2722ebb2016-07-11 16:20:06 -07001//
2// Copyright (C) 2012 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_defaults {
18 name: "bionic_tests_defaults",
19 host_supported: true,
20 target: {
21 darwin: {
22 enabled: false,
23 },
24 },
25 cflags: [
26 "-fstack-protector-all",
27 "-g",
28 "-Wall",
29 "-Wextra",
30 "-Wunused",
31 "-Werror",
32 "-fno-builtin",
33
34 // We want to test deprecated API too.
35 "-Wno-deprecated-declarations",
36
37 // For glibc.
38 "-D__STDC_LIMIT_MACROS",
39 ],
40 stl: "libc++",
41 sanitize: {
42 never: true,
43 },
44}
45
46// -----------------------------------------------------------------------------
47// All standard tests.
48// -----------------------------------------------------------------------------
49
50cc_test_library {
51 name: "libBionicStandardTests",
52 defaults: ["bionic_tests_defaults"],
53 srcs: [
54 "arpa_inet_test.cpp",
Christopher Ferris7a3681e2017-04-24 17:48:32 -070055 "async_safe_test.cpp",
Elliott Hughesf6495c72016-07-25 09:20:57 -070056 "assert_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070057 "buffer_tests.cpp",
58 "bug_26110743_test.cpp",
59 "complex_test.cpp",
60 "ctype_test.cpp",
61 "dirent_test.cpp",
Elliott Hughesd390df12017-04-30 22:56:10 -070062 "elf_test.cpp",
Elliott Hughesba267f42017-02-24 16:19:53 -080063 "endian_test.cpp",
Elliott Hughese452cb12017-06-13 14:43:53 -070064 "errno_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070065 "error_test.cpp",
66 "eventfd_test.cpp",
67 "fcntl_test.cpp",
68 "fenv_test.cpp",
69 "ftw_test.cpp",
70 "getauxval_test.cpp",
71 "getcwd_test.cpp",
72 "grp_pwd_test.cpp",
73 "ifaddrs_test.cpp",
74 "inttypes_test.cpp",
Elliott Hughesfc8e6882016-11-18 16:27:29 -080075 "langinfo_test.cpp",
Josh Gao7d15dc32017-03-13 17:10:46 -070076 "leak_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070077 "libgen_basename_test.cpp",
78 "libgen_test.cpp",
Christopher Ferrisee1e0a32017-04-20 13:38:49 -070079 "linux_swab_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070080 "locale_test.cpp",
81 "malloc_test.cpp",
82 "math_test.cpp",
83 "mntent_test.cpp",
84 "netdb_test.cpp",
85 "net_if_test.cpp",
86 "netinet_ether_test.cpp",
87 "netinet_in_test.cpp",
88 "netinet_udp_test.cpp",
89 "nl_types_test.cpp",
90 "pthread_test.cpp",
91 "pty_test.cpp",
92 "regex_test.cpp",
93 "resolv_test.cpp",
94 "sched_test.cpp",
Elliott Hughes50599392017-05-25 17:13:32 -070095 "scsi_sg_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070096 "search_test.cpp",
97 "semaphore_test.cpp",
98 "setjmp_test.cpp",
99 "signal_test.cpp",
100 "stack_protector_test.cpp",
101 "stack_protector_test_helper.cpp",
102 "stack_unwinding_test.cpp",
103 "stdatomic_test.cpp",
104 "stdint_test.cpp",
105 "stdio_nofortify_test.cpp",
106 "stdio_test.cpp",
107 "stdio_ext_test.cpp",
108 "stdlib_test.cpp",
109 "string_nofortify_test.cpp",
110 "string_test.cpp",
111 "string_posix_strerror_r_test.cpp",
112 "strings_nofortify_test.cpp",
113 "strings_test.cpp",
114 "sstream_test.cpp",
115 "sys_epoll_test.cpp",
116 "sys_mman_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700117 "sys_msg_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700118 "sys_personality_test.cpp",
119 "sys_prctl_test.cpp",
120 "sys_procfs_test.cpp",
121 "sys_ptrace_test.cpp",
122 "sys_quota_test.cpp",
123 "sys_resource_test.cpp",
124 "sys_select_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700125 "sys_sem_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700126 "sys_sendfile_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700127 "sys_shm_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700128 "sys_socket_test.cpp",
129 "sys_stat_test.cpp",
130 "sys_statvfs_test.cpp",
131 "sys_syscall_test.cpp",
132 "sys_sysinfo_test.cpp",
133 "sys_sysmacros_test.cpp",
134 "sys_time_test.cpp",
135 "sys_timex_test.cpp",
136 "sys_types_test.cpp",
137 "sys_uio_test.cpp",
138 "sys_vfs_test.cpp",
139 "sys_xattr_test.cpp",
140 "system_properties_test.cpp",
Dimitry Ivanov16b2a4d2017-01-24 20:43:29 +0000141 "system_properties_test2.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700142 "time_test.cpp",
143 "uchar_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700144 "unistd_nofortify_test.cpp",
145 "unistd_test.cpp",
146 "utmp_test.cpp",
147 "wchar_test.cpp",
148 "wctype_test.cpp",
149 ],
150
151 include_dirs: [
152 "bionic/libc",
153 "external/tinyxml2",
154 ],
155
Christopher Ferris7a3681e2017-04-24 17:48:32 -0700156 target: {
157 android: {
158 whole_static_libs: ["libasync_safe"],
159 },
160 },
161
Dan Willemsen41567702016-08-31 16:35:01 -0700162 static_libs: [
163 "libtinyxml2",
164 "liblog",
165 "libbase",
166 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700167 host_ldlibs: ["-lrt"],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700168 shared: {
169 enabled: false,
170 },
Elliott Hughes3f6eee92016-12-13 23:47:25 +0000171
172 generated_headers: ["generated_android_ids"],
Colin Cross2722ebb2016-07-11 16:20:06 -0700173}
174
175// -----------------------------------------------------------------------------
176// Fortify tests.
177// -----------------------------------------------------------------------------
178
179cc_defaults {
180 name: "bionic_fortify_tests_defaults",
181 cflags: [
182 "-Wno-error",
183 "-U_FORTIFY_SOURCE",
184 ],
185 srcs: ["fortify_test_main.cpp"],
186 target: {
187 host: {
188 clang_cflags: ["-D__clang__"],
189 },
190 },
191}
192
193cc_test_library {
Colin Cross2722ebb2016-07-11 16:20:06 -0700194 name: "libfortify1-tests-clang",
195 defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
196 clang: true,
197 cflags: [
198 "-D_FORTIFY_SOURCE=1",
199 "-DTEST_NAME=Fortify1_clang"
200 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700201 shared: {
202 enabled: false,
203 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700204}
205
206cc_test_library {
207 name: "libfortify2-tests-clang",
208 defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
209 clang: true,
210 cflags: [
211 "-D_FORTIFY_SOURCE=2",
212 "-DTEST_NAME=Fortify2_clang"
213 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700214 shared: {
215 enabled: false,
216 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700217}
218
219// -----------------------------------------------------------------------------
220// Library of all tests (excluding the dynamic linker tests).
221// -----------------------------------------------------------------------------
222cc_test_library {
223 name: "libBionicTests",
224 defaults: ["bionic_tests_defaults"],
225 whole_static_libs: [
226 "libBionicStandardTests",
Colin Cross2722ebb2016-07-11 16:20:06 -0700227 "libfortify1-tests-clang",
228 "libfortify2-tests-clang",
229 ],
Dan Willemsen41567702016-08-31 16:35:01 -0700230 shared: {
231 enabled: false,
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700232 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700233}
234
235// -----------------------------------------------------------------------------
236// Library of bionic customized gtest main function, with simplified output format.
237// -----------------------------------------------------------------------------
238cc_test_library {
239 name: "libBionicGtestMain",
240 defaults: ["bionic_tests_defaults"],
Dimitry Ivanov927877c2016-09-21 11:17:13 -0700241 srcs: [
242 "gtest_main.cpp",
243 "gtest_globals.cpp",
244 ],
245 static_libs: [
246 "libbase",
247 ],
248 include_dirs: [
249 "bionic/libc",
250 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700251 target: {
252 darwin: {
253 enabled: true,
254 },
255 },
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700256 shared: {
257 enabled: false,
258 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700259}
260
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700261cc_test_library {
262 name: "libBionicLoaderTests",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800263 defaults: ["bionic_tests_defaults", "llvm-defaults"],
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700264 srcs: [
265 "atexit_test.cpp",
266 "dl_test.cpp",
Dimitry Ivanov708589f2016-09-19 10:50:28 -0700267 "dlfcn_symlink_support.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700268 "dlfcn_test.cpp",
Elliott Hughes7c10abb2017-04-21 17:15:41 -0700269 "link_test.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700270 "pthread_dlfcn_test.cpp",
271 ],
272 static_libs: [
273 "libbase",
274 ],
275 include_dirs: [
276 "bionic/libc",
277 ],
278 shared: {
279 enabled: false,
280 },
281 target: {
282 android: {
283 srcs: [
Evgenii Stepanov0a3637d2016-07-06 13:20:59 -0700284 "cfi_test.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700285 "dlext_test.cpp",
286 "libdl_test.cpp",
287 ],
288 static_libs: [
289 "libpagemap",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800290 "libLLVMObject",
291 "libLLVMBitReader",
292 "libLLVMMC",
293 "libLLVMMCParser",
294 "libLLVMCore",
295 "libLLVMSupport",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700296 ],
297 }
298 }
299}
300
Colin Cross2722ebb2016-07-11 16:20:06 -0700301// -----------------------------------------------------------------------------
302// Library of bionic customized gtest main function, with normal gtest output format,
303// which is needed by bionic cts test.
304// -----------------------------------------------------------------------------
305cc_test_library {
306 name: "libBionicCtsGtestMain",
307 defaults: ["bionic_tests_defaults"],
Dimitry Ivanov927877c2016-09-21 11:17:13 -0700308 srcs: [
309 "gtest_main.cpp",
310 "gtest_globals_cts.cpp",
311 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700312 cppflags: ["-DUSING_GTEST_OUTPUT_FORMAT"],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700313 shared: {
314 enabled: false,
315 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700316}
317
318// -----------------------------------------------------------------------------
319// Tests for the device using bionic's .so. Run with:
320// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests32
321// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests64
322// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc32
323// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc64
324// -----------------------------------------------------------------------------
325cc_defaults {
326 name: "bionic_unit_tests_defaults",
327 host_supported: false,
328
329 whole_static_libs: [
330 "libBionicTests",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700331 "libBionicLoaderTests",
Colin Cross2722ebb2016-07-11 16:20:06 -0700332 "libBionicGtestMain",
333 ],
334
335 static_libs: [
336 "libtinyxml2",
337 "liblog",
338 "libbase",
339 ],
340
341 srcs: [
342 // TODO: Include __cxa_thread_atexit_test.cpp to glibc tests once it is upgraded (glibc 2.18+)
Colin Cross2722ebb2016-07-11 16:20:06 -0700343 "__cxa_thread_atexit_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700344 "thread_local_test.cpp",
345 ],
346
347 conlyflags: [
348 "-fexceptions",
349 "-fnon-call-exceptions",
350 ],
351
352 ldflags: ["-Wl,--export-dynamic"],
353
354 include_dirs: ["bionic/libc"],
355
Yabin Cui1f553ea2017-01-13 12:31:59 -0800356 stl: "libc++_static",
357
Colin Cross2722ebb2016-07-11 16:20:06 -0700358 target: {
359 android: {
360 shared_libs: [
361 "libdl",
Colin Cross2722ebb2016-07-11 16:20:06 -0700362 "libdl_preempt_test_1",
363 "libdl_preempt_test_2",
364 "libdl_test_df_1_global",
365 ],
366 static_libs: [
367 // The order of these libraries matters, do not shuffle them.
368 "libbase",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700369 "libpagemap",
Colin Cross2722ebb2016-07-11 16:20:06 -0700370 "libziparchive",
371 "libz",
372 "libutils",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800373 "libLLVMObject",
374 "libLLVMBitReader",
375 "libLLVMMC",
376 "libLLVMMCParser",
377 "libLLVMCore",
378 "libLLVMSupport",
Colin Cross2722ebb2016-07-11 16:20:06 -0700379 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700380 ldflags: [
Colin Cross7b294952016-09-29 14:08:13 -0700381 "-Wl,--rpath,${ORIGIN}/../bionic-loader-test-libs",
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700382 "-Wl,--enable-new-dtags",
383 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700384 },
385 }
386}
387
388cc_test {
389 name: "bionic-unit-tests",
390 defaults: ["bionic_unit_tests_defaults", "bionic_tests_defaults"],
391 clang: true,
Elliott Hughesa57ca0d2016-11-17 18:18:08 -0800392
393 target: {
394 android: {
395 shared_libs: ["libicuuc"],
396 },
397 },
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700398
399 required: [
400 "cfi_test_helper",
401 "cfi_test_helper2",
402 "libtest_dt_runpath_a",
403 "libtest_dt_runpath_b",
404 "libtest_dt_runpath_c",
405 "libtest_dt_runpath_x",
406 "libatest_simple_zip",
407 "libcfi-test",
408 "libcfi-test-bad",
409 "libdlext_test_different_soname",
410 "libdlext_test_fd",
411 "libdlext_test_norelro",
412 "libdlext_test_runpath_zip_zipaligned",
413 "libdlext_test",
414 "libdlext_test_zip",
415 "libdlext_test_zip_zipaligned",
416 "libdl_preempt_test_1",
417 "libdl_preempt_test_2",
418 "libdl_test_df_1_global",
Dimitry Ivanovf1db8372017-04-19 11:58:52 -0700419 "libgnu-hash-table-library",
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700420 "libsysv-hash-table-library",
421 "libtest_atexit",
422 "libtest_check_order_dlsym_1_left",
423 "libtest_check_order_dlsym_2_right",
424 "libtest_check_order_dlsym_3_c",
425 "libtest_check_order_dlsym_a",
426 "libtest_check_order_dlsym_b",
427 "libtest_check_order_dlsym_d",
428 "libtest_check_order_dlsym",
429 "libtest_check_order_reloc_root_1",
430 "libtest_check_order_reloc_root_2",
431 "libtest_check_order_reloc_root",
432 "libtest_check_order_reloc_siblings_1",
433 "libtest_check_order_reloc_siblings_2",
434 "libtest_check_order_reloc_siblings_3",
435 "libtest_check_order_reloc_siblings_a",
436 "libtest_check_order_reloc_siblings_b",
437 "libtest_check_order_reloc_siblings_c_1",
438 "libtest_check_order_reloc_siblings_c_2",
439 "libtest_check_order_reloc_siblings_c",
440 "libtest_check_order_reloc_siblings_d",
441 "libtest_check_order_reloc_siblings_e",
442 "libtest_check_order_reloc_siblings_f",
443 "libtest_check_order_reloc_siblings",
444 "libtest_check_rtld_next_from_library",
445 "libtest_dlopen_from_ctor_main",
446 "libtest_dlopen_from_ctor",
447 "libtest_dlopen_weak_undefined_func",
448 "libtest_dlsym_df_1_global",
449 "libtest_dlsym_from_this_child",
450 "libtest_dlsym_from_this_grandchild",
451 "libtest_dlsym_from_this",
452 "libtest_dlsym_weak_func",
453 "libtest_dt_runpath_d",
454 "libtest_empty",
Dimitry Ivanovf1db8372017-04-19 11:58:52 -0700455 "libtest_ifunc",
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700456 "libtest_init_fini_order_child",
457 "libtest_init_fini_order_grand_child",
458 "libtest_init_fini_order_root2",
459 "libtest_init_fini_order_root",
460 "libtest_nodelete_1",
461 "libtest_nodelete_2",
462 "libtest_nodelete_dt_flags_1",
463 "libtest_pthread_atfork",
464 "libtest_relo_check_dt_needed_order_1",
465 "libtest_relo_check_dt_needed_order_2",
466 "libtest_relo_check_dt_needed_order",
467 "libtest_simple",
468 "libtest_two_parents_child",
469 "libtest_two_parents_parent1",
470 "libtest_two_parents_parent2",
471 "libtest_versioned_lib",
472 "libtest_versioned_libv1",
473 "libtest_versioned_libv2",
474 "libtest_versioned_otherlib_empty",
475 "libtest_versioned_otherlib",
476 "libtest_versioned_uselibv1",
477 "libtest_versioned_uselibv2_other",
478 "libtest_versioned_uselibv2",
479 "libtest_versioned_uselibv3_other",
480 "libtest_with_dependency_loop_a",
481 "libtest_with_dependency_loop_b",
482 "libtest_with_dependency_loop_c",
483 "libtest_with_dependency_loop",
484 "libtest_with_dependency",
485 "libtest_invalid-empty_shdr_table.so",
486 "libtest_invalid-rw_load_segment.so",
487 "libtest_invalid-unaligned_shdr_offset.so",
488 "libtest_invalid-zero_shdr_table_content.so",
489 "libtest_invalid-zero_shdr_table_offset.so",
490 "libtest_invalid-zero_shentsize.so",
491 "libtest_invalid-zero_shstrndx.so",
492 "libtest_invalid-textrels.so",
493 "libtest_invalid-textrels2.so",
494 "preinit_getauxval_test_helper",
495 "preinit_syscall_test_helper",
496 "libnstest_private_external",
497 "libnstest_dlopened",
498 "libnstest_private",
499 "libnstest_root_not_isolated",
500 "libnstest_root",
501 "libnstest_public",
502 "libnstest_public_internal",
503 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700504}
505
Colin Cross2722ebb2016-07-11 16:20:06 -0700506// -----------------------------------------------------------------------------
507// Tests for the device linked against bionic's static library. Run with:
508// adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static32
509// adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static64
510// -----------------------------------------------------------------------------
511cc_test {
512 name: "bionic-unit-tests-static",
513 defaults: ["bionic_tests_defaults"],
514 host_supported: false,
515
Dimitry Ivanov462ea662017-01-06 14:49:57 -0800516 srcs: [
517 "gtest_preinit_debuggerd.cpp",
518 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700519 whole_static_libs: [
520 "libBionicTests",
521 "libBionicGtestMain",
522 ],
523
524 static_libs: [
525 "libm",
526 "libc",
527 "libc++_static",
528 "libdl",
529 "libtinyxml2",
530 "liblog",
531 "libbase",
Josh Gao2a3b4fa2016-10-26 17:55:49 -0700532 "libdebuggerd_handler",
Colin Cross2722ebb2016-07-11 16:20:06 -0700533 ],
534
535 static_executable: true,
536 stl: "libc++_static",
537
538 // libc and libc++ both define std::nothrow. libc's is a private symbol, but this
539 // still causes issues when linking libc.a and libc++.a, since private isn't
540 // effective until it has been linked. To fix this, just allow multiple symbol
541 // definitions for the static tests.
542 ldflags: ["-Wl,--allow-multiple-definition"],
543}
544
545// -----------------------------------------------------------------------------
546// Tests to run on the host and linked against glibc. Run with:
547// cd bionic/tests; mm bionic-unit-tests-glibc-run
548// -----------------------------------------------------------------------------
549
550cc_test_host {
551 name: "bionic-unit-tests-glibc",
552 defaults: ["bionic_tests_defaults"],
553
554 srcs: [
555 "atexit_test.cpp",
Dimitry Ivanov708589f2016-09-19 10:50:28 -0700556 "dlfcn_symlink_support.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700557 "dlfcn_test.cpp",
558 "dl_test.cpp",
559 "pthread_dlfcn_test.cpp",
560 ],
561
562 shared_libs: [
563 "libdl_preempt_test_1",
564 "libdl_preempt_test_2",
565
566 "libdl_test_df_1_global",
567 ],
568
569 whole_static_libs: [
570 "libBionicStandardTests",
571 "libBionicGtestMain",
Colin Cross2722ebb2016-07-11 16:20:06 -0700572 "libfortify1-tests-clang",
573 "libfortify2-tests-clang",
574 ],
575
576 static_libs: [
577 "libbase",
578 "liblog",
579 "libcutils",
580 ],
581
582 host_ldlibs: [
583 "-lresolv",
584 "-lrt",
585 "-ldl",
586 "-lutil",
587 ],
588
589 include_dirs: ["bionic/libc"],
590
Dimitry Ivanovd0b5c3a2016-11-25 12:23:11 -0800591 ldflags: [
592 "-Wl,--rpath,${ORIGIN}/../bionic-loader-test-libs",
593 "-Wl,--export-dynamic",
594 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700595
596 sanitize: {
597 never: false,
598 },
599}
600
601subdirs = ["libs"]