aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2017-09-07 15:31:26 -0500
committerRob Herring <[email protected]>2017-09-11 09:35:23 -0500
commit0ba2d2652549b10e7a6269c41cfd29afd81dc324 (patch)
treefc406f0b815231d6d6149fcfcf0af556537a9d2d /Android.mk
parentaf726a1e2ca30a7cbd95319ad24aab8d9c6a855e (diff)
Android: Add LLVM support for Android P
The Android version in AOSP master has changed now to P, so we need to add LLVM flags for it. Duplicating the lines because I expect the version will get bumped at some point and diverge from O. Cc: Chih-Wei Huang <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index e03eb716123..9dc0bbd1d7d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -97,6 +97,8 @@ define mesa-build-with-llvm
$(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=0)) \
$(if $(filter 8,$(MESA_ANDROID_MAJOR_VERSION)), \
$(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=0)) \
+ $(if $(filter P,$(MESA_ANDROID_MAJOR_VERSION)), \
+ $(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=0)) \
$(eval LOCAL_SHARED_LIBRARIES += libLLVM)
endef