1# Copyright (C) 2015 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 16LOCAL_PATH := $(call my-dir) 17 18# 19# Build rule for Launcher3Tests 20# 21include $(CLEAR_VARS) 22 23LOCAL_MODULE_TAGS := tests 24LOCAL_STATIC_JAVA_LIBRARIES := \ 25 androidx.test.runner \ 26 androidx.test.rules \ 27 androidx.test.uiautomator_uiautomator \ 28 mockito-target-minus-junit4 \ 29 launcher_log_protos_lite 30 31LOCAL_PRIVATE_PLATFORM_APIS := true 32LOCAL_STATIC_JAVA_LIBRARIES += launcher-aosp-tapl 33 34LOCAL_SRC_FILES := \ 35 $(call all-java-files-under, src) \ 36 $(call all-java-files-under, src_common) 37 38 39LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml 40 41LOCAL_PACKAGE_NAME := Launcher3Tests 42 43LOCAL_INSTRUMENTATION_FOR := Launcher3 44 45LOCAL_TEST_CONFIG := Launcher3Tests.xml 46 47LOCAL_COMPATIBILITY_SUPPORT_FILES := $(call intermediates-dir-for,APPS,Launcher3)/package.apk:Launcher3.apk 48 49LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 50LOCAL_LICENSE_CONDITIONS := notice 51LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE 52include $(BUILD_PACKAGE) 53 54include $(call all-makefiles-under,$(LOCAL_PATH)) 55