blob: 9c64e765aa3afc706e41f7c8b901d8f2e289a89a [file] [log] [blame]
Aaron Holdenebaf3fd2015-09-23 11:13:41 -07001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19# Don't include this package in any target
20LOCAL_MODULE_TAGS := tests
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
Paul Duffin51cd9e82017-03-01 13:21:08 +000028LOCAL_STATIC_JAVA_LIBRARIES := \
Brett Chabot01466272019-03-06 15:52:42 -080029 androidx.test.rules \
Paul Duffinfda34ce2017-12-08 00:02:41 +000030 compatibility-device-preconditions
Aaron Holdenebaf3fd2015-09-23 11:13:41 -070031
Paul Duffinb7a13292017-12-15 07:27:19 +000032LOCAL_JAVA_LIBRARIES := android.test.base.stubs
33
Aaron Holdenebaf3fd2015-09-23 11:13:41 -070034LOCAL_SRC_FILES := $(call all-java-files-under, src)
35
Stuart Scott2ff78ae2016-02-18 19:25:52 -080036# Tag this module as a cts test artifact
Alan Ma7f184c92018-05-16 14:35:54 -070037LOCAL_COMPATIBILITY_SUITE := cts vts general-tests cts_instant
Aaron Holdenebaf3fd2015-09-23 11:13:41 -070038
39LOCAL_PACKAGE_NAME := CtsPreconditions
40
Guang Zhu979bdde2018-05-02 11:21:38 -070041LOCAL_SDK_VERSION := 26
Aaron Holdenebaf3fd2015-09-23 11:13:41 -070042
43include $(BUILD_PACKAGE)