Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 1 | # Copyright (C) 2015 The Android Open Source Project |
Tsu Chiang Chuang | 8c7a2b7 | 2011-05-20 16:17:17 -0700 | [diff] [blame] | 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 | # |
Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 15 | |
| 16 | LOCAL_PATH := $(call my-dir) |
Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_MODULE_TAGS := tests |
Sunny Goyal | d230307 | 2018-08-14 15:21:45 -0700 | [diff] [blame] | 20 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Vadim Tryshev | 0a9f3ab | 2018-08-15 15:28:47 -0700 | [diff] [blame] | 21 | androidx-test \ |
| 22 | androidx.test.uiautomator_uiautomator \ |
Sunny Goyal | d230307 | 2018-08-14 15:21:45 -0700 | [diff] [blame] | 23 | mockito-target-minus-junit4 \ |
Hyunyoung Song | b441a7e | 2018-08-28 14:02:55 -0700 | [diff] [blame] | 24 | launcher-aosp-tapl |
Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 25 | |
Hyunyoung Song | b0d77fe | 2017-01-05 10:55:42 -0800 | [diff] [blame] | 26 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Sunny Goyal | 658058b | 2017-01-21 01:33:02 -0800 | [diff] [blame] | 27 | LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml |
Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 28 | |
Hyunyoung Song | c22dec2 | 2018-06-14 14:38:14 -0700 | [diff] [blame] | 29 | LOCAL_SDK_VERSION := 28 |
Sunny Goyal | f0ba8b7 | 2016-09-09 15:47:55 -0700 | [diff] [blame] | 30 | LOCAL_MIN_SDK_VERSION := 21 |
Hyunyoung Song | 170a9f3 | 2015-03-02 11:55:42 -0800 | [diff] [blame] | 31 | |
| 32 | LOCAL_PACKAGE_NAME := Launcher3Tests |
| 33 | |
| 34 | LOCAL_INSTRUMENTATION_FOR := Launcher3 |
| 35 | |
| 36 | include $(BUILD_PACKAGE) |
Vadim Tryshev | a279b2e | 2018-06-18 19:14:44 -0700 | [diff] [blame] | 37 | |
| 38 | # |
| 39 | # Build rule for Tapl library. |
| 40 | # |
| 41 | include $(CLEAR_VARS) |
Sunny Goyal | d230307 | 2018-08-14 15:21:45 -0700 | [diff] [blame] | 42 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 43 | androidx.annotation_annotation \ |
Vadim Tryshev | 0a9f3ab | 2018-08-15 15:28:47 -0700 | [diff] [blame] | 44 | androidx-test \ |
| 45 | androidx.test.uiautomator_uiautomator \ |
Sunny Goyal | d230307 | 2018-08-14 15:21:45 -0700 | [diff] [blame] | 46 | libSharedSystemUI |
Vadim Tryshev | a279b2e | 2018-06-18 19:14:44 -0700 | [diff] [blame] | 47 | |
Vadim Tryshev | b02bcd4 | 2018-08-07 13:16:40 -0700 | [diff] [blame] | 48 | LOCAL_SRC_FILES := $(call all-java-files-under, tapl) \ |
Vadim Tryshev | b6398a1 | 2018-08-14 19:53:43 -0700 | [diff] [blame] | 49 | ../quickstep/src/com/android/quickstep/SwipeUpSetting.java \ |
| 50 | ../src/com/android/launcher3/TestProtocol.java |
Vadim Tryshev | a279b2e | 2018-06-18 19:14:44 -0700 | [diff] [blame] | 51 | |
| 52 | LOCAL_SDK_VERSION := current |
Hyunyoung Song | b441a7e | 2018-08-28 14:02:55 -0700 | [diff] [blame] | 53 | LOCAL_MODULE := launcher-aosp-tapl |
Vadim Tryshev | a279b2e | 2018-06-18 19:14:44 -0700 | [diff] [blame] | 54 | |
| 55 | include $(BUILD_STATIC_JAVA_LIBRARY) |