Revert "Omit calls to set composing region when pasting image."
[chromium-blink-merge.git] / third_party / android_crazy_linker / src / tests / Android.mk
blob7a7a3321781dd683a94fcc2787e5608efc43b53f
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 LOCAL_PATH := $(call my-dir)
7 include $(CLEAR_VARS)
8 LOCAL_MODULE := libfoo
9 LOCAL_SRC_FILES := foo.cpp
10 LOCAL_LDLIBS := -llog
11 include $(BUILD_SHARED_LIBRARY)
13 include $(CLEAR_VARS)
14 LOCAL_MODULE := libfoo2
15 LOCAL_SRC_FILES := foo2.cpp
16 LOCAL_LDLIBS := -llog
17 include $(BUILD_SHARED_LIBRARY)
19 include $(CLEAR_VARS)
20 LOCAL_MODULE := libfoo_with_static_constructor
21 LOCAL_SRC_FILES := foo_with_static_constructor.cpp
22 LOCAL_LDLIBS := -llog
23 include $(BUILD_SHARED_LIBRARY)
25 include $(CLEAR_VARS)
26 LOCAL_MODULE := libfoo_with_relro
27 LOCAL_SRC_FILES := foo_with_relro.cpp
28 LOCAL_LDLIBS := -llog
29 include $(BUILD_SHARED_LIBRARY)
32 include $(CLEAR_VARS)
33 LOCAL_MODULE := libbar
34 LOCAL_SRC_FILES := bar.cpp
35 LOCAL_SHARED_LIBRARIES := libfoo
36 LOCAL_LDLIBS := -llog
37 include $(BUILD_SHARED_LIBRARY)
39 include $(CLEAR_VARS)
40 LOCAL_MODULE := libbar_with_relro
41 LOCAL_SRC_FILES := bar_with_relro.cpp
42 LOCAL_SHARED_LIBRARIES := libfoo_with_relro
43 LOCAL_LDLIBS := -llog
44 include $(BUILD_SHARED_LIBRARY)
46 include $(CLEAR_VARS)
47 LOCAL_MODULE := libzoo
48 LOCAL_SRC_FILES := zoo.cpp
49 LOCAL_LDLIBS := -ldl
50 include $(BUILD_SHARED_LIBRARY)
52 include $(CLEAR_VARS)
53 LOCAL_MODULE := libjni_lib
54 LOCAL_SRC_FILES := jni_lib.cpp
55 include $(BUILD_SHARED_LIBRARY)
57 include $(CLEAR_VARS)
58 LOCAL_MODULE := test_load_library
59 LOCAL_SRC_FILES := test_load_library.cpp
60 LOCAL_STATIC_LIBRARIES := crazy_linker
61 include $(BUILD_EXECUTABLE)
63 include $(CLEAR_VARS)
64 LOCAL_MODULE := test_load_library_depends
65 LOCAL_SRC_FILES := test_load_library_depends.cpp
66 LOCAL_STATIC_LIBRARIES := crazy_linker
67 include $(BUILD_EXECUTABLE)
69 include $(CLEAR_VARS)
70 LOCAL_MODULE := test_load_library_callbacks
71 LOCAL_SRC_FILES := test_load_library_callbacks.cpp
72 LOCAL_STATIC_LIBRARIES := crazy_linker
73 include $(BUILD_EXECUTABLE)
75 include $(CLEAR_VARS)
76 LOCAL_MODULE := test_dl_wrappers
77 LOCAL_SRC_FILES := test_dl_wrappers.cpp
78 LOCAL_STATIC_LIBRARIES := crazy_linker
79 include $(BUILD_EXECUTABLE)
81 include $(CLEAR_VARS)
82 LOCAL_MODULE := test_constructors_destructors
83 LOCAL_SRC_FILES := test_constructors_destructors.cpp
84 LOCAL_STATIC_LIBRARIES := crazy_linker
85 include $(BUILD_EXECUTABLE)
87 include $(CLEAR_VARS)
88 LOCAL_MODULE := test_shared_relro
89 LOCAL_SRC_FILES := test_shared_relro.cpp
90 LOCAL_STATIC_LIBRARIES := crazy_linker
91 include $(BUILD_EXECUTABLE)
93 include $(CLEAR_VARS)
94 LOCAL_MODULE := test_relocated_shared_relro
95 LOCAL_SRC_FILES := test_relocated_shared_relro.cpp
96 LOCAL_STATIC_LIBRARIES := crazy_linker
97 include $(BUILD_EXECUTABLE)
99 include $(CLEAR_VARS)
100 LOCAL_MODULE := test_two_shared_relros
101 LOCAL_SRC_FILES := test_two_shared_relros.cpp
102 LOCAL_STATIC_LIBRARIES := crazy_linker
103 include $(BUILD_EXECUTABLE)
105 include $(CLEAR_VARS)
106 LOCAL_MODULE := test_search_path_list
107 LOCAL_SRC_FILES := test_search_path_list.cpp
108 LOCAL_STATIC_LIBRARIES := crazy_linker
109 include $(BUILD_EXECUTABLE)
111 include $(CLEAR_VARS)
112 LOCAL_MODULE := test_jni_hooks
113 LOCAL_SRC_FILES := test_jni_hooks.cpp
114 LOCAL_STATIC_LIBRARIES := crazy_linker
115 include $(BUILD_EXECUTABLE)
118 ifneq (,$(strip $(CRAZY_BENCH)))
119 include $(CLEAR_VARS)
120 LOCAL_MODULE := bench_load_library
121 LOCAL_SRC_FILES := $(LOCAL_MODULE).cpp
122 LOCAL_STATIC_LIBRARIES := crazy_linker
123 include $(BUILD_EXECUTABLE)
124 endif
126 include $(LOCAL_PATH)/../Android.mk