From 0f6e5d2ab775d23961a460b289030cf4db841a03 Mon Sep 17 00:00:00 2001 From: Deepanshu Gupta Date: Tue, 16 Sep 2014 11:11:36 -0700 Subject: Build LayoutLib tests with Java 6 Build the layoutlib tests with Java 6, so that we can test LayoutLib on Java 6 also. Change-Id: I8ab344af29c880dafdc195d8b061a1d08e724e26 --- tools/layoutlib/bridge/tests/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/layoutlib/bridge') diff --git a/tools/layoutlib/bridge/tests/Android.mk b/tools/layoutlib/bridge/tests/Android.mk index 5e47c8c..11390c3 100644 --- a/tools/layoutlib/bridge/tests/Android.mk +++ b/tools/layoutlib/bridge/tests/Android.mk @@ -18,8 +18,8 @@ include $(CLEAR_VARS) # Only compile source java files in this lib. LOCAL_SRC_FILES := $(call all-java-files-under, src) - LOCAL_JAVA_RESOURCE_DIRS := res +LOCAL_JAVACFLAGS := -source 6 -target 6 LOCAL_MODULE := layoutlib-tests LOCAL_MODULE_TAGS := optional -- cgit v1.1