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 |
Dan Shi | af30771 | 2017-03-26 23:49:27 -0700 | [diff] [blame] | 28 | LOCAL_COMPATIBILITY_SUITE := device-tests |
Felipe Leme | 59f5af0 | 2016-07-21 20:10:57 -0700 | [diff] [blame] | 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) |