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