xref: /aosp_15_r20/cts/tests/tests/notification/NotificationExtenders/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2023 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_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test_helper_app {
21    name: "CtsNotificationExtenders34TestApp",
22    defaults: ["cts_defaults"],
23    static_libs: [
24        "androidx.test.rules",
25        "cts-install-lib",
26        "junit",
27        "truth",
28    ],
29    libs: [
30        "sdk_public_34_android.test.runner",
31        "sdk_public_34_android.test.base",
32    ],
33    srcs: [
34        "src/android/app/notification/extenders/cts/api34/WearableExtenderApi34Test.kt",
35    ],
36    manifest: "src/android/app/notification/extenders/cts/api34/AndroidManifest.xml",
37    // Tag this module as a cts test artifact
38    test_suites: [
39        "cts",
40        "general-tests",
41    ],
42    sdk_version: "34",
43    target_sdk_version: "34",
44    min_sdk_version: "34",
45}
46
47android_test_helper_app {
48    name: "CtsNotificationExtendersCurrentTestApp",
49    defaults: ["cts_defaults"],
50    static_libs: [
51        "androidx.test.rules",
52        "cts-install-lib",
53        "junit",
54        "truth",
55    ],
56    libs: [
57        "sdk_public_34_android.test.runner",
58        "sdk_public_34_android.test.base",
59    ],
60    srcs: [
61        "src/android/app/notification/extenders/cts/current/WearableExtenderApiCurrentTest.kt",
62    ],
63    manifest: "src/android/app/notification/extenders/cts/current/AndroidManifest.xml",
64    // Tag this module as a cts test artifact
65    test_suites: [
66        "cts",
67        "general-tests",
68    ],
69    sdk_version: "34",
70    target_sdk_version: "current",
71    min_sdk_version: "34",
72}
73
74java_test_host {
75    name: "CtsNotificationExtendersTestCases",
76    defaults: ["cts_defaults"],
77    libs: [
78        "cts-tradefed",
79        "tradefed",
80        "guava",
81    ],
82    static_libs: [
83        "CompatChangeGatingTestBase",
84    ],
85    srcs: [
86        "src/android/app/notification/extenders/cts/WearableExtenderApiTestHost.kt",
87    ],
88    // Tag this module as a cts test artifact
89    test_suites: [
90        "cts",
91        "general-tests",
92    ],
93    device_common_data: [
94        ":CtsNotificationExtenders34TestApp",
95        ":CtsNotificationExtendersCurrentTestApp",
96    ],
97}
98