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-activity",
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        "hilt_android_testing",
52        "IntentResolver-core",
53        "IntentResolver-tests-shared",
54        "junit",
55        "kotlinx_coroutines_test",
56        "mockito-target-minus-junit4",
57        "mockito-kotlin-nodeps",
58        "testables",
59        "truth",
60        "truth-java8-extension",
61        "flag-junit",
62        "platform-test-annotations",
63    ],
64    plugins: ["dagger2-compiler"],
65    test_suites: ["general-tests"],
66    sdk_version: "core_platform",
67    min_sdk_version: "current",
68    target_sdk_version: "current",
69    platform_apis: true,
70}
71