Merge "Check LEGACY_USE_JAVA7 before using 1.8."
am: 239783a7ff
* commit '239783a7ff9691ec92034f0268eeebbe75e906e3':
Check LEGACY_USE_JAVA7 before using 1.8.
This commit is contained in:
commit
efe15f7429
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@
|
||||||
## Java version
|
## Java version
|
||||||
###########################################################
|
###########################################################
|
||||||
ifeq (,$(LOCAL_JAVA_LANGUAGE_VERSION))
|
ifeq (,$(LOCAL_JAVA_LANGUAGE_VERSION))
|
||||||
LOCAL_JAVA_LANGUAGE_VERSION := 1.8
|
ifeq (,$(LEGACY_USE_JAVA7))
|
||||||
|
LOCAL_JAVA_LANGUAGE_VERSION := 1.8
|
||||||
|
else
|
||||||
|
LOCAL_JAVA_LANGUAGE_VERSION := 1.7
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
LOCAL_JAVACFLAGS += -source $(LOCAL_JAVA_LANGUAGE_VERSION) -target $(LOCAL_JAVA_LANGUAGE_VERSION)
|
LOCAL_JAVACFLAGS += -source $(LOCAL_JAVA_LANGUAGE_VERSION) -target $(LOCAL_JAVA_LANGUAGE_VERSION)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue