summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 922ad84255af51c4dc06d52207214f9560d5028c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# For Android L MR1 and lower, need to include libstlport
# For M, this is not needed
MAJOR_VERSION := $(shell echo $(PLATFORM_VERSION) | cut -f1 -d.)
MINOR_VERSION := $(shell echo $(PLATFORM_VERSION) | cut -f2 -d.)

ifeq ($(shell test $(MAJOR_VERSION) -le 4 && echo 1), 1)
INCLUDE_STLPORT:=true
else ifeq ($(shell test $(MAJOR_VERSION) -eq 5 -a $(MINOR_VERSION) -le 1 && echo 1), 1)
INCLUDE_STLPORT:=true
else
INCLUDE_STLPORT:=false
endif

# Recursive call sub-folder Android.mk
#
# currently disabled due to python-related build issues
#include $(call all-subdir-makefiles)