Brett Chabot | 5252553 | 2009-06-26 16:51:44 -0700 | [diff] [blame] | 1 | # Copyright (C) 2009 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 | |
Brett Chabot | 5252553 | 2009-06-26 16:51:44 -0700 | [diff] [blame] | 19 | # Only compile source java files in this apk. |
| 20 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 21 | |
Aaron Holden | c7f3b25 | 2015-10-20 11:48:37 -0700 | [diff] [blame] | 22 | LOCAL_MODULE := CtsAppSecurityHostTestCases |
Brett Chabot | 5252553 | 2009-06-26 16:51:44 -0700 | [diff] [blame] | 23 | |
Julien Desprez | 26d92f2 | 2016-11-11 12:11:33 +0000 | [diff] [blame] | 24 | LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util |
Brett Chabot | 5252553 | 2009-06-26 16:51:44 -0700 | [diff] [blame] | 25 | |
Alex Klyubin | 4d6e70b | 2016-03-31 18:56:59 -0700 | [diff] [blame] | 26 | LOCAL_JAVA_RESOURCE_DIRS := res |
| 27 | |
Aaron Holden | c7f3b25 | 2015-10-20 11:48:37 -0700 | [diff] [blame] | 28 | LOCAL_CTS_TEST_PACKAGE := android.appsecurity |
| 29 | |
Stuart Scott | 2ff78ae | 2016-02-18 19:25:52 -0800 | [diff] [blame] | 30 | # tag this module as a cts test artifact |
| 31 | LOCAL_COMPATIBILITY_SUITE := cts |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 32 | |
y | 6e71334 | 2018-04-06 13:03:28 -0700 | [diff] [blame] | 33 | LOCAL_REQUIRED_MODULES := \ |
| 34 | CtsCorruptApkTests_b71360999 \ |
Ryan Mitchell | c96babf | 2018-05-31 13:29:00 -0700 | [diff] [blame^] | 35 | CtsCorruptApkTests_b71361168 \ |
| 36 | CtsCorruptApkTests_b79488511 |
y | 6e71334 | 2018-04-06 13:03:28 -0700 | [diff] [blame] | 37 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 38 | include $(BUILD_CTS_HOST_JAVA_LIBRARY) |
Brett Chabot | 5252553 | 2009-06-26 16:51:44 -0700 | [diff] [blame] | 39 | |
| 40 | # Build the test APKs using their own makefiles |
| 41 | include $(call all-makefiles-under,$(LOCAL_PATH)) |