diff options
author | Chia-I Wu <[email protected]> | 2011-08-17 11:56:43 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-21 02:01:49 +0800 |
commit | b81b82df955ad19eec55fa593b533673f083f593 (patch) | |
tree | 3b796ce18b0a4515cba0425272a804304c4bb4f4 /src/mesa/Android.mk | |
parent | ee40f18054088dad8e1d1eca2c44204576813d6b (diff) |
android: build glsl
This builds the static library libmesa_glsl and executable glsl_compiler
from glsl. glsl_compiler is only installed for engineering build.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/Android.mk')
-rw-r--r-- | src/mesa/Android.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mesa/Android.mk b/src/mesa/Android.mk index e32fabed49e..67808d491ac 100644 --- a/src/mesa/Android.mk +++ b/src/mesa/Android.mk @@ -81,3 +81,35 @@ include $(LOCAL_PATH)/Android.gen.mk include $(MESA_COMMON_MK) include $(BUILD_STATIC_LIBRARY) endif # MESA_BUILD_GALLIUM + +# --------------------------------------- +# Build libmesa_glsl_utils +# +# It is used to avoid circular dependency between core mesa and glsl. +# --------------------------------------- + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + program/hash_table.c \ + program/symbol_table.c + +LOCAL_MODULE := libmesa_glsl_utils + +include $(MESA_COMMON_MK) +include $(BUILD_STATIC_LIBRARY) + +# --------------------------------------- +# Build libmesa_glsl_utils for host +# --------------------------------------- + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + program/hash_table.c \ + program/symbol_table.c + +LOCAL_MODULE := libmesa_glsl_utils + +include $(MESA_COMMON_MK) +include $(BUILD_HOST_STATIC_LIBRARY) |