blob: 974e2ea4747ccdb21cab3b1083e359dec8b4337a [file] [log] [blame]
Sasha Smundakb85e15f2019-03-20 16:11:10 -07001// Copyright (C) 2012 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
Bob Badoure37c32e2021-02-12 19:42:55 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Sasha Smundakee2bb482019-05-14 14:31:23 -070019android_test_helper_app {
Sasha Smundakb85e15f2019-03-20 16:11:10 -070020 name: "CtsExternalStorageApp",
21 defaults: ["cts_support_defaults"],
Sahana Rao4b345f02020-02-06 10:39:23 +000022 sdk_version: "29",
Sasha Smundakb85e15f2019-03-20 16:11:10 -070023 static_libs: [
24 "androidx.test.rules",
25 "CtsExternalStorageTestLib",
26 ],
Jiyong Parkcaaed962020-05-19 21:12:39 +090027 libs: ["android.test.base"],
Sasha Smundakb85e15f2019-03-20 16:11:10 -070028 srcs: ["src/**/*.java"],
29 exclude_srcs: ["src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java"],
30 // tag this module as a cts test artifact
31 test_suites: [
32 "cts",
Sasha Smundakb85e15f2019-03-20 16:11:10 -070033 "general-tests",
34 ],
35 dex_preopt: {
36 enabled: false,
37 },
38}
39
40java_library {
41 name: "CtsExternalStorageTestLib",
42 srcs: ["src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java"],
43 defaults: ["cts_support_defaults"],
44 sdk_version: "current",
Jiyong Parkcaaed962020-05-19 21:12:39 +090045 libs: ["android.test.base"],
Sasha Smundakb85e15f2019-03-20 16:11:10 -070046}