1 LOCAL_PATH:= $(call my-dir) 2 3 # bugreportz 4 # ========== 5 6 include $(CLEAR_VARS) 7 8 LOCAL_SRC_FILES:= \ 9 bugreportz.cpp \ 10 main.cpp \ 11 12 LOCAL_MODULE:= bugreportz 13 14 LOCAL_CFLAGS := -Werror -Wall 15 16 LOCAL_SHARED_LIBRARIES := \ 17 libbase \ 18 libcutils \ 19 20 include $(BUILD_EXECUTABLE) 21 22 # bugreportz_test 23 # =============== 24 25 include $(CLEAR_VARS) 26 27 LOCAL_MODULE := bugreportz_test 28 LOCAL_MODULE_TAGS := tests 29 30 LOCAL_CFLAGS := -Werror -Wall 31 32 LOCAL_SRC_FILES := \ 33 bugreportz.cpp \ 34 bugreportz_test.cpp \ 35 36 LOCAL_STATIC_LIBRARIES := \ 37 libgmock \ 38 39 LOCAL_SHARED_LIBRARIES := \ 40 libbase \ 41 libutils \ 42 43 include $(BUILD_NATIVE_TEST) 44