1 # Copyright (C) 2016 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 17 #----------------------------------------------------------- 18 include $(CLEAR_VARS) 19 20 LOCAL_PACKAGE_NAME := CtsShortcutManagerLauncher1 21 22 LOCAL_MODULE_TAGS := optional 23 24 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 25 26 LOCAL_SRC_FILES := $(call all-java-files-under, ../src) \ 27 $(call all-java-files-under, ../../common/src) 28 29 LOCAL_STATIC_JAVA_LIBRARIES := \ 30 android-support-test \ 31 androidx.legacy_legacy-support-v4 \ 32 mockito-target-minus-junit4 \ 33 compatibility-device-util \ 34 ctstestrunner \ 35 ub-uiautomator \ 36 ShortcutManagerTestUtils 37 38 LOCAL_SDK_VERSION := current 39 40 # tag this module as a cts test artifact 41 LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 42 43 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launcher1 44 45 include $(BUILD_CTS_PACKAGE) 46 47 #----------------------------------------------------------- 48 include $(CLEAR_VARS) 49 50 LOCAL_PACKAGE_NAME := CtsShortcutManagerLauncher2 51 52 LOCAL_MODULE_TAGS := optional 53 54 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 55 56 LOCAL_SRC_FILES := $(call all-java-files-under, ../src) \ 57 $(call all-java-files-under, ../../common/src) 58 59 LOCAL_STATIC_JAVA_LIBRARIES := \ 60 android-support-test \ 61 androidx.legacy_legacy-support-v4 \ 62 mockito-target-minus-junit4 \ 63 compatibility-device-util \ 64 ctstestrunner \ 65 ub-uiautomator \ 66 ShortcutManagerTestUtils 67 68 LOCAL_SDK_VERSION := current 69 70 # tag this module as a cts test artifact 71 LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 72 73 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launcher2 74 75 include $(BUILD_CTS_PACKAGE) 76 77 #----------------------------------------------------------- 78 include $(CLEAR_VARS) 79 80 LOCAL_PACKAGE_NAME := CtsShortcutManagerLauncher3 81 82 LOCAL_MODULE_TAGS := optional 83 84 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 85 86 LOCAL_SRC_FILES := $(call all-java-files-under, ../src) \ 87 $(call all-java-files-under, ../../common/src) 88 89 LOCAL_STATIC_JAVA_LIBRARIES := \ 90 android-support-test \ 91 androidx.legacy_legacy-support-v4 \ 92 mockito-target-minus-junit4 \ 93 compatibility-device-util \ 94 ctstestrunner \ 95 ub-uiautomator \ 96 ShortcutManagerTestUtils 97 98 LOCAL_SDK_VERSION := current 99 100 # tag this module as a cts test artifact 101 LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 102 103 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launcher3 104 105 include $(BUILD_CTS_PACKAGE) 106