xref: /aosp_15_r20/cts/tests/storageaccess/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2023 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_applicable_licenses: ["Android-Apache-2.0"],
17    default_team: "trendy_team_android_storage",
18}
19
20android_test {
21    name: "CtsStorageAccessTestCases",
22    defaults: ["cts_defaults"],
23
24    static_libs: [
25        // Among other things compatibility-device-util-axt "includes": androidx.test.core,
26        // androidx.core_core, androidx.test.ext.junit, androidx.test.rules,
27        // androidx.test.uiautomator_uiautomator
28        "compatibility-device-util-axt",
29    ],
30    libs: [
31        "android.test.runner.stubs.test",
32        "android.test.base.stubs.test",
33    ],
34    srcs: [
35        "src/**/*.java",
36        "src/**/*.kt",
37    ],
38
39    // Need to run this on Android R and above.
40    min_sdk_version: "30",
41    sdk_version: "test_current",
42    dex_preopt: {
43        enabled: false,
44    },
45    optimize: {
46        enabled: false,
47    },
48
49    // Tag this module as a CTS and MTS test artifact.
50    test_suites: [
51        "cts",
52        "general-tests",
53        "mts-documentsui",
54        "mcts-documentsui",
55    ],
56}
57