summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/tests/codegen/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libpixelflinger/tests/codegen/Android.mk')
-rw-r--r--libpixelflinger/tests/codegen/Android.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/libpixelflinger/tests/codegen/Android.mk b/libpixelflinger/tests/codegen/Android.mk
index 2f9ca2f..045a68e 100644
--- a/libpixelflinger/tests/codegen/Android.mk
+++ b/libpixelflinger/tests/codegen/Android.mk
@@ -1,8 +1,13 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+ifeq ($(TARGET_ARCH),x86)
LOCAL_SRC_FILES:= \
- codegen.cpp.arm
+ codegen.cpp
+else
+LOCAL_SRC_FILES:= \
+ codegen.cpp.arm
+endif
LOCAL_SHARED_LIBRARIES := \
libcutils \
@@ -11,6 +16,10 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/../..
+ifeq ($(TARGET_ARCH),x86)
+LOCAL_STATIC_LIBRARIES := libenc
+endif
+
LOCAL_MODULE:= test-opengl-codegen
LOCAL_MODULE_TAGS := tests