make the gralloc test linux only

Change-Id: Ib245f7936bbe71b34903172629e09763dd725d80
This commit is contained in:
Mathias Agopian 2010-07-02 16:37:27 -07:00
parent 5bc176b1a6
commit 3f3bead8b6

View File

@ -34,11 +34,14 @@ LOCAL_CFLAGS:= -DLOG_TAG=\"$(TARGET_BOARD_PLATFORM).gralloc\"
include $(BUILD_SHARED_LIBRARY)
# Build a host library for testing
ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
gpu.cpp \
pmemalloc.cpp
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := libgralloc_qsd8k_host
LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc-qsd8k\"
include $(BUILD_HOST_STATIC_LIBRARY)
endif