xref: /aosp_15_r20/cts/hostsidetests/os/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker// Copyright (C) 2015 The Android Open Source Project
2*b7c941bbSAndroid Build Coastguard Worker//
3*b7c941bbSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*b7c941bbSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*b7c941bbSAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*b7c941bbSAndroid Build Coastguard Worker//
7*b7c941bbSAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*b7c941bbSAndroid Build Coastguard Worker//
9*b7c941bbSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*b7c941bbSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*b7c941bbSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*b7c941bbSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*b7c941bbSAndroid Build Coastguard Worker// limitations under the License.
14*b7c941bbSAndroid Build Coastguard Worker
15*b7c941bbSAndroid Build Coastguard Workerpackage {
16*b7c941bbSAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
17*b7c941bbSAndroid Build Coastguard Worker}
18*b7c941bbSAndroid Build Coastguard Worker
19*b7c941bbSAndroid Build Coastguard Workerjava_test_host {
20*b7c941bbSAndroid Build Coastguard Worker    // Must match the package name in CtsTestCaseList.mk
21*b7c941bbSAndroid Build Coastguard Worker    name: "CtsOsHostTestCases",
22*b7c941bbSAndroid Build Coastguard Worker    team: "trendy_team_powermanager_framework",
23*b7c941bbSAndroid Build Coastguard Worker    defaults: ["cts_defaults"],
24*b7c941bbSAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
25*b7c941bbSAndroid Build Coastguard Worker    libs: [
26*b7c941bbSAndroid Build Coastguard Worker        "cts-tradefed",
27*b7c941bbSAndroid Build Coastguard Worker        "tradefed",
28*b7c941bbSAndroid Build Coastguard Worker        "compatibility-host-util",
29*b7c941bbSAndroid Build Coastguard Worker        "truth",
30*b7c941bbSAndroid Build Coastguard Worker    ],
31*b7c941bbSAndroid Build Coastguard Worker    static_libs: [
32*b7c941bbSAndroid Build Coastguard Worker        "compatibility-host-util-axt",
33*b7c941bbSAndroid Build Coastguard Worker    ],
34*b7c941bbSAndroid Build Coastguard Worker    // Tag this module as a cts test artifact
35*b7c941bbSAndroid Build Coastguard Worker    test_suites: [
36*b7c941bbSAndroid Build Coastguard Worker        "cts",
37*b7c941bbSAndroid Build Coastguard Worker        "general-tests",
38*b7c941bbSAndroid Build Coastguard Worker    ],
39*b7c941bbSAndroid Build Coastguard Worker    // All APKs required by the tests
40*b7c941bbSAndroid Build Coastguard Worker    device_common_data: [
41*b7c941bbSAndroid Build Coastguard Worker        ":CtsDeviceOsTestApp",
42*b7c941bbSAndroid Build Coastguard Worker        ":CtsHostEnvironmentTestApp",
43*b7c941bbSAndroid Build Coastguard Worker        ":CtsHostPowerManagerTestApp",
44*b7c941bbSAndroid Build Coastguard Worker        ":CtsHostProcfsTestApp",
45*b7c941bbSAndroid Build Coastguard Worker        ":CtsInattentiveSleepTestApp",
46*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibConsumerApp1",
47*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibConsumerApp1BadCertDigest",
48*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibConsumerApp2",
49*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibConsumerApp3",
50*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp1",
51*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp2",
52*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp3",
53*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp4",
54*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp5",
55*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp6",
56*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderApp7",
57*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibProviderRecursive",
58*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedLibTestApp",
59*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedNativeLibConsumer",
60*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedNativeLibProvider",
61*b7c941bbSAndroid Build Coastguard Worker        ":CtsStaticSharedNativeLibProvider1",
62*b7c941bbSAndroid Build Coastguard Worker    ],
63*b7c941bbSAndroid Build Coastguard Worker    per_testcase_directory: true,
64*b7c941bbSAndroid Build Coastguard Worker}
65*b7c941bbSAndroid Build Coastguard Worker
66*b7c941bbSAndroid Build Coastguard Workertest_module_config_host {
67*b7c941bbSAndroid Build Coastguard Worker    name: "CtsOsHostTestCases_cts_staticsharedlibshosttests",
68*b7c941bbSAndroid Build Coastguard Worker    base: "CtsOsHostTestCases",
69*b7c941bbSAndroid Build Coastguard Worker    test_suites: ["general-tests"],
70*b7c941bbSAndroid Build Coastguard Worker    include_filters: ["android.os.cts.StaticSharedLibsHostTests"],
71*b7c941bbSAndroid Build Coastguard Worker}
72*b7c941bbSAndroid Build Coastguard Worker
73*b7c941bbSAndroid Build Coastguard Workertest_module_config_host {
74*b7c941bbSAndroid Build Coastguard Worker    name: "CtsOsHostTestCases_cts_staticsharedlibshosttests_Presubmit",
75*b7c941bbSAndroid Build Coastguard Worker    base: "CtsOsHostTestCases",
76*b7c941bbSAndroid Build Coastguard Worker    test_suites: ["general-tests"],
77*b7c941bbSAndroid Build Coastguard Worker    include_filters: ["android.os.cts.StaticSharedLibsHostTests"],
78*b7c941bbSAndroid Build Coastguard Worker    include_annotations: ["android.platform.test.annotations.Presubmit"],
79*b7c941bbSAndroid Build Coastguard Worker}
80