1# Copyright (C) 2021 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.
14LOCAL_PATH:= $(call my-dir)
15
16include $(CLEAR_VARS)
17
18# Don't include this package in any target
19LOCAL_MODULE_TAGS := tests
20
21# When built, explicitly put it in the data partition.
22LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
23
24LOCAL_DEX_PREOPT := false
25
26LOCAL_PROGUARD_ENABLED := disabled
27
28LOCAL_STATIC_JAVA_LIBRARIES := \
29    androidx.test.rules \
30    androidx.test.ext.junit \
31    compatibility-device-util-axt \
32    platform-test-annotations \
33    compatibility-device-util-axt \
34    cts-wm-util \
35    android-common \
36    android-support-v4 \
37
38LOCAL_JAVA_LIBRARIES := \
39    android.test.base \
40    android.test.runner \
41
42LOCAL_SRC_FILES := $(call all-java-files-under, src)
43
44# Tag this module as a cts test artifact
45LOCAL_COMPATIBILITY_SUITE := cts general-tests
46
47LOCAL_PACKAGE_NAME := CtsRotationResolverServiceDeviceTestCases
48LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
49LOCAL_LICENSE_CONDITIONS := notice
50
51LOCAL_SDK_VERSION := test_current
52
53include $(BUILD_CTS_PACKAGE)
54
55include $(call all-makefiles-under,$(LOCAL_PATH))
56