Aaron Holden | ebaf3fd | 2015-09-23 11:13:41 -0700 | [diff] [blame] | 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 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | # Don't include this package in any target |
| 20 | LOCAL_MODULE_TAGS := tests |
| 21 | # When built, explicitly put it in the data partition. |
| 22 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) |
| 23 | |
| 24 | LOCAL_DEX_PREOPT := false |
| 25 | |
| 26 | LOCAL_PROGUARD_ENABLED := disabled |
| 27 | |
Paul Duffin | 51cd9e8 | 2017-03-01 13:21:08 +0000 | [diff] [blame] | 28 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Brett Chabot | 0146627 | 2019-03-06 15:52:42 -0800 | [diff] [blame] | 29 | androidx.test.rules \ |
Paul Duffin | fda34ce | 2017-12-08 00:02:41 +0000 | [diff] [blame] | 30 | compatibility-device-preconditions |
Aaron Holden | ebaf3fd | 2015-09-23 11:13:41 -0700 | [diff] [blame] | 31 | |
Paul Duffin | b7a1329 | 2017-12-15 07:27:19 +0000 | [diff] [blame] | 32 | LOCAL_JAVA_LIBRARIES := android.test.base.stubs |
| 33 | |
Aaron Holden | ebaf3fd | 2015-09-23 11:13:41 -0700 | [diff] [blame] | 34 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 35 | |
Stuart Scott | 2ff78ae | 2016-02-18 19:25:52 -0800 | [diff] [blame] | 36 | # Tag this module as a cts test artifact |
Alan Ma | 7f184c9 | 2018-05-16 14:35:54 -0700 | [diff] [blame] | 37 | LOCAL_COMPATIBILITY_SUITE := cts vts general-tests cts_instant |
Aaron Holden | ebaf3fd | 2015-09-23 11:13:41 -0700 | [diff] [blame] | 38 | |
| 39 | LOCAL_PACKAGE_NAME := CtsPreconditions |
| 40 | |
Guang Zhu | 979bdde | 2018-05-02 11:21:38 -0700 | [diff] [blame] | 41 | LOCAL_SDK_VERSION := 26 |
Aaron Holden | ebaf3fd | 2015-09-23 11:13:41 -0700 | [diff] [blame] | 42 | |
| 43 | include $(BUILD_PACKAGE) |