1LOCAL_PATH := $(call my-dir)
2
3memory_replay_src_files := \
4	Action.cpp \
5	LineBuffer.cpp \
6	NativeInfo.cpp \
7	Pointers.cpp \
8	Thread.cpp \
9	Threads.cpp \
10
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := $(memory_replay_src_files) main.cpp
14LOCAL_CFLAGS := -Wall -Wextra -Werror
15LOCAL_MODULE_TAGS := debug
16LOCAL_MODULE := memory_replay
17LOCAL_MULTILIB := both
18LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
19LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
20include $(BUILD_EXECUTABLE)
21
22include $(CLEAR_VARS)
23
24LOCAL_SRC_FILES := $(memory_replay_src_files) main.cpp
25LOCAL_CFLAGS := -Wall -Wextra -Werror
26LOCAL_MODULE_TAGS := debug
27LOCAL_MODULE := memory_replay
28LOCAL_MODULE_HOST_OS := linux
29LOCAL_LDLIBS := -lrt
30include $(BUILD_HOST_EXECUTABLE)
31
32memory_replay_test_src_files := \
33	tests/ActionTest.cpp \
34	tests/LineBufferTest.cpp \
35	tests/NativeInfoTest.cpp \
36	tests/PointersTest.cpp \
37	tests/ThreadTest.cpp \
38	tests/ThreadsTest.cpp \
39
40include $(CLEAR_VARS)
41
42LOCAL_SRC_FILES := \
43	$(memory_replay_src_files) \
44	$(memory_replay_test_src_files) \
45
46LOCAL_CFLAGS := -Wall -Wextra -Werror
47LOCAL_C_INCLUDES := $(LOCAL_PATH)/tests
48LOCAL_MODULE_TAGS := debug
49LOCAL_MODULE := memory_replay_tests
50
51LOCAL_SHARED_LIBRARIES := libbase
52
53LOCAL_MULTILIB := both
54LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
55LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
56include $(BUILD_NATIVE_TEST)
57
58include $(CLEAR_VARS)
59
60LOCAL_SRC_FILES := \
61	$(memory_replay_src_files) \
62	$(memory_replay_test_src_files) \
63
64LOCAL_CFLAGS := -Wall -Wextra -Werror
65LOCAL_C_INCLUDES := $(LOCAL_PATH)/tests
66LOCAL_MODULE_TAGS := debug
67LOCAL_MODULE := memory_replay_tests
68LOCAL_MODULE_HOST_OS := linux
69
70LOCAL_SHARED_LIBRARIES := libbase
71LOCAL_LDLIBS := -lrt
72
73LOCAL_MULTILIB := both
74LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
75LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
76include $(BUILD_HOST_NATIVE_TEST)
77
78memory_replay_src_files :=
79memory_replay_test_src_files :=
80