1/*
2 * Copyright (C) 2023 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 */
17
18package {
19    default_team: "trendy_team_platform_security",
20    default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
23android_test_helper_app {
24    name: "CVE-2023-21131-target",
25    defaults: [
26        "cts_support_defaults",
27    ],
28    srcs: [
29        "target-app/src/**/*.java",
30    ],
31    test_suites: [
32        "sts",
33    ],
34    manifest: "target-app/AndroidManifest.xml",
35}
36
37android_test_helper_app {
38    name: "CVE-2023-21131-test",
39    defaults: [
40        "cts_support_defaults",
41    ],
42    srcs: [
43        "test-app/src/**/*.java",
44    ],
45    test_suites: [
46        "sts",
47    ],
48    static_libs: [
49        "androidx.test.core",
50        "androidx.test.rules",
51        "androidx.test.uiautomator_uiautomator",
52        "compatibility-device-util-axt",
53        "sts-device-util",
54    ],
55    manifest: "test-app/AndroidManifest.xml",
56    resource_dirs: [
57        "res",
58        "test-app/res",
59    ],
60    platform_apis: true,
61}
62