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