| Ronghua Wu | 231c3d1 | 2015-03-11 15:10:32 -0700 | [diff] [blame] | 1 | # Build the unit tests. |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE := ResourceManagerService_test |
| 6 | |
| 7 | LOCAL_MODULE_TAGS := tests |
| 8 | |
| 9 | LOCAL_SRC_FILES := \ |
| 10 | ResourceManagerService_test.cpp \ |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
| 13 | libbinder \ |
| 14 | liblog \ |
| 15 | libmedia \ |
| 16 | libresourcemanagerservice \ |
| 17 | libutils \ |
| 18 | |
| 19 | LOCAL_C_INCLUDES := \ |
| 20 | frameworks/av/include \ |
| 21 | frameworks/av/services/mediaresourcemanager \ |
| 22 | |
| Ronghua Wu | a8ec8fc | 2015-05-07 13:58:22 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS += -Werror -Wall |
| Ronghua Wu | a8ec8fc | 2015-05-07 13:58:22 -0700 | [diff] [blame] | 24 | |
| 25 | LOCAL_32_BIT_ONLY := true |
| 26 | |
| 27 | include $(BUILD_NATIVE_TEST) |
| 28 | |
| 29 | include $(CLEAR_VARS) |
| 30 | |
| 31 | LOCAL_MODULE := ServiceLog_test |
| 32 | |
| 33 | LOCAL_MODULE_TAGS := tests |
| 34 | |
| 35 | LOCAL_SRC_FILES := \ |
| 36 | ServiceLog_test.cpp \ |
| 37 | |
| 38 | LOCAL_SHARED_LIBRARIES := \ |
| 39 | liblog \ |
| 40 | libmedia \ |
| 41 | libresourcemanagerservice \ |
| 42 | libutils \ |
| 43 | |
| 44 | LOCAL_C_INCLUDES := \ |
| 45 | frameworks/av/include \ |
| 46 | frameworks/av/services/mediaresourcemanager \ |
| 47 | |
| 48 | LOCAL_CFLAGS += -Werror -Wall |
| Ronghua Wu | a8ec8fc | 2015-05-07 13:58:22 -0700 | [diff] [blame] | 49 | |
| Ronghua Wu | 231c3d1 | 2015-03-11 15:10:32 -0700 | [diff] [blame] | 50 | LOCAL_32_BIT_ONLY := true |
| 51 | |
| 52 | include $(BUILD_NATIVE_TEST) |