Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: third_party/android_crazy_linker/src/tests/Android.mk

Issue 322433006: Fork of the Android NDK crazy linker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a required license header to a cpp module, missing in the original. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2013 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.
4
5 LOCAL_PATH := $(call my-dir)
6
7 include $(CLEAR_VARS)
8 LOCAL_MODULE := libfoo
9 LOCAL_SRC_FILES := foo.cpp
10 LOCAL_LDLIBS := -llog
11 include $(BUILD_SHARED_LIBRARY)
12
13 include $(CLEAR_VARS)
14 LOCAL_MODULE := libfoo2
15 LOCAL_SRC_FILES := foo2.cpp
16 LOCAL_LDLIBS := -llog
17 include $(BUILD_SHARED_LIBRARY)
18
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)
24
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)
30
31
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)
38
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)
45
46 include $(CLEAR_VARS)
47 LOCAL_MODULE := libzoo
48 LOCAL_SRC_FILES := zoo.cpp
49 LOCAL_LDLIBS := -ldl
50 include $(BUILD_SHARED_LIBRARY)
51
52 include $(CLEAR_VARS)
53 LOCAL_MODULE := libjni_lib
54 LOCAL_SRC_FILES := jni_lib.cpp
55 include $(BUILD_SHARED_LIBRARY)
56
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)
62
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)
68
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)
74
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)
80
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)
86
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)
92
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)
98
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)
104
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)
110
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)
116
117
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
125
126 include $(LOCAL_PATH)/../Android.mk
OLDNEW
« no previous file with comments | « third_party/android_crazy_linker/src/src/linker_phdr.cpp ('k') | third_party/android_crazy_linker/src/tests/bar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698