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
17package {
18    default_team: "trendy_team_capture_and_share",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22android_test {
23    name: "IntentResolver-tests-unit",
24    manifest: "AndroidManifest.xml",
25    srcs: [
26        "src/**/*.java",
27        "src/**/*.kt",
28    ],
29
30    libs: [
31        "android.test.runner",
32        "android.test.base",
33        "android.test.mock",
34        "framework",
35        "framework-res",
36    ],
37
38    resource_dirs: ["res"],
39    test_config: "AndroidTest.xml",
40    static_libs: [
41        "androidx.test.core",
42        "androidx.test.ext.junit",
43        "androidx.test.ext.truth",
44        "androidx.test.espresso.contrib",
45        "androidx.test.espresso.core",
46        "androidx.test.rules",
47        "androidx.test.runner",
48        "androidx.lifecycle_lifecycle-common-java8",
49        "androidx.lifecycle_lifecycle-extensions",
50        "androidx.lifecycle_lifecycle-runtime-testing",
51        "IntentResolver-core",
52        "IntentResolver-tests-shared",
53        "junit",
54        "kosmos",
55        "kotlinx_coroutines_test",
56        "mockito-target-minus-junit4",
57        "mockito-kotlin-nodeps",
58        "platform-compat-test-rules", // PlatformCompatChangeRule
59        "testables", // TestableContext/TestableResources
60        "truth",
61        "truth-java8-extension",
62        "flag-junit",
63        "platform-test-annotations",
64    ],
65    test_suites: ["general-tests"],
66}
67