xref: /aosp_15_r20/cts/tests/tests/deviceconfig/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1//
2// Copyright (C) 2009 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_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21android_test {
22    name: "CtsDeviceConfigTestCases",
23    team: "trendy_team_android_core_experiments",
24    defaults: ["cts_defaults"],
25    // Tag this module as a cts test artifact
26    test_suites: [
27        "cts",
28        "general-tests",
29        "mts-configinfrastructure",
30        "mcts-configinfrastructure",
31    ],
32    libs: [
33        "android.test.base.stubs.test",
34    ],
35    static_libs: [
36        "compatibility-device-util-axt",
37        "configinfra_framework_flags_java_lib",
38        "ctstestrunner-axt",
39        "guava",
40        "aconfig_flags_java",
41        "ravenwood-junit",
42    ],
43    srcs: ["src/**/*.java"],
44    sdk_version: "test_current",
45    min_sdk_version: "34",
46    target_sdk_version: "34",
47}
48
49android_ravenwood_test {
50    name: "CtsDeviceConfigTestCasesRavenwood",
51    defaults: ["cts_defaults"],
52    test_suites: [
53        "general-tests",
54    ],
55    libs: ["android.test.base.stubs.test"],
56    static_libs: [
57        "compatibility-device-util-axt-ravenwood",
58        "configinfra_framework_flags_java_lib",
59        "ctstestrunner-axt",
60        "guava",
61        "aconfig_flags_java",
62    ],
63    srcs: ["src/**/*.java"],
64    sdk_version: "test_current",
65    auto_gen_config: true,
66}
67