When linking against .jack files that contain 1.8 language features Jack (currently) requires -D jack.java.source.version=1.8. "core-tests" includes 1.8 language features. Bug: 27113322 Bug: 26953739 Change-Id: Ib9ceaadafc9c1d41ff137c48111ad3b060f7e248
21 lines
411 B
Makefile
21 lines
411 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
|
|
LOCAL_JAVA_LANGUAGE_VERSION := 1.8
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := easymocklib \
|
|
mockito-target \
|
|
core-tests \
|
|
android-support-test \
|
|
android-ex-camera2
|
|
|
|
LOCAL_PACKAGE_NAME := mediaframeworktest
|
|
|
|
include $(BUILD_PACKAGE)
|