1// 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 17android_test_helper_app { 18 name: "CtsUsePermissionApp23", 19 defaults: ["cts_support_defaults"], 20 static_libs: [ 21 "compatibility-device-util-axt", 22 "ctstestrunner-axt", 23 ], 24 libs: [ 25 "android.test.base.stubs", 26 "CtsExternalStorageTestLib", 27 ], 28 srcs: [ 29 "src/com/android/cts/usepermission/UsePermissionTest23.java", 30 ":CtsAppSecurityBasePermissionSrc", 31 ], 32 // For ACCESS_BACKGROUND_LOCATION 33 platform_apis: true, 34 // tag this module as a cts test artifact 35 test_suites: [ 36 "cts", 37 "vts10", 38 "general-tests", 39 "mts", 40 ], 41 certificate: ":cts-testkey2", 42 optimize: { 43 enabled: false, 44 }, 45 dex_preopt: { 46 enabled: false, 47 }, 48 min_sdk_version: "23", 49} 50 51filegroup { 52 name: "CtsAppSecurityBasePermissionSrc", 53 srcs: [ 54 "src/com/android/cts/usepermission/BasePermissionActivity.java", 55 "src/com/android/cts/usepermission/BasePermissionsTest.java", 56 ], 57} 58