• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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    android-support-v4 \
40    mockito-target-minus-junit4 \
41    ctsdeviceutil \
42    ctstestrunner \
43    ub-uiautomator \
44    ShortcutManagerTestUtils
45
46LOCAL_SDK_VERSION := current
47
48include $(BUILD_CTS_PACKAGE)
49
50# =============================
51
52include $(CLEAR_VARS)
53
54# Tag this module as a cts test artifact
55LOCAL_COMPATIBILITY_SUITE := cts
56
57LOCAL_PACKAGE_NAME := CtsShortcutUpgradeVersion2
58
59LOCAL_MODULE_TAGS := optional
60
61LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
62
63LOCAL_SRC_FILES := $(call all-java-files-under, src) \
64    $(call all-java-files-under, ../common/src)
65
66LOCAL_RESOURCE_DIR :=  $(LOCAL_PATH)/version2/res
67
68LOCAL_STATIC_JAVA_LIBRARIES := \
69    android-support-test \
70    android-support-v4 \
71    mockito-target-minus-junit4 \
72    ctsdeviceutil \
73    ctstestrunner \
74    ub-uiautomator \
75    ShortcutManagerTestUtils
76
77LOCAL_SDK_VERSION := current
78
79include $(BUILD_CTS_PACKAGE)
80