blob: 880bc75bc3b509875c97582d720c85be5a5a1776 [file] [log] [blame]
Felipe Leme2628e9e2016-04-12 16:36:51 -07001LOCAL_PATH:= $(call my-dir)
Felipe Leme59f5af02016-07-21 20:10:57 -07002
3# bugreportz
4# ==========
5
Felipe Leme2628e9e2016-04-12 16:36:51 -07006include $(CLEAR_VARS)
7
Felipe Leme59f5af02016-07-21 20:10:57 -07008LOCAL_SRC_FILES:= \
9 bugreportz.cpp \
10 main.cpp \
Felipe Leme2628e9e2016-04-12 16:36:51 -070011
12LOCAL_MODULE:= bugreportz
13
Felipe Leme59f5af02016-07-21 20:10:57 -070014LOCAL_CFLAGS := -Werror -Wall
Felipe Leme2628e9e2016-04-12 16:36:51 -070015
Felipe Leme59f5af02016-07-21 20:10:57 -070016LOCAL_SHARED_LIBRARIES := \
17 libbase \
18 libcutils \
Felipe Leme2628e9e2016-04-12 16:36:51 -070019
20include $(BUILD_EXECUTABLE)
Felipe Leme59f5af02016-07-21 20:10:57 -070021
22# bugreportz_test
23# ===============
24
25include $(CLEAR_VARS)
26
27LOCAL_MODULE := bugreportz_test
28LOCAL_MODULE_TAGS := tests
29
30LOCAL_CFLAGS := -Werror -Wall
31
32LOCAL_SRC_FILES := \
33 bugreportz.cpp \
34 bugreportz_test.cpp \
35
36LOCAL_STATIC_LIBRARIES := \
37 libgmock \
38
39LOCAL_SHARED_LIBRARIES := \
40 libbase \
41 libutils \
42
43include $(BUILD_NATIVE_TEST)