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