blob: 80b690fb83d7a46c3f75c11affa9600853822603 [file] [log] [blame]
Hyunyoung Song170a9f32015-03-02 11:55:42 -08001# Copyright (C) 2015 The Android Open Source Project
Tsu Chiang Chuang8c7a2b72011-05-20 16:17:17 -07002#
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#
Hyunyoung Song170a9f32015-03-02 11:55:42 -080015
16LOCAL_PATH := $(call my-dir)
Hyunyoung Song170a9f32015-03-02 11:55:42 -080017include $(CLEAR_VARS)
18
19LOCAL_MODULE_TAGS := tests
Sunny Goyald2303072018-08-14 15:21:45 -070020LOCAL_STATIC_JAVA_LIBRARIES := \
Vadim Tryshev0a9f3ab2018-08-15 15:28:47 -070021 androidx-test \
22 androidx.test.uiautomator_uiautomator \
Sunny Goyald2303072018-08-14 15:21:45 -070023 mockito-target-minus-junit4 \
Hyunyoung Songb441a7e2018-08-28 14:02:55 -070024 launcher-aosp-tapl
Hyunyoung Song170a9f32015-03-02 11:55:42 -080025
Hyunyoung Songb0d77fe2017-01-05 10:55:42 -080026LOCAL_SRC_FILES := $(call all-java-files-under, src)
Sunny Goyal658058b2017-01-21 01:33:02 -080027LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
Hyunyoung Song170a9f32015-03-02 11:55:42 -080028
Hyunyoung Songc22dec22018-06-14 14:38:14 -070029LOCAL_SDK_VERSION := 28
Sunny Goyalf0ba8b72016-09-09 15:47:55 -070030LOCAL_MIN_SDK_VERSION := 21
Hyunyoung Song170a9f32015-03-02 11:55:42 -080031
32LOCAL_PACKAGE_NAME := Launcher3Tests
33
34LOCAL_INSTRUMENTATION_FOR := Launcher3
35
36include $(BUILD_PACKAGE)
Vadim Trysheva279b2e2018-06-18 19:14:44 -070037
38#
39# Build rule for Tapl library.
40#
41include $(CLEAR_VARS)
Sunny Goyald2303072018-08-14 15:21:45 -070042LOCAL_STATIC_JAVA_LIBRARIES := \
43 androidx.annotation_annotation \
Vadim Tryshev0a9f3ab2018-08-15 15:28:47 -070044 androidx-test \
45 androidx.test.uiautomator_uiautomator \
Sunny Goyald2303072018-08-14 15:21:45 -070046 libSharedSystemUI
Vadim Trysheva279b2e2018-06-18 19:14:44 -070047
Vadim Tryshevb02bcd42018-08-07 13:16:40 -070048LOCAL_SRC_FILES := $(call all-java-files-under, tapl) \
Vadim Tryshevb6398a12018-08-14 19:53:43 -070049 ../quickstep/src/com/android/quickstep/SwipeUpSetting.java \
50 ../src/com/android/launcher3/TestProtocol.java
Vadim Trysheva279b2e2018-06-18 19:14:44 -070051
52LOCAL_SDK_VERSION := current
Hyunyoung Songb441a7e2018-08-28 14:02:55 -070053LOCAL_MODULE := launcher-aosp-tapl
Vadim Trysheva279b2e2018-06-18 19:14:44 -070054
55include $(BUILD_STATIC_JAVA_LIBRARY)