Android.mk revision 7fcb077c5522c56e266947e073c8750019e5a98a
1# Build the unit tests. 2LOCAL_PATH:= $(call my-dir) 3include $(CLEAR_VARS) 4 5ifneq ($(TARGET_SIMULATOR),true) 6 7LOCAL_MODULE := SurfaceTexture_test 8 9LOCAL_MODULE_TAGS := tests 10 11LOCAL_SRC_FILES := \ 12 Surface_test.cpp \ 13 SurfaceTextureClient_test.cpp \ 14 SurfaceTexture_test.cpp \ 15 16LOCAL_SHARED_LIBRARIES := \ 17 libEGL \ 18 libGLESv2 \ 19 libandroid \ 20 libbinder \ 21 libcutils \ 22 libgui \ 23 libstlport \ 24 libui \ 25 libutils \ 26 27LOCAL_STATIC_LIBRARIES := \ 28 libgtest \ 29 libgtest_main \ 30 31LOCAL_C_INCLUDES := \ 32 bionic \ 33 bionic/libstdc++/include \ 34 external/gtest/include \ 35 external/stlport/stlport \ 36 37include $(BUILD_EXECUTABLE) 38 39endif 40 41# Include subdirectory makefiles 42# ============================================================ 43 44# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 45# team really wants is to build the stuff defined by this makefile. 46ifeq (,$(ONE_SHOT_MAKEFILE)) 47include $(call first-makefiles-under,$(LOCAL_PATH)) 48endif 49