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# We build two APKs from the same source files, each with a different set of resources. 16 17# ================================= 18 19LOCAL_PATH:= $(call my-dir) 20 21include $(CLEAR_VARS) 22 23# Tag this module as a cts test artifact 24LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 25 26LOCAL_PACKAGE_NAME := CtsShortcutUpgradeVersion1 27 28LOCAL_MODULE_TAGS := optional 29 30LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 31 32LOCAL_SRC_FILES := $(call all-java-files-under, src) \ 33 $(call all-java-files-under, ../common/src) 34 35LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/version1/res 36 37LOCAL_STATIC_JAVA_LIBRARIES := \ 38 android-support-test \ 39 androidx.legacy_legacy-support-v4 \ 40 mockito-target-minus-junit4 \ 41 compatibility-device-util \ 42 ctstestrunner \ 43 ub-uiautomator \ 44 ShortcutManagerTestUtils 45 46LOCAL_JAVA_LIBRARIES := android.test.base.stubs 47 48LOCAL_SDK_VERSION := current 49 50include $(BUILD_CTS_PACKAGE) 51 52# ============================= 53 54include $(CLEAR_VARS) 55 56# Tag this module as a cts test artifact 57LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 58 59LOCAL_PACKAGE_NAME := CtsShortcutUpgradeVersion2 60 61LOCAL_MODULE_TAGS := optional 62 63LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 64 65LOCAL_SRC_FILES := $(call all-java-files-under, src) \ 66 $(call all-java-files-under, ../common/src) 67 68LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/version2/res 69 70LOCAL_STATIC_JAVA_LIBRARIES := \ 71 android-support-test \ 72 androidx.legacy_legacy-support-v4 \ 73 mockito-target-minus-junit4 \ 74 compatibility-device-util \ 75 ctstestrunner \ 76 ub-uiautomator \ 77 ShortcutManagerTestUtils 78 79LOCAL_JAVA_LIBRARIES := android.test.base.stubs 80 81LOCAL_SDK_VERSION := current 82 83include $(BUILD_CTS_PACKAGE) 84