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_COMPATIBILITY_SUITE := device-tests 29 LOCAL_MODULE_TAGS := tests 30 31 LOCAL_CFLAGS := -Werror -Wall 32 33 LOCAL_SRC_FILES := \ 34 bugreportz.cpp \ 35 bugreportz_test.cpp \ 36 37 LOCAL_STATIC_LIBRARIES := \ 38 libgmock \ 39 40 LOCAL_SHARED_LIBRARIES := \ 41 libbase \ 42 libutils \ 43 44 include $(BUILD_NATIVE_TEST) 45