1// Copyright (C) 2015 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    // Must match the package name in CtsTestCaseList.mk
21    name: "CtsOsHostTestCases",
22    team: "trendy_team_powermanager_framework",
23    defaults: ["cts_defaults"],
24    srcs: ["src/**/*.java"],
25    libs: [
26        "cts-tradefed",
27        "tradefed",
28        "compatibility-host-util",
29        "truth",
30    ],
31    static_libs: [
32        "compatibility-host-util-axt",
33    ],
34    // Tag this module as a cts test artifact
35    test_suites: [
36        "cts",
37        "general-tests",
38    ],
39    // All APKs required by the tests
40    data: [
41        ":CtsDeviceOsTestApp",
42        ":CtsHostEnvironmentTestApp",
43        ":CtsHostPowerManagerTestApp",
44        ":CtsHostProcfsTestApp",
45        ":CtsInattentiveSleepTestApp",
46        ":CtsStaticSharedLibConsumerApp1",
47        ":CtsStaticSharedLibConsumerApp1BadCertDigest",
48        ":CtsStaticSharedLibConsumerApp2",
49        ":CtsStaticSharedLibConsumerApp3",
50        ":CtsStaticSharedLibProviderApp1",
51        ":CtsStaticSharedLibProviderApp2",
52        ":CtsStaticSharedLibProviderApp3",
53        ":CtsStaticSharedLibProviderApp4",
54        ":CtsStaticSharedLibProviderApp5",
55        ":CtsStaticSharedLibProviderApp6",
56        ":CtsStaticSharedLibProviderApp7",
57        ":CtsStaticSharedLibProviderRecursive",
58        ":CtsStaticSharedLibTestApp",
59        ":CtsStaticSharedNativeLibConsumer",
60        ":CtsStaticSharedNativeLibProvider",
61        ":CtsStaticSharedNativeLibProvider1",
62    ],
63    per_testcase_directory: true,
64}
65