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) |
| 4 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 5 | |
| 6 | LOCAL_MODULE := DrmSessionManager_test |
| 7 | |
| 8 | LOCAL_MODULE_TAGS := tests |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
| 11 | DrmSessionManager_test.cpp \ |
| 12 | |
| 13 | LOCAL_SHARED_LIBRARIES := \ |
| 14 | liblog \ |
| 15 | libmediaplayerservice \ |
| 16 | libutils \ |
| 17 | |
| 18 | LOCAL_C_INCLUDES := \ |
| 19 | frameworks/av/include \ |
| 20 | frameworks/av/media/libmediaplayerservice \ |
| 21 | |
| 22 | include $(BUILD_NATIVE_TEST) |
| 23 | |
| 24 | # Include subdirectory makefiles |
| 25 | # ============================================================ |
| 26 | |
| 27 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 28 | # team really wants is to build the stuff defined by this makefile. |
| 29 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 30 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 31 | endif |