Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | TEST_PATH := $(LOCAL_PATH)/.. |
| 19 | |
Dmitriy Ivanov | 4571f31 | 2014-08-15 14:22:07 -0700 | [diff] [blame] | 20 | common_cppflags += -std=gnu++11 |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 21 | # ----------------------------------------------------------------------------- |
| 22 | # Library used by dlfcn tests. |
| 23 | # ----------------------------------------------------------------------------- |
| 24 | ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),mips mips64)) |
| 25 | no-elf-hash-table-library_src_files := \ |
| 26 | empty.cpp \ |
| 27 | |
| 28 | no-elf-hash-table-library_ldflags := \ |
| 29 | -Wl,--hash-style=gnu \ |
| 30 | |
| 31 | module := no-elf-hash-table-library |
| 32 | module_tag := optional |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 33 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 34 | endif |
| 35 | |
| 36 | # ----------------------------------------------------------------------------- |
| 37 | # Library used by dlext tests - with GNU RELRO program header |
| 38 | # ----------------------------------------------------------------------------- |
| 39 | libdlext_test_src_files := \ |
| 40 | dlext_test_library.cpp \ |
| 41 | |
| 42 | libdlext_test_ldflags := \ |
| 43 | -Wl,-z,relro \ |
| 44 | |
| 45 | module := libdlext_test |
| 46 | module_tag := optional |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 47 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 48 | |
| 49 | # ----------------------------------------------------------------------------- |
| 50 | # create symlink to libdlext_test.so for symlink test |
| 51 | # ----------------------------------------------------------------------------- |
| 52 | # Use = instead of := to defer the evaluation of $@ |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 53 | $(TARGET_OUT)/lib/libdlext_test.so: PRIVATE_POST_INSTALL_CMD = \ |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 54 | $(hide) cd $(dir $@) && ln -sf $(notdir $@) libdlext_test_v2.so |
| 55 | |
| 56 | ifneq ($(TARGET_2ND_ARCH),) |
| 57 | # link 64 bit .so |
| 58 | $(TARGET_OUT)/lib64/libdlext_test.so: PRIVATE_POST_INSTALL_CMD = \ |
| 59 | $(hide) cd $(dir $@) && ln -sf $(notdir $@) libdlext_test_v2.so |
| 60 | endif |
| 61 | |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 62 | # host symlinks |
| 63 | $(HOST_OUT)/lib64/libdlext_test.so: PRIVATE_POST_INSTALL_CMD = \ |
| 64 | $(hide) cd $(dir $@) && ln -sf $(notdir $@) libdlext_test_v2.so |
| 65 | |
| 66 | $(HOST_OUT)/lib/libdlext_test.so: PRIVATE_POST_INSTALL_CMD = \ |
| 67 | $(hide) cd $(dir $@) && ln -sf $(notdir $@) libdlext_test_v2.so |
| 68 | |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 69 | # ----------------------------------------------------------------------------- |
| 70 | # Library used by dlext tests - without GNU RELRO program header |
| 71 | # ----------------------------------------------------------------------------- |
| 72 | libdlext_test_norelro_src_files := \ |
| 73 | dlext_test_library.cpp \ |
| 74 | |
| 75 | libdlext_test_norelro_ldflags := \ |
| 76 | -Wl,-z,norelro \ |
| 77 | |
| 78 | module := libdlext_test_norelro |
| 79 | module_tag := optional |
| 80 | build_type := target |
| 81 | build_target := SHARED_LIBRARY |
| 82 | include $(TEST_PATH)/Android.build.mk |
| 83 | |
| 84 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | 04dc91a | 2014-07-01 14:10:16 -0700 | [diff] [blame] | 85 | # Library used by dlext tests - different name non-default location |
| 86 | # ----------------------------------------------------------------------------- |
| 87 | libdlext_test_fd_src_files := \ |
| 88 | dlext_test_library.cpp \ |
| 89 | |
| 90 | libdlext_test_fd_install_to_out_data := true |
| 91 | module := libdlext_test_fd |
| 92 | module_tag := optional |
| 93 | build_type := target |
| 94 | build_target := SHARED_LIBRARY |
| 95 | include $(TEST_PATH)/Android.build.mk |
| 96 | |
| 97 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 98 | # Library used by dlfcn tests |
| 99 | # ----------------------------------------------------------------------------- |
| 100 | libtest_simple_src_files := \ |
| 101 | dlopen_testlib_simple.cpp |
| 102 | |
| 103 | module := libtest_simple |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 104 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 105 | |
Dmitriy Ivanov | d97e9f5 | 2014-06-29 12:28:37 -0700 | [diff] [blame] | 106 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | 1b20daf | 2014-05-19 15:06:58 -0700 | [diff] [blame^] | 107 | # Library used by dlfcn nodelete tests |
| 108 | # ----------------------------------------------------------------------------- |
| 109 | libtest_nodelete_1_src_files := \ |
| 110 | dlopen_nodelete_1.cpp |
| 111 | |
| 112 | module := libtest_nodelete_1 |
| 113 | include $(LOCAL_PATH)/Android.build.testlib.mk |
| 114 | |
| 115 | # ----------------------------------------------------------------------------- |
| 116 | # Library used by dlfcn nodelete tests |
| 117 | # ----------------------------------------------------------------------------- |
| 118 | libtest_nodelete_2_src_files := \ |
| 119 | dlopen_nodelete_2.cpp |
| 120 | |
| 121 | module := libtest_nodelete_2 |
| 122 | include $(LOCAL_PATH)/Android.build.testlib.mk |
| 123 | |
| 124 | # ----------------------------------------------------------------------------- |
| 125 | # Library used by dlfcn nodelete tests |
| 126 | # ----------------------------------------------------------------------------- |
| 127 | libtest_nodelete_dt_flags_1_src_files := \ |
| 128 | dlopen_nodelete_dt_flags_1.cpp |
| 129 | |
| 130 | libtest_nodelete_dt_flags_1_ldflags := -Wl,-z,nodelete |
| 131 | |
| 132 | module := libtest_nodelete_dt_flags_1 |
| 133 | include $(LOCAL_PATH)/Android.build.testlib.mk |
| 134 | |
| 135 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 136 | # Libraries used by dlfcn tests to verify correct load order: |
| 137 | # libtest_check_order_2_right.so |
| 138 | # ----------------------------------------------------------------------------- |
| 139 | libtest_check_order_2_right_src_files := \ |
| 140 | dlopen_testlib_answer.cpp |
| 141 | |
| 142 | libtest_check_order_2_right_cflags := -D__ANSWER=42 |
| 143 | module := libtest_check_order_2_right |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 144 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 145 | |
| 146 | # ----------------------------------------------------------------------------- |
| 147 | # libtest_check_order_a.so |
| 148 | # ----------------------------------------------------------------------------- |
| 149 | libtest_check_order_a_src_files := \ |
| 150 | dlopen_testlib_answer.cpp |
| 151 | |
| 152 | libtest_check_order_a_cflags := -D__ANSWER=1 |
| 153 | module := libtest_check_order_a |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 154 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 155 | |
| 156 | # ----------------------------------------------------------------------------- |
| 157 | # libtest_check_order_b.so |
| 158 | # ----------------------------------------------------------------------------- |
| 159 | libtest_check_order_b_src_files := \ |
| 160 | dlopen_testlib_answer.cpp |
| 161 | |
| 162 | libtest_check_order_b_cflags := -D__ANSWER=2 -D__ANSWER2=43 |
| 163 | module := libtest_check_order_b |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 164 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 165 | |
| 166 | # ----------------------------------------------------------------------------- |
| 167 | # libtest_check_order_c.so |
| 168 | # ----------------------------------------------------------------------------- |
| 169 | libtest_check_order_3_c_src_files := \ |
| 170 | dlopen_testlib_answer.cpp |
| 171 | |
| 172 | libtest_check_order_3_c_cflags := -D__ANSWER=3 |
| 173 | module := libtest_check_order_3_c |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 174 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 175 | |
| 176 | # ----------------------------------------------------------------------------- |
| 177 | # libtest_check_order_d.so |
| 178 | # ----------------------------------------------------------------------------- |
| 179 | libtest_check_order_d_src_files := \ |
| 180 | dlopen_testlib_answer.cpp |
| 181 | |
| 182 | libtest_check_order_d_shared_libraries := libtest_check_order_b |
| 183 | libtest_check_order_d_cflags := -D__ANSWER=4 -D__ANSWER2=4 |
| 184 | module := libtest_check_order_d |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 185 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 186 | |
| 187 | # ----------------------------------------------------------------------------- |
| 188 | # libtest_check_order_left.so |
| 189 | # ----------------------------------------------------------------------------- |
| 190 | libtest_check_order_1_left_src_files := \ |
| 191 | empty.cpp |
| 192 | |
| 193 | libtest_check_order_1_left_shared_libraries := libtest_check_order_a libtest_check_order_b |
| 194 | |
| 195 | module := libtest_check_order_1_left |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 196 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 197 | |
| 198 | # ----------------------------------------------------------------------------- |
| 199 | # libtest_check_order.so |
| 200 | # ----------------------------------------------------------------------------- |
| 201 | libtest_check_order_src_files := \ |
| 202 | empty.cpp |
| 203 | |
| 204 | libtest_check_order_shared_libraries := libtest_check_order_1_left \ |
| 205 | libtest_check_order_2_right libtest_check_order_3_c |
| 206 | |
| 207 | module := libtest_check_order |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 208 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 209 | |
| 210 | # ----------------------------------------------------------------------------- |
| 211 | # Library with dependency loop used by dlfcn tests |
| 212 | # |
| 213 | # libtest_with_dependency_loop -> a -> b -> c -> a |
| 214 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | a6ac54a | 2014-09-09 10:21:42 -0700 | [diff] [blame] | 215 | libtest_with_dependency_loop_src_files := dlopen_testlib_invalid.cpp |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 216 | |
| 217 | libtest_with_dependency_loop_shared_libraries := \ |
| 218 | libtest_with_dependency_loop_a |
| 219 | |
| 220 | module := libtest_with_dependency_loop |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 221 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 222 | |
| 223 | # ----------------------------------------------------------------------------- |
| 224 | # libtest_with_dependency_loop_a.so |
| 225 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | a6ac54a | 2014-09-09 10:21:42 -0700 | [diff] [blame] | 226 | libtest_with_dependency_loop_a_src_files := dlopen_testlib_invalid.cpp |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 227 | |
| 228 | libtest_with_dependency_loop_a_shared_libraries := \ |
| 229 | libtest_with_dependency_loop_b_tmp |
| 230 | |
| 231 | module := libtest_with_dependency_loop_a |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 232 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 233 | |
| 234 | # ----------------------------------------------------------------------------- |
| 235 | # libtest_with_dependency_loop_b.so |
| 236 | # |
| 237 | # this is temporary placeholder - will be removed |
| 238 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | a6ac54a | 2014-09-09 10:21:42 -0700 | [diff] [blame] | 239 | libtest_with_dependency_loop_b_tmp_src_files := dlopen_testlib_invalid.cpp |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 240 | libtest_with_dependency_loop_b_tmp_ldflags := -Wl,-soname=libtest_with_dependency_loop_b.so |
| 241 | |
| 242 | module := libtest_with_dependency_loop_b_tmp |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 243 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 244 | |
| 245 | # ----------------------------------------------------------------------------- |
| 246 | # libtest_with_dependency_loop_b.so |
| 247 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | a6ac54a | 2014-09-09 10:21:42 -0700 | [diff] [blame] | 248 | libtest_with_dependency_loop_b_src_files := dlopen_testlib_invalid.cpp |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 249 | libtest_with_dependency_loop_b_shared_libraries := libtest_with_dependency_loop_c |
| 250 | |
| 251 | module := libtest_with_dependency_loop_b |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 252 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 253 | |
| 254 | # ----------------------------------------------------------------------------- |
| 255 | # libtest_with_dependency_loop_c.so |
| 256 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | a6ac54a | 2014-09-09 10:21:42 -0700 | [diff] [blame] | 257 | libtest_with_dependency_loop_c_src_files := dlopen_testlib_invalid.cpp |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 258 | |
| 259 | libtest_with_dependency_loop_c_shared_libraries := \ |
| 260 | libtest_with_dependency_loop_a |
| 261 | |
| 262 | module := libtest_with_dependency_loop_c |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 263 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 14669a9 | 2014-09-05 16:42:53 -0700 | [diff] [blame] | 264 | |
| 265 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | b2a30ee | 2014-09-04 18:23:00 -0700 | [diff] [blame] | 266 | # libtest_relo_check_dt_needed_order.so |
| 267 | # | |
| 268 | # +-> libtest_relo_check_dt_needed_order_1.so |
| 269 | # | |
| 270 | # +-> libtest_relo_check_dt_needed_order_2.so |
| 271 | # ----------------------------------------------------------------------------- |
| 272 | libtest_relo_check_dt_needed_order_shared_libraries := \ |
| 273 | libtest_relo_check_dt_needed_order_1 libtest_relo_check_dt_needed_order_2 |
| 274 | |
| 275 | libtest_relo_check_dt_needed_order_src_files := dlopen_testlib_relo_check_dt_needed_order.cpp |
| 276 | libtest_relo_check_dt_needed_order_1_src_files := dlopen_testlib_relo_check_dt_needed_order_1.cpp |
| 277 | libtest_relo_check_dt_needed_order_2_src_files := dlopen_testlib_relo_check_dt_needed_order_2.cpp |
Dmitriy Ivanov | b2a30ee | 2014-09-04 18:23:00 -0700 | [diff] [blame] | 278 | |
| 279 | module := libtest_relo_check_dt_needed_order |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 280 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | b2a30ee | 2014-09-04 18:23:00 -0700 | [diff] [blame] | 281 | module := libtest_relo_check_dt_needed_order_1 |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 282 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | b2a30ee | 2014-09-04 18:23:00 -0700 | [diff] [blame] | 283 | module := libtest_relo_check_dt_needed_order_2 |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 284 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | b2a30ee | 2014-09-04 18:23:00 -0700 | [diff] [blame] | 285 | |
| 286 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | aa0f2bd | 2014-07-28 17:32:20 -0700 | [diff] [blame] | 287 | # Library with dependency used by dlfcn tests |
| 288 | # ----------------------------------------------------------------------------- |
| 289 | libtest_with_dependency_src_files := \ |
| 290 | dlopen_testlib_simple.cpp |
| 291 | |
| 292 | libtest_with_dependency_shared_libraries := libdlext_test |
| 293 | |
| 294 | module := libtest_with_dependency |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 295 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | aa0f2bd | 2014-07-28 17:32:20 -0700 | [diff] [blame] | 296 | |
| 297 | # ----------------------------------------------------------------------------- |
Brigid Smith | c5a13ef | 2014-07-23 11:22:25 -0700 | [diff] [blame] | 298 | # Library used by ifunc tests |
| 299 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 300 | libtest_ifunc_src_files := \ |
| 301 | dlopen_testlib_ifunc.c |
| 302 | |
| 303 | libtest_ifunc_clang_host := false |
| 304 | module := libtest_ifunc |
| 305 | build_target := SHARED_LIBRARY |
| 306 | |
| 307 | build_type := host |
| 308 | include $(TEST_PATH)/Android.build.mk |
| 309 | |
Dmitriy Ivanov | 9aea164 | 2014-09-11 15:16:03 -0700 | [diff] [blame] | 310 | ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),arm64 x86 x86_64)) |
Dmitriy Ivanov | 9aea164 | 2014-09-11 15:16:03 -0700 | [diff] [blame] | 311 | ifeq ($(TARGET_ARCH),arm64) |
| 312 | libtest_ifunc_multilib := 64 |
| 313 | # TODO: This is a workaround - remove it once gcc |
| 314 | # removes its Android ifunc checks |
| 315 | libtest_ifunc_cflags := -mglibc |
| 316 | endif |
| 317 | |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 318 | build_type := target |
Brigid Smith | c5a13ef | 2014-07-23 11:22:25 -0700 | [diff] [blame] | 319 | include $(TEST_PATH)/Android.build.mk |
| 320 | endif |
| 321 | |
| 322 | # ----------------------------------------------------------------------------- |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 323 | # Library used by atexit tests |
| 324 | # ----------------------------------------------------------------------------- |
| 325 | |
| 326 | libtest_atexit_src_files := \ |
| 327 | atexit_testlib.cpp |
| 328 | |
| 329 | module := libtest_atexit |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 330 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | 1f5e1a3 | 2014-06-02 16:29:00 -0700 | [diff] [blame] | 331 | |
Dmitriy Ivanov | ce44166 | 2014-06-17 15:56:38 -0700 | [diff] [blame] | 332 | # ----------------------------------------------------------------------------- |
| 333 | # Library with weak function |
| 334 | # ----------------------------------------------------------------------------- |
| 335 | libtest_dlsym_weak_func_src_files := \ |
| 336 | dlsym_weak_function.cpp |
| 337 | |
| 338 | module := libtest_dlsym_weak_func |
Dmitriy Ivanov | eb27bba | 2014-09-15 14:13:24 -0700 | [diff] [blame] | 339 | include $(LOCAL_PATH)/Android.build.testlib.mk |
Dmitriy Ivanov | bf50e26 | 2014-09-17 15:55:01 -0700 | [diff] [blame] | 340 | |
| 341 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Android.build.testlib.mk $(TEST_PATH)/Android.build.mk |