xref: /aosp_15_r20/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2018 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
15package {
16    default_team: "trendy_team_framework_android_packages",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test_helper_app {
21    name: "CtsMediaStorageApp",
22    defaults: ["cts_support_defaults"],
23    min_sdk_version: "29",
24    sdk_version: "test_current",
25    static_libs: [
26        "cts-scopedstorage-lib",
27        "compatibility-device-util-axt",
28        "androidx.test.rules",
29        "androidx.test.uiautomator_uiautomator",
30    ],
31    libs: ["android.test.base.stubs.test"],
32    srcs: ["src/**/*.java"],
33    asset_dirs: ["assets"],
34    test_suites: [
35        "general-tests",
36    ],
37    manifest: "AndroidManifest.xml",
38}
39
40android_test_helper_app {
41    name: "CtsMediaStorageApp28",
42    defaults: ["cts_support_defaults"],
43    min_sdk_version: "28",
44    sdk_version: "test_current",
45    static_libs: [
46        "cts-scopedstorage-lib",
47        "compatibility-device-util-axt",
48        "androidx.test.rules",
49        "androidx.test.uiautomator_uiautomator",
50    ],
51    libs: ["android.test.base.stubs.test"],
52    srcs: ["src/**/*.java"],
53    asset_dirs: ["assets"],
54    test_suites: [
55        "general-tests",
56    ],
57    manifest: "AndroidManifest28.xml",
58}
59
60android_test_helper_app {
61    name: "CtsMediaStorageApp29",
62    defaults: ["cts_support_defaults"],
63    min_sdk_version: "29",
64    sdk_version: "test_current",
65    static_libs: [
66        "cts-scopedstorage-lib",
67        "compatibility-device-util-axt",
68        "androidx.test.rules",
69        "androidx.test.uiautomator_uiautomator",
70    ],
71    libs: ["android.test.base.stubs.test"],
72    srcs: ["src/**/*.java"],
73    asset_dirs: ["assets"],
74    test_suites: [
75        "general-tests",
76    ],
77    manifest: "AndroidManifest29.xml",
78}
79
80android_test_helper_app {
81    name: "CtsMediaStorageApp31",
82    defaults: ["cts_support_defaults"],
83    min_sdk_version: "31",
84    sdk_version: "test_current",
85    static_libs: [
86        "cts-scopedstorage-lib",
87        "compatibility-device-util-axt",
88        "androidx.test.rules",
89        "ub-uiautomator",
90    ],
91    libs: ["android.test.base.stubs.test"],
92    srcs: ["src/**/*.java"],
93    asset_dirs: ["assets"],
94    test_suites: [
95        "general-tests",
96    ],
97    manifest: "AndroidManifest31.xml",
98}
99