blob: 1e6b96fcffab196df6f7d3dda2a0f8db9a37a902 [file] [log] [blame]
Brett Chabot52525532009-06-26 16:51:44 -07001# 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
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
Brett Chabot52525532009-06-26 16:51:44 -070019# Only compile source java files in this apk.
20LOCAL_SRC_FILES := $(call all-java-files-under, src)
21
Aaron Holdenc7f3b252015-10-20 11:48:37 -070022LOCAL_MODULE := CtsAppSecurityHostTestCases
Brett Chabot52525532009-06-26 16:51:44 -070023
Julien Desprez26d92f22016-11-11 12:11:33 +000024LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util
Brett Chabot52525532009-06-26 16:51:44 -070025
Alex Klyubin4d6e70b2016-03-31 18:56:59 -070026LOCAL_JAVA_RESOURCE_DIRS := res
27
Aaron Holdenc7f3b252015-10-20 11:48:37 -070028LOCAL_CTS_TEST_PACKAGE := android.appsecurity
29
Stuart Scott2ff78ae2016-02-18 19:25:52 -080030# tag this module as a cts test artifact
31LOCAL_COMPATIBILITY_SUITE := cts
Brian Muramatsu5df641c2011-12-28 15:46:57 -080032
y6e713342018-04-06 13:03:28 -070033LOCAL_REQUIRED_MODULES := \
34 CtsCorruptApkTests_b71360999 \
Ryan Mitchellc96babf2018-05-31 13:29:00 -070035 CtsCorruptApkTests_b71361168 \
36 CtsCorruptApkTests_b79488511
y6e713342018-04-06 13:03:28 -070037
Brian Muramatsu5df641c2011-12-28 15:46:57 -080038include $(BUILD_CTS_HOST_JAVA_LIBRARY)
Brett Chabot52525532009-06-26 16:51:44 -070039
40# Build the test APKs using their own makefiles
41include $(call all-makefiles-under,$(LOCAL_PATH))