xref: /aosp_15_r20/system/timezone/apex/tests/Android.bp (revision 2fd832c65f8b41db7ddb4ac802b9196762fe4888)
1*2fd832c6SAndroid Build Coastguard Worker// Copyright (C) 2020 The Android Open Source Project
2*2fd832c6SAndroid Build Coastguard Worker//
3*2fd832c6SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*2fd832c6SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*2fd832c6SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*2fd832c6SAndroid Build Coastguard Worker//
7*2fd832c6SAndroid Build Coastguard Worker//     http://www.apache.org/licenses/LICENSE-2.0
8*2fd832c6SAndroid Build Coastguard Worker//
9*2fd832c6SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*2fd832c6SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*2fd832c6SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*2fd832c6SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*2fd832c6SAndroid Build Coastguard Worker// limitations under the License.
14*2fd832c6SAndroid Build Coastguard Worker
15*2fd832c6SAndroid Build Coastguard Workerpackage {
16*2fd832c6SAndroid Build Coastguard Worker    default_team: "trendy_team_java_core_libraries",
17*2fd832c6SAndroid Build Coastguard Worker    // http://go/android-license-faq
18*2fd832c6SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
19*2fd832c6SAndroid Build Coastguard Worker}
20*2fd832c6SAndroid Build Coastguard Worker
21*2fd832c6SAndroid Build Coastguard Workerandroid_test {
22*2fd832c6SAndroid Build Coastguard Worker    name: "MtsTimeZoneDataTestCases",
23*2fd832c6SAndroid Build Coastguard Worker
24*2fd832c6SAndroid Build Coastguard Worker    defaults: ["cts_defaults"],
25*2fd832c6SAndroid Build Coastguard Worker    static_libs: [
26*2fd832c6SAndroid Build Coastguard Worker        "ctstestrunner-axt",
27*2fd832c6SAndroid Build Coastguard Worker        "junit",
28*2fd832c6SAndroid Build Coastguard Worker    ],
29*2fd832c6SAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
30*2fd832c6SAndroid Build Coastguard Worker
31*2fd832c6SAndroid Build Coastguard Worker    sdk_version: "current",
32*2fd832c6SAndroid Build Coastguard Worker    libs: ["android.test.base.stubs"],
33*2fd832c6SAndroid Build Coastguard Worker
34*2fd832c6SAndroid Build Coastguard Worker    // Tag this module as an mts test artifact
35*2fd832c6SAndroid Build Coastguard Worker    test_suites: [
36*2fd832c6SAndroid Build Coastguard Worker        "general-tests",
37*2fd832c6SAndroid Build Coastguard Worker        "mts-tzdata",
38*2fd832c6SAndroid Build Coastguard Worker    ],
39*2fd832c6SAndroid Build Coastguard Worker    min_sdk_version: "29",
40*2fd832c6SAndroid Build Coastguard Worker}
41