Brett Chabot | caf30a1 | 2011-07-28 19:33:22 -0700 | [diff] [blame] | 1 | # Copyright (C) 2011 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | LOCAL_MODULE_TAGS := tests |
| 19 | |
Sid Soundararajan | b58c46a | 2016-01-26 15:39:27 -0800 | [diff] [blame^] | 20 | LOCAL_JACK_FLAGS := --multi-dex native |
| 21 | |
Blazej Magnowski | 7232332 | 2015-07-24 11:49:40 -0700 | [diff] [blame] | 22 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
| 23 | LOCAL_PROTOC_FLAGS := -I$(LOCAL_PATH)/.. |
| 24 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors |
| 25 | |
Jason Monk | 87ccd55 | 2015-12-11 21:39:54 -0500 | [diff] [blame] | 26 | LOCAL_AAPT_FLAGS := --auto-add-overlay \ |
Sid Soundararajan | b58c46a | 2016-01-26 15:39:27 -0800 | [diff] [blame^] | 27 | --extra-packages com.android.systemui:com.android.keyguard:android.support.v14.preference:android.support.v7.preference:android.support.v7.appcompat:android.support.v7.recyclerview \ |
| 28 | --extra-packages android.support.v17.leanback |
Winson | 190fe3bf | 2015-10-20 14:57:24 -0700 | [diff] [blame] | 29 | |
Jason Monk | 29f7a7b | 2014-11-17 14:40:56 -0500 | [diff] [blame] | 30 | LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |
Winson | 190fe3bf | 2015-10-20 14:57:24 -0700 | [diff] [blame] | 31 | $(call all-Iaidl-files-under, src) \ |
Jason Monk | 29f7a7b | 2014-11-17 14:40:56 -0500 | [diff] [blame] | 32 | $(call all-java-files-under, ../src) \ |
Blazej Magnowski | 7232332 | 2015-07-24 11:49:40 -0700 | [diff] [blame] | 33 | $(call all-proto-files-under, ../src) \ |
Jason Monk | 29f7a7b | 2014-11-17 14:40:56 -0500 | [diff] [blame] | 34 | src/com/android/systemui/EventLogTags.logtags |
| 35 | |
| 36 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \ |
Jason Monk | 87ccd55 | 2015-12-11 21:39:54 -0500 | [diff] [blame] | 37 | frameworks/support/v7/preference/res \ |
| 38 | frameworks/support/v14/preference/res \ |
| 39 | frameworks/support/v7/appcompat/res \ |
| 40 | frameworks/support/v7/recyclerview/res \ |
Sid Soundararajan | b58c46a | 2016-01-26 15:39:27 -0800 | [diff] [blame^] | 41 | frameworks/support/v17/leanback/res \ |
Jason Monk | 29f7a7b | 2014-11-17 14:40:56 -0500 | [diff] [blame] | 42 | frameworks/base/packages/SystemUI/res \ |
| 43 | frameworks/base/packages/Keyguard/res |
Brett Chabot | caf30a1 | 2011-07-28 19:33:22 -0700 | [diff] [blame] | 44 | |
Jason Monk | f13b4b3 | 2014-11-07 16:39:34 -0500 | [diff] [blame] | 45 | LOCAL_JAVA_LIBRARIES := android.test.runner telephony-common |
Brett Chabot | caf30a1 | 2011-07-28 19:33:22 -0700 | [diff] [blame] | 46 | |
| 47 | LOCAL_PACKAGE_NAME := SystemUITests |
Jason Monk | e0cdb60 | 2014-11-05 12:39:45 -0500 | [diff] [blame] | 48 | |
Winson | c29ff00 | 2015-11-20 16:00:45 -0800 | [diff] [blame] | 49 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 50 | mockito-target \ |
| 51 | Keyguard \ |
Jason Monk | 87ccd55 | 2015-12-11 21:39:54 -0500 | [diff] [blame] | 52 | android-support-v7-recyclerview \ |
| 53 | android-support-v7-preference \ |
| 54 | android-support-v7-appcompat \ |
Sid Soundararajan | b58c46a | 2016-01-26 15:39:27 -0800 | [diff] [blame^] | 55 | android-support-v14-preference \ |
| 56 | android-support-v17-leanback |
Brett Chabot | caf30a1 | 2011-07-28 19:33:22 -0700 | [diff] [blame] | 57 | |
| 58 | # sign this with platform cert, so this test is allowed to inject key events into |
| 59 | # UI it doesn't own. This is necessary to allow screenshots to be taken |
| 60 | LOCAL_CERTIFICATE := platform |
| 61 | |
Jason Monk | 2ba4ce6 | 2015-01-13 10:08:23 -0500 | [diff] [blame] | 62 | include frameworks/base/packages/SettingsLib/common.mk |
| 63 | |
Brett Chabot | caf30a1 | 2011-07-28 19:33:22 -0700 | [diff] [blame] | 64 | include $(BUILD_PACKAGE) |