blob: 180fc0cb372bbb9f259f8c5a15efca9a7faf0d2d [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
Vadim Tryshevdc755e72018-08-10 20:01:24 -070020LOCAL_STATIC_JAVA_LIBRARIES := android-support-test ub-uiautomator mockito-target-minus-junit4 \
21 ub-launcher-aosp-tapl
Hyunyoung Song170a9f32015-03-02 11:55:42 -080022
Hyunyoung Songb0d77fe2017-01-05 10:55:42 -080023LOCAL_SRC_FILES := $(call all-java-files-under, src)
Sunny Goyal658058b2017-01-21 01:33:02 -080024LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
Hyunyoung Song170a9f32015-03-02 11:55:42 -080025
Hyunyoung Songc22dec22018-06-14 14:38:14 -070026LOCAL_SDK_VERSION := 28
Sunny Goyalf0ba8b72016-09-09 15:47:55 -070027LOCAL_MIN_SDK_VERSION := 21
Hyunyoung Song170a9f32015-03-02 11:55:42 -080028
29LOCAL_PACKAGE_NAME := Launcher3Tests
30
31LOCAL_INSTRUMENTATION_FOR := Launcher3
32
33include $(BUILD_PACKAGE)
Vadim Trysheva279b2e2018-06-18 19:14:44 -070034
35#
36# Build rule for Tapl library.
37#
38include $(CLEAR_VARS)
Vadim Tryshev309053f2018-08-10 14:30:59 -070039LOCAL_STATIC_JAVA_LIBRARIES := android-support-test ub-uiautomator libSharedSystemUI
Vadim Trysheva279b2e2018-06-18 19:14:44 -070040
Vadim Tryshevb02bcd42018-08-07 13:16:40 -070041LOCAL_SRC_FILES := $(call all-java-files-under, tapl) \
42 ../quickstep/src/com/android/quickstep/SwipeUpSetting.java
Vadim Trysheva279b2e2018-06-18 19:14:44 -070043
44LOCAL_SDK_VERSION := current
Vadim Tryshev44780ba2018-08-01 13:08:19 -070045LOCAL_MODULE := ub-launcher-aosp-tapl
Vadim Trysheva279b2e2018-06-18 19:14:44 -070046
47include $(BUILD_STATIC_JAVA_LIBRARY)