diff options
author | Eric Anholt <[email protected]> | 2015-06-07 11:57:46 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-06-15 10:32:23 -0700 |
commit | fd3234891f7203d6b2b0992c34e880df325f75ea (patch) | |
tree | a5113f17c6b8b7c51f0d0d3bb09d499f36ddeb4c /src/gallium/auxiliary/Android.mk | |
parent | 71aaf62fca3ed8b18fc2dcd69be0fd6bb7e58a91 (diff) |
gallium: Enable build of NIR support on Android.
v2: Add a comment explaining why we link libmesa_glsl.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Android.mk')
-rw-r--r-- | src/gallium/auxiliary/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 2d91752595c..86430eb6a21 100644 --- a/src/gallium/auxiliary/Android.mk +++ b/src/gallium/auxiliary/Android.mk @@ -30,6 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ $(C_SOURCES) \ + $(NIR_SOURCES) \ $(VL_STUB_SOURCES) LOCAL_C_INCLUDES := \ @@ -43,7 +44,9 @@ LOCAL_SRC_FILES += \ LOCAL_CPPFLAGS := -std=c++11 endif +# We need libmesa_glsl to get NIR's generated include directories. LOCAL_MODULE := libmesa_gallium +LOCAL_STATIC_LIBRARIES += libmesa_glsl # generate sources LOCAL_MODULE_CLASS := STATIC_LIBRARIES |