xref: /aosp_15_r20/cts/tests/tests/proto/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2008 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    default_team: "trendy_team_framework_backstage_power",
18}
19
20android_test {
21    name: "CtsProtoTestCases",
22    defaults: ["cts_defaults"],
23    srcs: [
24        "src/**/*.java",
25        "src/**/*.proto",
26    ],
27    proto: {
28        type: "nano",
29    },
30    // Tag this module as a cts test artifact
31    test_suites: [
32        "cts",
33        "general-tests",
34    ],
35    //sdl_version: "current",
36    platform_apis: true,
37    libs: ["android.test.runner.stubs.system"],
38    static_libs: ["ctstestrunner-axt"],
39}
40
41android_ravenwood_test {
42    name: "CtsProtoTestCasesRavenwood",
43    defaults: ["cts_defaults"],
44    srcs: [
45        "src/**/*.java",
46        "src/**/*.proto",
47    ],
48    proto: {
49        type: "nano",
50    },
51    static_libs: [
52        "junit",
53    ],
54    auto_gen_config: true,
55}
56