Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 1 | ######################################################################### |
Jason Monk | ec4b677 | 2017-12-06 10:31:09 -0500 | [diff] [blame] | 2 | # Build FrameworksUiServicesTests package |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 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 test java files and source from notifications package. |
| 12 | LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |
| 13 | $(call all-java-files-under, ../../core/java/com/android/server/notification) |
| 14 | |
| 15 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 16 | frameworks-base-testutils \ |
| 17 | services.accessibility \ |
| 18 | services.core \ |
| 19 | services.devicepolicy \ |
| 20 | services.net \ |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 21 | services.usage \ |
| 22 | guava \ |
| 23 | android-support-test \ |
| 24 | mockito-target-minus-junit4 \ |
Geoffrey Pitsch | 415e454 | 2017-04-10 13:12:58 -0400 | [diff] [blame] | 25 | platform-test-annotations \ |
| 26 | testables |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 27 | |
Paul Duffin | 2710ca1 | 2017-12-05 18:36:56 +0000 | [diff] [blame] | 28 | LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 29 | |
Paul Duffin | 2abe1be | 2017-03-11 12:26:13 +0000 | [diff] [blame] | 30 | LOCAL_JACK_FLAGS := --multi-dex native |
Colin Cross | 17ffa24 | 2017-06-20 15:38:05 -0700 | [diff] [blame] | 31 | LOCAL_DX_FLAGS := --multi-dex |
Paul Duffin | 2abe1be | 2017-03-11 12:26:13 +0000 | [diff] [blame] | 32 | |
Jason Monk | ec4b677 | 2017-12-06 10:31:09 -0500 | [diff] [blame] | 33 | LOCAL_PACKAGE_NAME := FrameworksUiServicesTests |
Simran Basi | 473a16e | 2017-03-15 14:43:58 -0700 | [diff] [blame] | 34 | LOCAL_COMPATIBILITY_SUITE := device-tests |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 35 | |
| 36 | LOCAL_CERTIFICATE := platform |
| 37 | |
| 38 | # These are not normally accessible from apps so they must be explicitly included. |
Colin Cross | e399468 | 2017-01-11 14:29:10 -0800 | [diff] [blame] | 39 | LOCAL_JNI_SHARED_LIBRARIES := \ |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 40 | libbacktrace \ |
| 41 | libbase \ |
| 42 | libbinder \ |
| 43 | libc++ \ |
| 44 | libcutils \ |
| 45 | liblog \ |
| 46 | liblzma \ |
| 47 | libnativehelper \ |
| 48 | libnetdaidl \ |
| 49 | libui \ |
| 50 | libunwind \ |
| 51 | libutils |
| 52 | |
| 53 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 54 | |
Geoffrey Pitsch | b879cc6 | 2016-11-01 13:38:22 -0400 | [diff] [blame] | 55 | include $(BUILD_PACKAGE) |