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/drivers | |
parent | f547fef2d066607650635136910bbcc781cf6bff (diff) |
android: Add Android.mk's.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/Android.mk | 1 | ||||
-rw-r--r-- | src/gallium/drivers/i915/Android.mk | 48 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/Android.mk | 52 | ||||
-rw-r--r-- | src/gallium/drivers/svga/Android.mk | 73 |
4 files changed, 174 insertions, 0 deletions
diff --git a/src/gallium/drivers/Android.mk b/src/gallium/drivers/Android.mk new file mode 100644 index 0000000000..5053e7d643 --- /dev/null +++ b/src/gallium/drivers/Android.mk @@ -0,0 +1 @@ +include $(call all-subdir-makefiles) diff --git a/src/gallium/drivers/i915/Android.mk b/src/gallium/drivers/i915/Android.mk new file mode 100644 index 0000000000..f2c1e5b5f8 --- /dev/null +++ b/src/gallium/drivers/i915/Android.mk @@ -0,0 +1,48 @@ +ifeq ($(strip $(MESA_BUILD_I915G)),true) + +LOCAL_PATH := $(call my-dir) + +# from Makefile +C_SOURCES = \ + i915_blit.c \ + i915_clear.c \ + i915_flush.c \ + i915_context.c \ + i915_debug.c \ + i915_debug_fp.c \ + i915_state.c \ + i915_state_immediate.c \ + i915_state_dynamic.c \ + i915_state_derived.c \ + i915_state_emit.c \ + i915_state_fpc.c \ + i915_state_sampler.c \ + i915_state_static.c \ + i915_screen.c \ + i915_prim_emit.c \ + i915_prim_vbuf.c \ + i915_resource.c \ + i915_resource_texture.c \ + i915_resource_buffer.c \ + i915_fpc_emit.c \ + i915_fpc_translate.c \ + i915_surface.c + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(C_SOURCES) + +LOCAL_CFLAGS := \ + -fvisibility=hidden \ + -Wno-sign-compare + +LOCAL_C_INCLUDES := \ + external/mesa/src/gallium/include \ + external/mesa/src/gallium/auxiliary + +LOCAL_MODULE := libmesa_pipe_i915 + +include $(BUILD_STATIC_LIBRARY) + +endif # MESA_BUILD_I915G diff --git a/src/gallium/drivers/softpipe/Android.mk b/src/gallium/drivers/softpipe/Android.mk new file mode 100644 index 0000000000..d8a00f4492 --- /dev/null +++ b/src/gallium/drivers/softpipe/Android.mk @@ -0,0 +1,52 @@ +LOCAL_PATH := $(call my-dir) + +# from Makefile +C_SOURCES = \ + sp_fs_exec.c \ + sp_fs_sse.c \ + sp_clear.c \ + sp_fence.c \ + sp_flush.c \ + sp_query.c \ + sp_context.c \ + sp_draw_arrays.c \ + sp_prim_vbuf.c \ + sp_quad_pipe.c \ + sp_quad_stipple.c \ + sp_quad_depth_test.c \ + sp_quad_fs.c \ + sp_quad_blend.c \ + sp_screen.c \ + sp_setup.c \ + sp_state_blend.c \ + sp_state_clip.c \ + sp_state_derived.c \ + sp_state_sampler.c \ + sp_state_shader.c \ + sp_state_so.c \ + sp_state_rasterizer.c \ + sp_state_surface.c \ + sp_state_vertex.c \ + sp_texture.c \ + sp_tex_sample.c \ + sp_tex_tile_cache.c \ + sp_tile_cache.c \ + sp_surface.c + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(C_SOURCES) + +LOCAL_CFLAGS := \ + -fvisibility=hidden \ + -Wno-sign-compare + +LOCAL_C_INCLUDES := \ + external/mesa/include \ + external/mesa/src/gallium/include \ + external/mesa/src/gallium/auxiliary + +LOCAL_MODULE := libmesa_pipe_softpipe + +include $(BUILD_STATIC_LIBRARY) diff --git a/src/gallium/drivers/svga/Android.mk b/src/gallium/drivers/svga/Android.mk new file mode 100644 index 0000000000..c39ee19086 --- /dev/null +++ b/src/gallium/drivers/svga/Android.mk @@ -0,0 +1,73 @@ +ifeq ($(strip $(MESA_BUILD_VMWGFX)),true) + +LOCAL_PATH := $(call my-dir) + +# from Makefile +C_SOURCES = \ + svgadump/svga_shader_dump.c \ + svgadump/svga_shader_op.c \ + svgadump/svga_dump.c \ + svga_cmd.c \ + svga_context.c \ + svga_draw.c \ + svga_draw_arrays.c \ + svga_draw_elements.c \ + svga_pipe_blend.c \ + svga_pipe_blit.c \ + svga_pipe_clear.c \ + svga_pipe_constants.c \ + svga_pipe_depthstencil.c \ + svga_pipe_draw.c \ + svga_pipe_flush.c \ + svga_pipe_fs.c \ + svga_pipe_misc.c \ + svga_pipe_query.c \ + svga_pipe_rasterizer.c \ + svga_pipe_sampler.c \ + svga_pipe_vertex.c \ + svga_pipe_vs.c \ + svga_screen.c \ + svga_screen_cache.c \ + svga_state.c \ + svga_state_need_swtnl.c \ + svga_state_constants.c \ + svga_state_framebuffer.c \ + svga_state_rss.c \ + svga_state_tss.c \ + svga_state_vdecl.c \ + svga_state_fs.c \ + svga_state_vs.c \ + svga_swtnl_backend.c \ + svga_swtnl_draw.c \ + svga_swtnl_state.c \ + svga_tgsi.c \ + svga_tgsi_decl_sm20.c \ + svga_tgsi_decl_sm30.c \ + svga_tgsi_insn.c \ + svga_sampler_view.c \ + svga_surface.c \ + svga_resource.c \ + svga_resource_texture.c \ + svga_resource_buffer.c \ + svga_resource_buffer_upload.c + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(C_SOURCES) + +LOCAL_CFLAGS := \ + -fvisibility=hidden \ + -Wno-sign-compare + +LOCAL_C_INCLUDES := \ + external/mesa/include \ + external/mesa/src/gallium/include \ + external/mesa/src/gallium/auxiliary \ + external/mesa/src/gallium/drivers/svga/include + +LOCAL_MODULE := libmesa_pipe_svga + +include $(BUILD_STATIC_LIBRARY) + +endif # MESA_BUILD_VMWGFX |