diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-10-11 16:07:09 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-03-16 20:18:40 +0800 |
commit | 9a3759c3ddeee2ba4b2215074df3d21d24e65c5c (patch) | |
tree | f7a50860909cbf540a0f1597b955ee778b32f1dd /src/gallium/state_trackers | |
parent | f547fef2d066607650635136910bbcc781cf6bff (diff) |
android: Add Android.mk's.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/Android.mk | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/Android.mk b/src/gallium/state_trackers/Android.mk new file mode 100644 index 0000000000..e0ae537505 --- /dev/null +++ b/src/gallium/state_trackers/Android.mk @@ -0,0 +1,38 @@ +LOCAL_PATH := $(call my-dir) + +common_SOURCES := \ + egl/common/egl_g3d.c \ + egl/common/egl_g3d_api.c \ + egl/common/egl_g3d_image.c \ + egl/common/egl_g3d_st.c \ + egl/common/egl_g3d_sync.c \ + egl/common/native_helper.c + +android_SOURCES := \ + egl/android/native_android.cpp + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(common_SOURCES) \ + $(android_SOURCES) + +LOCAL_CFLAGS := \ + -DHAVE_ANDROID_BACKEND \ + -fvisibility=hidden \ + -Wno-sign-compare + +LOCAL_C_INCLUDES := \ + external/mesa/include \ + external/mesa/src/gallium/include \ + external/mesa/src/gallium/auxiliary \ + external/mesa/src/egl/main \ + external/mesa/src/gallium/state_trackers/egl \ + external/mesa/src/gallium/winsys/sw \ + external/mesa/src/gralloc \ + external/drm \ + external/drm/include/drm + +LOCAL_MODULE := libmesa_st_egl + +include $(BUILD_STATIC_LIBRARY) |