xref: /aosp_15_r20/cts/hostsidetests/incrementalinstall/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright 2020, 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}
18
19java_test_host {
20    name: "CtsIncrementalInstallHostTestCases",
21    team: "trendy_team_incremental",
22    srcs: ["src/**/*.java"],
23    libs: [
24        "compatibility-host-util",
25        "cts-tradefed",
26        "tradefed",
27        "guava",
28    ],
29    static_libs: [
30        "incremental-install-common-host-lib",
31    ],
32    test_suites: [
33        "cts",
34        "general-tests",
35    ],
36    device_common_data: [
37        ":IncrementalTestApp",
38        ":IncrementalTestAppUncompressed",
39        ":IncrementalTestApp2_v1",
40        ":IncrementalTestApp2_v2",
41        ":IncrementalTestAppDynamicAsset",
42        ":IncrementalTestAppDynamicCode",
43        ":IncrementalTestAppCompressedNativeLib",
44        ":IncrementalTestAppUncompressedNativeLib",
45        ":IncrementalTestAppValidator",
46    ],
47    per_testcase_directory: true,
48}
49
50test_module_config_host {
51    name: "CtsIncrementalInstallHostTestCases_incrementalinstall_cts",
52    base: "CtsIncrementalInstallHostTestCases",
53    test_suites: ["general-tests"],
54    include_filters: ["android.incrementalinstall.cts"],
55    exclude_annotations: [
56        "androidx.test.filters.LargeTest",
57        "android.platform.test.annotations.LargeTest",
58    ],
59}
60
61test_module_config_host {
62    name: "CtsIncrementalInstallHostTestCases_cts_incrementalfeaturetest",
63    base: "CtsIncrementalInstallHostTestCases",
64    test_suites: ["general-tests"],
65    include_filters: ["android.incrementalinstall.cts.IncrementalFeatureTest"],
66}
67