blob: d050de29146b7d57506dbf9a86002cbe4def7b9b [file] [log] [blame]
Jeff Sharkeyf5fdad92015-07-13 10:13:27 -07001#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE_TAGS := tests
Paul Duffin228b45e2017-01-10 12:08:43 +000022LOCAL_STATIC_JAVA_LIBRARIES := \
23 android-support-test \
24 compatibility-device-util \
25 ctstestrunner \
Paul Duffinde806402017-06-13 16:11:01 +010026 ub-uiautomator
27
28LOCAL_JAVA_LIBRARIES := legacy-android-test
Jeff Sharkeyf5fdad92015-07-13 10:13:27 -070029
30LOCAL_SRC_FILES := $(call all-java-files-under, src) \
Svet Ganov1a761d32016-04-27 09:31:52 -070031 ../ExternalStorageApp/src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java \
32 ../UsePermissionApp23/src/com/android/cts/usepermission/BasePermissionActivity.java \
33 ../UsePermissionApp23/src/com/android/cts/usepermission/BasePermissionsTest.java
Jeff Sharkeyf5fdad92015-07-13 10:13:27 -070034
Svet Ganov1a761d32016-04-27 09:31:52 -070035LOCAL_PACKAGE_NAME := CtsUsePermissionApp22
Anton Hansson1cb8cb52018-02-22 14:33:32 +000036LOCAL_PRIVATE_PLATFORM_APIS := true
Jeff Sharkeyf5fdad92015-07-13 10:13:27 -070037
Stuart Scott2ff78ae2016-02-18 19:25:52 -080038# tag this module as a cts test artifact
nickrosef1efbc62017-07-05 12:38:06 -070039LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Aaron Holdenc7f3b252015-10-20 11:48:37 -070040
Jeff Sharkeyf5fdad92015-07-13 10:13:27 -070041LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey2
42
43LOCAL_PROGUARD_ENABLED := disabled
44LOCAL_DEX_PREOPT := false
45
46include $(BUILD_CTS_SUPPORT_PACKAGE)