1# Build the unit tests for installd 2LOCAL_PATH := $(call my-dir) 3include $(CLEAR_VARS) 4 5# Build the unit tests. 6test_src_files := \ 7 installd_utils_test.cpp 8 9shared_libraries := \ 10 libutils \ 11 libcutils \ 12 libstlport 13 14static_libraries := \ 15 libinstalld \ 16 libdiskusage \ 17 libgtest \ 18 libgtest_main 19 20c_includes := \ 21 frameworks/native/cmds/installd 22 23$(foreach file,$(test_src_files), \ 24 $(eval include $(CLEAR_VARS)) \ 25 $(eval LOCAL_SHARED_LIBRARIES := $(shared_libraries)) \ 26 $(eval LOCAL_STATIC_LIBRARIES := $(static_libraries)) \ 27 $(eval LOCAL_SRC_FILES := $(file)) \ 28 $(eval LOCAL_C_INCLUDES := $(c_includes)) \ 29 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \ 30 $(eval include $(BUILD_NATIVE_TEST)) \ 31) 32