Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -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 | android_test_helper_app { |
| 16 | name: "CtsUsePermissionDiffCert", |
| 17 | defaults: ["cts_support_defaults"], |
| 18 | srcs: [ |
| 19 | "src/**/*.java", |
Winson | c0ce657 | 2020-06-04 16:15:34 -0700 | [diff] [blame] | 20 | "src/**/*.kt", |
Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -0700 | [diff] [blame] | 21 | ], |
| 22 | sdk_version: "current", |
| 23 | static_libs: [ |
| 24 | "CtsPermissionDeclareUtilLib", |
| 25 | "androidx.test.rules", |
Winson | c0ce657 | 2020-06-04 16:15:34 -0700 | [diff] [blame] | 26 | "testng", |
Alan Stokes | ffa64c3 | 2020-03-30 13:54:56 +0100 | [diff] [blame] | 27 | "truth-prebuilt", |
Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -0700 | [diff] [blame] | 28 | ], |
Jiyong Park | caaed96 | 2020-05-19 21:12:39 +0900 | [diff] [blame] | 29 | libs: ["android.test.base"], |
Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -0700 | [diff] [blame] | 30 | // tag this module as a cts test artifact |
| 31 | test_suites: [ |
| 32 | "cts", |
Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -0700 | [diff] [blame] | 33 | "general-tests", |
Christopher Dombroski | 20057cc | 2019-12-03 13:55:36 -0800 | [diff] [blame] | 34 | "sts", |
Sasha Smundak | c0fc7ca | 2019-05-14 09:44:40 -0700 | [diff] [blame] | 35 | ], |
| 36 | // sign this app with a different cert than CtsPermissionDeclareApp |
| 37 | certificate: ":cts-testkey2", |
| 38 | } |