blob: a03f1a66e8a71d13cfdf74cfb1882358007e719b [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",
Colin Cross2722ebb2016-07-11 16:20:06 -070064 "error_test.cpp",
65 "eventfd_test.cpp",
66 "fcntl_test.cpp",
67 "fenv_test.cpp",
68 "ftw_test.cpp",
69 "getauxval_test.cpp",
70 "getcwd_test.cpp",
71 "grp_pwd_test.cpp",
72 "ifaddrs_test.cpp",
73 "inttypes_test.cpp",
Elliott Hughesfc8e6882016-11-18 16:27:29 -080074 "langinfo_test.cpp",
Josh Gao7d15dc32017-03-13 17:10:46 -070075 "leak_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070076 "libgen_basename_test.cpp",
77 "libgen_test.cpp",
Christopher Ferrisee1e0a32017-04-20 13:38:49 -070078 "linux_swab_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070079 "locale_test.cpp",
80 "malloc_test.cpp",
81 "math_test.cpp",
82 "mntent_test.cpp",
83 "netdb_test.cpp",
84 "net_if_test.cpp",
85 "netinet_ether_test.cpp",
86 "netinet_in_test.cpp",
87 "netinet_udp_test.cpp",
88 "nl_types_test.cpp",
89 "pthread_test.cpp",
90 "pty_test.cpp",
91 "regex_test.cpp",
92 "resolv_test.cpp",
93 "sched_test.cpp",
Elliott Hughes50599392017-05-25 17:13:32 -070094 "scsi_sg_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -070095 "search_test.cpp",
96 "semaphore_test.cpp",
97 "setjmp_test.cpp",
98 "signal_test.cpp",
99 "stack_protector_test.cpp",
100 "stack_protector_test_helper.cpp",
101 "stack_unwinding_test.cpp",
102 "stdatomic_test.cpp",
103 "stdint_test.cpp",
104 "stdio_nofortify_test.cpp",
105 "stdio_test.cpp",
106 "stdio_ext_test.cpp",
107 "stdlib_test.cpp",
108 "string_nofortify_test.cpp",
109 "string_test.cpp",
110 "string_posix_strerror_r_test.cpp",
111 "strings_nofortify_test.cpp",
112 "strings_test.cpp",
113 "sstream_test.cpp",
114 "sys_epoll_test.cpp",
115 "sys_mman_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700116 "sys_msg_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700117 "sys_personality_test.cpp",
118 "sys_prctl_test.cpp",
119 "sys_procfs_test.cpp",
120 "sys_ptrace_test.cpp",
121 "sys_quota_test.cpp",
122 "sys_resource_test.cpp",
123 "sys_select_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700124 "sys_sem_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700125 "sys_sendfile_test.cpp",
Elliott Hughes7c59f3f2016-08-16 18:14:26 -0700126 "sys_shm_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700127 "sys_socket_test.cpp",
128 "sys_stat_test.cpp",
129 "sys_statvfs_test.cpp",
130 "sys_syscall_test.cpp",
131 "sys_sysinfo_test.cpp",
132 "sys_sysmacros_test.cpp",
133 "sys_time_test.cpp",
134 "sys_timex_test.cpp",
135 "sys_types_test.cpp",
136 "sys_uio_test.cpp",
137 "sys_vfs_test.cpp",
138 "sys_xattr_test.cpp",
139 "system_properties_test.cpp",
Dimitry Ivanov16b2a4d2017-01-24 20:43:29 +0000140 "system_properties_test2.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700141 "time_test.cpp",
142 "uchar_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700143 "unistd_nofortify_test.cpp",
144 "unistd_test.cpp",
145 "utmp_test.cpp",
146 "wchar_test.cpp",
147 "wctype_test.cpp",
148 ],
149
150 include_dirs: [
151 "bionic/libc",
152 "external/tinyxml2",
153 ],
154
Christopher Ferris7a3681e2017-04-24 17:48:32 -0700155 target: {
156 android: {
157 whole_static_libs: ["libasync_safe"],
158 },
159 },
160
Dan Willemsen41567702016-08-31 16:35:01 -0700161 static_libs: [
162 "libtinyxml2",
163 "liblog",
164 "libbase",
165 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700166 host_ldlibs: ["-lrt"],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700167 shared: {
168 enabled: false,
169 },
Elliott Hughes3f6eee92016-12-13 23:47:25 +0000170
171 generated_headers: ["generated_android_ids"],
Colin Cross2722ebb2016-07-11 16:20:06 -0700172}
173
174// -----------------------------------------------------------------------------
175// Fortify tests.
176// -----------------------------------------------------------------------------
177
178cc_defaults {
179 name: "bionic_fortify_tests_defaults",
180 cflags: [
181 "-Wno-error",
182 "-U_FORTIFY_SOURCE",
183 ],
184 srcs: ["fortify_test_main.cpp"],
185 target: {
186 host: {
187 clang_cflags: ["-D__clang__"],
188 },
189 },
190}
191
192cc_test_library {
Colin Cross2722ebb2016-07-11 16:20:06 -0700193 name: "libfortify1-tests-clang",
194 defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
195 clang: true,
196 cflags: [
197 "-D_FORTIFY_SOURCE=1",
198 "-DTEST_NAME=Fortify1_clang"
199 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700200 shared: {
201 enabled: false,
202 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700203}
204
205cc_test_library {
206 name: "libfortify2-tests-clang",
207 defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
208 clang: true,
209 cflags: [
210 "-D_FORTIFY_SOURCE=2",
211 "-DTEST_NAME=Fortify2_clang"
212 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700213 shared: {
214 enabled: false,
215 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700216}
217
218// -----------------------------------------------------------------------------
219// Library of all tests (excluding the dynamic linker tests).
220// -----------------------------------------------------------------------------
221cc_test_library {
222 name: "libBionicTests",
223 defaults: ["bionic_tests_defaults"],
224 whole_static_libs: [
225 "libBionicStandardTests",
Colin Cross2722ebb2016-07-11 16:20:06 -0700226 "libfortify1-tests-clang",
227 "libfortify2-tests-clang",
228 ],
Dan Willemsen41567702016-08-31 16:35:01 -0700229 shared: {
230 enabled: false,
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700231 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700232}
233
234// -----------------------------------------------------------------------------
235// Library of bionic customized gtest main function, with simplified output format.
236// -----------------------------------------------------------------------------
237cc_test_library {
238 name: "libBionicGtestMain",
239 defaults: ["bionic_tests_defaults"],
Dimitry Ivanov927877c2016-09-21 11:17:13 -0700240 srcs: [
241 "gtest_main.cpp",
242 "gtest_globals.cpp",
243 ],
244 static_libs: [
245 "libbase",
246 ],
247 include_dirs: [
248 "bionic/libc",
249 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700250 target: {
251 darwin: {
252 enabled: true,
253 },
254 },
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700255 shared: {
256 enabled: false,
257 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700258}
259
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700260cc_test_library {
261 name: "libBionicLoaderTests",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800262 defaults: ["bionic_tests_defaults", "llvm-defaults"],
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700263 srcs: [
264 "atexit_test.cpp",
265 "dl_test.cpp",
Dimitry Ivanov708589f2016-09-19 10:50:28 -0700266 "dlfcn_symlink_support.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700267 "dlfcn_test.cpp",
Elliott Hughes7c10abb2017-04-21 17:15:41 -0700268 "link_test.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700269 "pthread_dlfcn_test.cpp",
270 ],
271 static_libs: [
272 "libbase",
273 ],
274 include_dirs: [
275 "bionic/libc",
276 ],
277 shared: {
278 enabled: false,
279 },
280 target: {
281 android: {
282 srcs: [
Evgenii Stepanov0a3637d2016-07-06 13:20:59 -0700283 "cfi_test.cpp",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700284 "dlext_test.cpp",
285 "libdl_test.cpp",
286 ],
287 static_libs: [
288 "libpagemap",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800289 "libLLVMObject",
290 "libLLVMBitReader",
291 "libLLVMMC",
292 "libLLVMMCParser",
293 "libLLVMCore",
294 "libLLVMSupport",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700295 ],
296 }
297 }
298}
299
Colin Cross2722ebb2016-07-11 16:20:06 -0700300// -----------------------------------------------------------------------------
301// Library of bionic customized gtest main function, with normal gtest output format,
302// which is needed by bionic cts test.
303// -----------------------------------------------------------------------------
304cc_test_library {
305 name: "libBionicCtsGtestMain",
306 defaults: ["bionic_tests_defaults"],
Dimitry Ivanov927877c2016-09-21 11:17:13 -0700307 srcs: [
308 "gtest_main.cpp",
309 "gtest_globals_cts.cpp",
310 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700311 cppflags: ["-DUSING_GTEST_OUTPUT_FORMAT"],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700312 shared: {
313 enabled: false,
314 },
Colin Cross2722ebb2016-07-11 16:20:06 -0700315}
316
317// -----------------------------------------------------------------------------
318// Tests for the device using bionic's .so. Run with:
319// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests32
320// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests64
321// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc32
322// adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc64
323// -----------------------------------------------------------------------------
324cc_defaults {
325 name: "bionic_unit_tests_defaults",
326 host_supported: false,
327
328 whole_static_libs: [
329 "libBionicTests",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700330 "libBionicLoaderTests",
Colin Cross2722ebb2016-07-11 16:20:06 -0700331 "libBionicGtestMain",
332 ],
333
334 static_libs: [
335 "libtinyxml2",
336 "liblog",
337 "libbase",
338 ],
339
340 srcs: [
341 // TODO: Include __cxa_thread_atexit_test.cpp to glibc tests once it is upgraded (glibc 2.18+)
Colin Cross2722ebb2016-07-11 16:20:06 -0700342 "__cxa_thread_atexit_test.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700343 "thread_local_test.cpp",
344 ],
345
346 conlyflags: [
347 "-fexceptions",
348 "-fnon-call-exceptions",
349 ],
350
351 ldflags: ["-Wl,--export-dynamic"],
352
353 include_dirs: ["bionic/libc"],
354
Yabin Cui1f553ea2017-01-13 12:31:59 -0800355 stl: "libc++_static",
356
Colin Cross2722ebb2016-07-11 16:20:06 -0700357 target: {
358 android: {
359 shared_libs: [
360 "libdl",
Colin Cross2722ebb2016-07-11 16:20:06 -0700361 "libdl_preempt_test_1",
362 "libdl_preempt_test_2",
363 "libdl_test_df_1_global",
364 ],
365 static_libs: [
366 // The order of these libraries matters, do not shuffle them.
367 "libbase",
Dimitry Ivanovc462c282016-09-15 16:25:31 -0700368 "libpagemap",
Colin Cross2722ebb2016-07-11 16:20:06 -0700369 "libziparchive",
370 "libz",
371 "libutils",
Dimitry Ivanovac4bd2f2016-11-21 12:50:38 -0800372 "libLLVMObject",
373 "libLLVMBitReader",
374 "libLLVMMC",
375 "libLLVMMCParser",
376 "libLLVMCore",
377 "libLLVMSupport",
Colin Cross2722ebb2016-07-11 16:20:06 -0700378 ],
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700379 ldflags: [
Colin Cross7b294952016-09-29 14:08:13 -0700380 "-Wl,--rpath,${ORIGIN}/../bionic-loader-test-libs",
Dimitry Ivanova36e59b2016-09-01 11:37:39 -0700381 "-Wl,--enable-new-dtags",
382 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700383 },
384 }
385}
386
387cc_test {
388 name: "bionic-unit-tests",
389 defaults: ["bionic_unit_tests_defaults", "bionic_tests_defaults"],
390 clang: true,
Elliott Hughesa57ca0d2016-11-17 18:18:08 -0800391
392 target: {
393 android: {
394 shared_libs: ["libicuuc"],
395 },
396 },
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700397
398 required: [
399 "cfi_test_helper",
400 "cfi_test_helper2",
401 "libtest_dt_runpath_a",
402 "libtest_dt_runpath_b",
403 "libtest_dt_runpath_c",
404 "libtest_dt_runpath_x",
405 "libatest_simple_zip",
406 "libcfi-test",
407 "libcfi-test-bad",
408 "libdlext_test_different_soname",
409 "libdlext_test_fd",
410 "libdlext_test_norelro",
411 "libdlext_test_runpath_zip_zipaligned",
412 "libdlext_test",
413 "libdlext_test_zip",
414 "libdlext_test_zip_zipaligned",
415 "libdl_preempt_test_1",
416 "libdl_preempt_test_2",
417 "libdl_test_df_1_global",
Dimitry Ivanovf1db8372017-04-19 11:58:52 -0700418 "libgnu-hash-table-library",
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700419 "libsysv-hash-table-library",
420 "libtest_atexit",
421 "libtest_check_order_dlsym_1_left",
422 "libtest_check_order_dlsym_2_right",
423 "libtest_check_order_dlsym_3_c",
424 "libtest_check_order_dlsym_a",
425 "libtest_check_order_dlsym_b",
426 "libtest_check_order_dlsym_d",
427 "libtest_check_order_dlsym",
428 "libtest_check_order_reloc_root_1",
429 "libtest_check_order_reloc_root_2",
430 "libtest_check_order_reloc_root",
431 "libtest_check_order_reloc_siblings_1",
432 "libtest_check_order_reloc_siblings_2",
433 "libtest_check_order_reloc_siblings_3",
434 "libtest_check_order_reloc_siblings_a",
435 "libtest_check_order_reloc_siblings_b",
436 "libtest_check_order_reloc_siblings_c_1",
437 "libtest_check_order_reloc_siblings_c_2",
438 "libtest_check_order_reloc_siblings_c",
439 "libtest_check_order_reloc_siblings_d",
440 "libtest_check_order_reloc_siblings_e",
441 "libtest_check_order_reloc_siblings_f",
442 "libtest_check_order_reloc_siblings",
443 "libtest_check_rtld_next_from_library",
444 "libtest_dlopen_from_ctor_main",
445 "libtest_dlopen_from_ctor",
446 "libtest_dlopen_weak_undefined_func",
447 "libtest_dlsym_df_1_global",
448 "libtest_dlsym_from_this_child",
449 "libtest_dlsym_from_this_grandchild",
450 "libtest_dlsym_from_this",
451 "libtest_dlsym_weak_func",
452 "libtest_dt_runpath_d",
453 "libtest_empty",
Dimitry Ivanovf1db8372017-04-19 11:58:52 -0700454 "libtest_ifunc",
Dimitry Ivanov4bd35422017-04-10 16:52:25 -0700455 "libtest_init_fini_order_child",
456 "libtest_init_fini_order_grand_child",
457 "libtest_init_fini_order_root2",
458 "libtest_init_fini_order_root",
459 "libtest_nodelete_1",
460 "libtest_nodelete_2",
461 "libtest_nodelete_dt_flags_1",
462 "libtest_pthread_atfork",
463 "libtest_relo_check_dt_needed_order_1",
464 "libtest_relo_check_dt_needed_order_2",
465 "libtest_relo_check_dt_needed_order",
466 "libtest_simple",
467 "libtest_two_parents_child",
468 "libtest_two_parents_parent1",
469 "libtest_two_parents_parent2",
470 "libtest_versioned_lib",
471 "libtest_versioned_libv1",
472 "libtest_versioned_libv2",
473 "libtest_versioned_otherlib_empty",
474 "libtest_versioned_otherlib",
475 "libtest_versioned_uselibv1",
476 "libtest_versioned_uselibv2_other",
477 "libtest_versioned_uselibv2",
478 "libtest_versioned_uselibv3_other",
479 "libtest_with_dependency_loop_a",
480 "libtest_with_dependency_loop_b",
481 "libtest_with_dependency_loop_c",
482 "libtest_with_dependency_loop",
483 "libtest_with_dependency",
484 "libtest_invalid-empty_shdr_table.so",
485 "libtest_invalid-rw_load_segment.so",
486 "libtest_invalid-unaligned_shdr_offset.so",
487 "libtest_invalid-zero_shdr_table_content.so",
488 "libtest_invalid-zero_shdr_table_offset.so",
489 "libtest_invalid-zero_shentsize.so",
490 "libtest_invalid-zero_shstrndx.so",
491 "libtest_invalid-textrels.so",
492 "libtest_invalid-textrels2.so",
493 "preinit_getauxval_test_helper",
494 "preinit_syscall_test_helper",
495 "libnstest_private_external",
496 "libnstest_dlopened",
497 "libnstest_private",
498 "libnstest_root_not_isolated",
499 "libnstest_root",
500 "libnstest_public",
501 "libnstest_public_internal",
502 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700503}
504
Colin Cross2722ebb2016-07-11 16:20:06 -0700505// -----------------------------------------------------------------------------
506// Tests for the device linked against bionic's static library. Run with:
507// adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static32
508// adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static64
509// -----------------------------------------------------------------------------
510cc_test {
511 name: "bionic-unit-tests-static",
512 defaults: ["bionic_tests_defaults"],
513 host_supported: false,
514
Dimitry Ivanov462ea662017-01-06 14:49:57 -0800515 srcs: [
516 "gtest_preinit_debuggerd.cpp",
517 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700518 whole_static_libs: [
519 "libBionicTests",
520 "libBionicGtestMain",
521 ],
522
523 static_libs: [
524 "libm",
525 "libc",
526 "libc++_static",
527 "libdl",
528 "libtinyxml2",
529 "liblog",
530 "libbase",
Josh Gao2a3b4fa2016-10-26 17:55:49 -0700531 "libdebuggerd_handler",
Colin Cross2722ebb2016-07-11 16:20:06 -0700532 ],
533
534 static_executable: true,
535 stl: "libc++_static",
536
537 // libc and libc++ both define std::nothrow. libc's is a private symbol, but this
538 // still causes issues when linking libc.a and libc++.a, since private isn't
539 // effective until it has been linked. To fix this, just allow multiple symbol
540 // definitions for the static tests.
541 ldflags: ["-Wl,--allow-multiple-definition"],
542}
543
544// -----------------------------------------------------------------------------
545// Tests to run on the host and linked against glibc. Run with:
546// cd bionic/tests; mm bionic-unit-tests-glibc-run
547// -----------------------------------------------------------------------------
548
549cc_test_host {
550 name: "bionic-unit-tests-glibc",
551 defaults: ["bionic_tests_defaults"],
552
553 srcs: [
554 "atexit_test.cpp",
Dimitry Ivanov708589f2016-09-19 10:50:28 -0700555 "dlfcn_symlink_support.cpp",
Colin Cross2722ebb2016-07-11 16:20:06 -0700556 "dlfcn_test.cpp",
557 "dl_test.cpp",
558 "pthread_dlfcn_test.cpp",
559 ],
560
561 shared_libs: [
562 "libdl_preempt_test_1",
563 "libdl_preempt_test_2",
564
565 "libdl_test_df_1_global",
566 ],
567
568 whole_static_libs: [
569 "libBionicStandardTests",
570 "libBionicGtestMain",
Colin Cross2722ebb2016-07-11 16:20:06 -0700571 "libfortify1-tests-clang",
572 "libfortify2-tests-clang",
573 ],
574
575 static_libs: [
576 "libbase",
577 "liblog",
578 "libcutils",
579 ],
580
581 host_ldlibs: [
582 "-lresolv",
583 "-lrt",
584 "-ldl",
585 "-lutil",
586 ],
587
588 include_dirs: ["bionic/libc"],
589
Dimitry Ivanovd0b5c3a2016-11-25 12:23:11 -0800590 ldflags: [
591 "-Wl,--rpath,${ORIGIN}/../bionic-loader-test-libs",
592 "-Wl,--export-dynamic",
593 ],
Colin Cross2722ebb2016-07-11 16:20:06 -0700594
595 sanitize: {
596 never: false,
597 },
598}
599
600subdirs = ["libs"]