xref: /aosp_15_r20/cts/tests/wearable/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2022 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    // See: http://go/android-license-faq
17    default_applicable_licenses: [
18        "Android-Apache-2.0",
19    ],
20    default_team: "trendy_team_machine_learning",
21}
22
23android_test {
24    name: "CtsWearableSensingServiceTestCases",
25    defaults: ["cts_defaults"],
26    dex_preopt: {
27        enabled: false,
28    },
29    optimize: {
30        enabled: false,
31    },
32    platform_apis: true,
33    static_libs: [
34        "androidx.test.rules",
35        "androidx.test.ext.junit",
36        "compatibility-device-util-axt",
37        "platform-test-annotations",
38        "compatibility-device-util-axt",
39        "cts-wm-util",
40        "android.app.wearable.flags-aconfig-java",
41        "android-common",
42        "android-support-v4",
43        "junit-params",
44        "mockito-target-minus-junit4",
45    ],
46    libs: [
47        "android.test.base.stubs.system",
48        "android.test.runner.stubs.system",
49    ],
50    srcs: ["src/**/*.java"],
51    // Tag this module as a cts test artifact
52    test_suites: [
53        "cts",
54        "general-tests",
55    ],
56    target_sdk_version: "current",
57}
58