summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 60fb3bd37913a6e6bef2699d36666fee03d123d8 (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
#

include $(call all-subdir-makefiles)