Lorenzo Colitti | 35402eb | 2016-02-19 13:32:30 +0900 | [diff] [blame] | 1 | ######################################################################### |
| 2 | # Build FrameworksUtilTests package |
| 3 | ######################################################################### |
| 4 | |
| 5 | LOCAL_PATH:= $(call my-dir) |
| 6 | include $(CLEAR_VARS) |
| 7 | |
| 8 | # We only want this apk build for tests. |
| 9 | LOCAL_MODULE_TAGS := tests |
| 10 | |
| 11 | # Include all test java files. |
| 12 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Svetoslav Ganov | 04df738 | 2016-05-10 18:55:47 -0700 | [diff] [blame] | 13 | LOCAL_SRC_FILES += src/android/util/IRemoteMemoryIntArray.aidl |
Lorenzo Colitti | 35402eb | 2016-02-19 13:32:30 +0900 | [diff] [blame] | 14 | |
Svetoslav Ganov | 74c9983 | 2016-12-05 20:07:20 -0800 | [diff] [blame] | 15 | LOCAL_JNI_SHARED_LIBRARIES := libmemoryintarraytest libcutils libc++ |
| 16 | |
Lorenzo Colitti | 35402eb | 2016-02-19 13:32:30 +0900 | [diff] [blame] | 17 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Mitchell Wills | 634c1f9 | 2016-02-18 18:01:33 -0800 | [diff] [blame] | 18 | android-support-test \ |
Lorenzo Colitti | 7df1a82 | 2016-10-28 12:37:38 +0900 | [diff] [blame] | 19 | frameworks-base-testutils \ |
Paul Duffin | f71d5b5 | 2017-05-09 15:52:46 +0100 | [diff] [blame] | 20 | mockito-target-minus-junit4 \ |
| 21 | legacy-android-tests |
Lorenzo Colitti | 35402eb | 2016-02-19 13:32:30 +0900 | [diff] [blame] | 22 | |
| 23 | LOCAL_JAVA_LIBRARIES := android.test.runner |
| 24 | |
| 25 | LOCAL_PACKAGE_NAME := FrameworksUtilTests |
| 26 | |
| 27 | LOCAL_CERTIFICATE := platform |
| 28 | |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 29 | LOCAL_COMPATIBILITY_SUITE := device-tests |
| 30 | |
Lorenzo Colitti | 35402eb | 2016-02-19 13:32:30 +0900 | [diff] [blame] | 31 | include $(BUILD_PACKAGE) |
Paul Duffin | f71d5b5 | 2017-05-09 15:52:46 +0100 | [diff] [blame] | 32 | |