OLD | NEW |
(Empty) | |
| 1 LOCAL_PATH := $(call my-dir) |
| 2 |
| 3 include $(CLEAR_VARS) |
| 4 LOCAL_MODULE := libfoo |
| 5 LOCAL_SRC_FILES := foo.cpp |
| 6 LOCAL_LDLIBS := -llog |
| 7 include $(BUILD_SHARED_LIBRARY) |
| 8 |
| 9 include $(CLEAR_VARS) |
| 10 LOCAL_MODULE := libfoo_with_static_constructor |
| 11 LOCAL_SRC_FILES := foo_with_static_constructor.cpp |
| 12 LOCAL_LDLIBS := -llog |
| 13 include $(BUILD_SHARED_LIBRARY) |
| 14 |
| 15 include $(CLEAR_VARS) |
| 16 LOCAL_MODULE := libfoo_with_relro |
| 17 LOCAL_SRC_FILES := foo_with_relro.cpp |
| 18 LOCAL_LDLIBS := -llog |
| 19 include $(BUILD_SHARED_LIBRARY) |
| 20 |
| 21 |
| 22 include $(CLEAR_VARS) |
| 23 LOCAL_MODULE := libbar |
| 24 LOCAL_SRC_FILES := bar.cpp |
| 25 LOCAL_SHARED_LIBRARIES := libfoo |
| 26 LOCAL_LDLIBS := -llog |
| 27 include $(BUILD_SHARED_LIBRARY) |
| 28 |
| 29 include $(CLEAR_VARS) |
| 30 LOCAL_MODULE := libzoo |
| 31 LOCAL_SRC_FILES := zoo.cpp |
| 32 LOCAL_LDLIBS := -ldl |
| 33 include $(BUILD_SHARED_LIBRARY) |
| 34 |
| 35 include $(CLEAR_VARS) |
| 36 LOCAL_MODULE := test_load_library |
| 37 LOCAL_SRC_FILES := test_load_library.cpp |
| 38 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 39 include $(BUILD_EXECUTABLE) |
| 40 |
| 41 include $(CLEAR_VARS) |
| 42 LOCAL_MODULE := test_load_library_depends |
| 43 LOCAL_SRC_FILES := test_load_library_depends.cpp |
| 44 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 45 include $(BUILD_EXECUTABLE) |
| 46 |
| 47 include $(CLEAR_VARS) |
| 48 LOCAL_MODULE := test_dl_wrappers |
| 49 LOCAL_SRC_FILES := test_dl_wrappers.cpp |
| 50 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 51 include $(BUILD_EXECUTABLE) |
| 52 |
| 53 include $(CLEAR_VARS) |
| 54 LOCAL_MODULE := test_constructors_destructors |
| 55 LOCAL_SRC_FILES := test_constructors_destructors.cpp |
| 56 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 57 include $(BUILD_EXECUTABLE) |
| 58 |
| 59 include $(CLEAR_VARS) |
| 60 LOCAL_MODULE := test_relro_sharing |
| 61 LOCAL_SRC_FILES := test_relro_sharing.cpp |
| 62 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 63 include $(BUILD_EXECUTABLE) |
| 64 |
| 65 ifneq (,$(strip $(CRAZY_BENCH))) |
| 66 include $(CLEAR_VARS) |
| 67 LOCAL_MODULE := bench_load_library |
| 68 LOCAL_SRC_FILES := $(LOCAL_MODULE).cpp |
| 69 LOCAL_STATIC_LIBRARIES := crazy_linker |
| 70 include $(BUILD_EXECUTABLE) |
| 71 endif |
| 72 |
| 73 include $(LOCAL_PATH)/../Android.mk |
OLD | NEW |