Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -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 | LOCAL_PACKAGE_NAME := CtsLibcoreTestCases |
Anton Hansson | 1cb8cb5 | 2018-02-22 14:33:32 +0000 | [diff] [blame^] | 20 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 21 | |
| 22 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 23 | apache-harmony-tests \ |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 24 | conscrypt-tests \ |
| 25 | core-tests \ |
| 26 | cts-core-test-runner \ |
Guang Zhu | a21da06 | 2016-08-15 14:48:42 -0700 | [diff] [blame] | 27 | mockito-target-minus-junit4 \ |
Neil Fuller | 363a5e0 | 2017-06-13 15:09:00 +0100 | [diff] [blame] | 28 | time_zone_distro-tests \ |
Neil Fuller | 2eb7810 | 2017-06-29 11:58:51 +0100 | [diff] [blame] | 29 | time_zone_distro_installer-tests |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 30 | |
| 31 | # Don't include this package in any target |
| 32 | LOCAL_MODULE_TAGS := tests |
| 33 | |
| 34 | # When built, explicitly put it in the data partition. |
| 35 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) |
| 36 | |
| 37 | LOCAL_DEX_PREOPT := false |
| 38 | LOCAL_JACK_FLAGS := --multi-dex native |
Colin Cross | d9e4bdc | 2017-01-30 17:03:12 -0800 | [diff] [blame] | 39 | LOCAL_DX_FLAGS := --multi-dex |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 40 | |
| 41 | LOCAL_PROGUARD_ENABLED := disabled |
Tobias Thierer | ff65e07 | 2017-06-06 21:01:01 +0100 | [diff] [blame] | 42 | # Keep META-INF/ resources from LOCAL_STATIC_JAVA_LIBRARIES. http://b/62341677 |
| 43 | LOCAL_DONT_DELETE_JAR_META_INF := true |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 44 | LOCAL_JNI_SHARED_LIBRARIES := libjavacoretests libsqlite_jni libnativehelper_compat_libc++ libc++ |
| 45 | |
| 46 | # Include both the 32 and 64 bit versions of libjavacoretests, |
| 47 | # where applicable. |
| 48 | LOCAL_MULTILIB := both |
| 49 | |
| 50 | # Tag this module as a cts test artifact |
nickrose | f1efbc6 | 2017-07-05 12:38:06 -0700 | [diff] [blame] | 51 | LOCAL_COMPATIBILITY_SUITE := cts vts general-tests |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 52 | |
Adam Vartanian | 31d012f | 2017-05-23 10:43:23 +0100 | [diff] [blame] | 53 | # NOTE: virtualdeviceknownfailures.txt is only used for simulated/cloud-based |
| 54 | # continuous build configurations, so it's not referenced in AndroidTest.xml |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 55 | LOCAL_JAVA_RESOURCE_FILES := \ |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 56 | libcore/expectations/knownfailures.txt \ |
Guang Zhu | 4ddabe2 | 2016-09-22 18:37:57 -0700 | [diff] [blame] | 57 | libcore/expectations/virtualdeviceknownfailures.txt |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 58 | |
Igor Murashkin | ab5dafc | 2016-06-16 16:36:37 -0700 | [diff] [blame] | 59 | include $(BUILD_CTS_SUPPORT_PACKAGE) |