blob: c3ab6bf486906b9ecc0a42eb99d6b097c61d510b [file] [log] [blame]
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -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
15android_test_helper_app {
16 name: "CtsUsePermissionDiffCert",
17 defaults: ["cts_support_defaults"],
18 srcs: [
19 "src/**/*.java",
Winsonc0ce6572020-06-04 16:15:34 -070020 "src/**/*.kt",
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -070021 ],
22 sdk_version: "current",
23 static_libs: [
24 "CtsPermissionDeclareUtilLib",
25 "androidx.test.rules",
Winsonc0ce6572020-06-04 16:15:34 -070026 "testng",
Alan Stokesffa64c32020-03-30 13:54:56 +010027 "truth-prebuilt",
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -070028 ],
Jiyong Parkcaaed962020-05-19 21:12:39 +090029 libs: ["android.test.base"],
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -070030 // tag this module as a cts test artifact
31 test_suites: [
32 "cts",
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -070033 "general-tests",
Christopher Dombroski20057cc2019-12-03 13:55:36 -080034 "sts",
Sasha Smundakc0fc7ca2019-05-14 09:44:40 -070035 ],
36 // sign this app with a different cert than CtsPermissionDeclareApp
37 certificate: ":cts-testkey2",
38}