summaryrefslogtreecommitdiffstats
path: root/TestCommon/Android.mk
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2012-08-17 16:06:16 -0700
committerChiao Cheng <chiaocheng@google.com>2012-08-17 16:06:16 -0700
commitd6ee8ee8ff25334a6544570d3f0c454bec955908 (patch)
tree3662962fe10dac42f79dce36442b8211d1d7f926 /TestCommon/Android.mk
parent6f0954c3483fab42ee29b4ba342d3401dd843372 (diff)
downloadandroid_packages_apps_ContactsCommon-d6ee8ee8ff25334a6544570d3f0c454bec955908.tar.gz
android_packages_apps_ContactsCommon-d6ee8ee8ff25334a6544570d3f0c454bec955908.tar.bz2
android_packages_apps_ContactsCommon-d6ee8ee8ff25334a6544570d3f0c454bec955908.zip
Adding common test classes for dialer and contacts.
Bug: 6993891 Change-Id: I4bd6fc38be1723e8f33c88041d0d459d43cac6a5
Diffstat (limited to 'TestCommon/Android.mk')
-rw-r--r--TestCommon/Android.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/TestCommon/Android.mk b/TestCommon/Android.mk
new file mode 100644
index 00000000..77853421
--- /dev/null
+++ b/TestCommon/Android.mk
@@ -0,0 +1,28 @@
+# Copyright 2012, The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+# This has to be LOCAL_JAVA instead of LOCAL_STATIC since this test util is installed in the same
+# vm as the packages to be tested. Otherwise you will get error
+# "Class ref in pre-verified class resolved to unexpected implementation"
+# when running the unit tests.
+LOCAL_JAVA_LIBRARIES := guava
+
+LOCAL_MODULE := com.android.contacts.common.test
+include $(BUILD_STATIC_JAVA_LIBRARY)