summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-09-16 11:11:36 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-09-16 11:11:36 -0700
commit0f6e5d2ab775d23961a460b289030cf4db841a03 (patch)
tree2f40de7c232dfec6d93dc81b41efc98edadf2e44 /tools/layoutlib
parent145bc2d067faa3fb49b71e9e8c8c70b40564061a (diff)
downloadframeworks_base-0f6e5d2ab775d23961a460b289030cf4db841a03.zip
frameworks_base-0f6e5d2ab775d23961a460b289030cf4db841a03.tar.gz
frameworks_base-0f6e5d2ab775d23961a460b289030cf4db841a03.tar.bz2
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
Diffstat (limited to 'tools/layoutlib')
-rw-r--r--tools/layoutlib/bridge/tests/Android.mk2
1 files changed, 1 insertions, 1 deletions
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