Ronghua Wu | 10305cc | 2015-02-22 07:55:32 -0800 | [diff] [blame] | 1 | # Build the unit tests. |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
Ronghua Wu | 10305cc | 2015-02-22 07:55:32 -0800 | [diff] [blame] | 4 | |
| 5 | LOCAL_MODULE := DrmSessionManager_test |
| 6 | |
| 7 | LOCAL_MODULE_TAGS := tests |
| 8 | |
| 9 | LOCAL_SRC_FILES := \ |
| 10 | DrmSessionManager_test.cpp \ |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
| 13 | liblog \ |
| 14 | libmediaplayerservice \ |
Jeff Tinker | 3003807 | 2016-04-25 13:41:35 -0700 | [diff] [blame] | 15 | libmediadrm \ |
Ronghua Wu | 10305cc | 2015-02-22 07:55:32 -0800 | [diff] [blame] | 16 | libutils \ |
Jeff Tinker | a53d655 | 2017-01-20 00:31:46 -0800 | [diff] [blame] | 17 | android.hardware.drm@1.0 \ |
Ronghua Wu | 10305cc | 2015-02-22 07:55:32 -0800 | [diff] [blame] | 18 | |
| 19 | LOCAL_C_INCLUDES := \ |
| 20 | frameworks/av/include \ |
| 21 | frameworks/av/media/libmediaplayerservice \ |
| 22 | |
Lajos Molnar | 6d339f1 | 2015-04-17 16:15:53 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS += -Werror -Wall |
Lajos Molnar | 6d339f1 | 2015-04-17 16:15:53 -0700 | [diff] [blame] | 24 | |
Ronghua Wu | c4fb334 | 2015-03-06 12:04:09 -0800 | [diff] [blame] | 25 | LOCAL_32_BIT_ONLY := true |
| 26 | |
Ronghua Wu | 10305cc | 2015-02-22 07:55:32 -0800 | [diff] [blame] | 27 | include $(BUILD_NATIVE_TEST) |
| 28 | |