Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 2 | |
| 3 | # bugreportz |
| 4 | # ========== |
| 5 | |
Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 6 | include $(CLEAR_VARS) |
| 7 | |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 8 | LOCAL_SRC_FILES:= \ |
| 9 | bugreportz.cpp \ |
| 10 | main.cpp \ |
Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 11 | |
| 12 | LOCAL_MODULE:= bugreportz |
| 13 | |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 14 | LOCAL_CFLAGS := -Werror -Wall |
Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 15 | |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 16 | LOCAL_SHARED_LIBRARIES := \ |
| 17 | libbase \ |
| 18 | libcutils \ |
Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 19 | |
| 20 | include $(BUILD_EXECUTABLE) |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 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) |