The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | # We only want this apk build for tests. |
| 5 | LOCAL_MODULE_TAGS := tests |
| 6 | |
| 7 | # Include all test java files. |
| 8 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 9 | |
| 10 | LOCAL_PACKAGE_NAME := CalendarProviderTests |
Simran Basi | d8a5aaf | 2017-03-15 15:14:31 -0700 | [diff] [blame] | 11 | LOCAL_COMPATIBILITY_SUITE := device-tests |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 12 | |
Paul Duffin | 0e278f6 | 2017-12-08 00:02:43 +0000 | [diff] [blame] | 13 | LOCAL_STATIC_JAVA_LIBRARIES := calendar-common junit |
Tony Mak | 5bbd1b0 | 2015-09-11 14:53:52 +0100 | [diff] [blame] | 14 | |
Paul Duffin | 0e278f6 | 2017-12-08 00:02:43 +0000 | [diff] [blame] | 15 | LOCAL_JAVA_LIBRARIES := \ |
| 16 | ext \ |
| 17 | android.test.runner \ |
| 18 | android.test.base \ |
| 19 | android.test.mock \ |
| 20 | |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 21 | |
| 22 | LOCAL_INSTRUMENTATION_FOR := CalendarProvider |
| 23 | |
| 24 | include $(BUILD_PACKAGE) |