diff options
author | Ziyan <jaraidaniel@gmail.com> | 2015-10-09 01:53:59 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-17 22:46:37 +0100 |
commit | 731f282f33a6f30fc0a2378136100f8cab7c1825 (patch) | |
tree | a0ca67f1c5c6105013379fc95df1a9c823b5db2e /camera | |
parent | 279fa1241dec2d666d92eec566a6cabfc1ad9f86 (diff) | |
download | device_samsung_tuna-731f282f33a6f30fc0a2378136100f8cab7c1825.zip device_samsung_tuna-731f282f33a6f30fc0a2378136100f8cab7c1825.tar.gz device_samsung_tuna-731f282f33a6f30fc0a2378136100f8cab7c1825.tar.bz2 |
android-api: add MM
Change-Id: I0a17b1fd55aa1488e7b8c4cdde4d8aebc02bc6b5
Diffstat (limited to 'camera')
-rw-r--r-- | camera/android-api.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camera/android-api.mk b/camera/android-api.mk index da3f56e..3b4e1f6 100644 --- a/camera/android-api.mk +++ b/camera/android-api.mk @@ -1,5 +1,6 @@ # Makefile variables and C/C++ macros to recognize API level +ANDROID_API_MM_OR_LATER := ANDROID_API_LP_OR_LATER := ANDROID_API_KK_OR_LATER := ANDROID_API_JB_MR1_OR_LATER := @@ -7,6 +8,10 @@ ANDROID_API_JB_OR_LATER := ANDROID_API_ICS_OR_LATER := ANDROID_API_CFLAGS := +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 23 || echo 1),) + ANDROID_API_MM_OR_LATER := true + ANDROID_API_CFLAGS += -DANDROID_API_MM_OR_LATER +endif ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 20 || echo 1),) ANDROID_API_LP_OR_LATER := true ANDROID_API_CFLAGS += -DANDROID_API_LP_OR_LATER @@ -29,6 +34,7 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 14 || echo 1),) endif define clear-android-api-vars +$(eval ANDROID_API_MM_OR_LATER:=) \ $(eval ANDROID_API_LP_OR_LATER:=) \ $(eval ANDROID_API_KK_OR_LATER:=) \ $(eval ANDROID_API_JB_MR1_OR_LATER:=) \ |