xref: /aosp_15_r20/frameworks/ex/common/tests/Android.bp (revision 51f0e3d5878722200615b7170faeca299e15103d)
1*51f0e3d5SAndroid Build Coastguard Worker// Copyright (C) 2009 The Android Open Source Project
2*51f0e3d5SAndroid Build Coastguard Worker//
3*51f0e3d5SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*51f0e3d5SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*51f0e3d5SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*51f0e3d5SAndroid Build Coastguard Worker//
7*51f0e3d5SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*51f0e3d5SAndroid Build Coastguard Worker//
9*51f0e3d5SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*51f0e3d5SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*51f0e3d5SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*51f0e3d5SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*51f0e3d5SAndroid Build Coastguard Worker// limitations under the License.
14*51f0e3d5SAndroid Build Coastguard Worker
15*51f0e3d5SAndroid Build Coastguard Workerpackage {
16*51f0e3d5SAndroid Build Coastguard Worker    default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
17*51f0e3d5SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
18*51f0e3d5SAndroid Build Coastguard Worker}
19*51f0e3d5SAndroid Build Coastguard Worker
20*51f0e3d5SAndroid Build Coastguard Workerandroid_test {
21*51f0e3d5SAndroid Build Coastguard Worker    name: "AndroidCommonTests",
22*51f0e3d5SAndroid Build Coastguard Worker    certificate: "platform",
23*51f0e3d5SAndroid Build Coastguard Worker    libs: ["android.test.runner.stubs"],
24*51f0e3d5SAndroid Build Coastguard Worker    sdk_version: "21",
25*51f0e3d5SAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
26*51f0e3d5SAndroid Build Coastguard Worker    static_libs: [
27*51f0e3d5SAndroid Build Coastguard Worker        "android-common",
28*51f0e3d5SAndroid Build Coastguard Worker        "androidx.test.rules",
29*51f0e3d5SAndroid Build Coastguard Worker    ],
30*51f0e3d5SAndroid Build Coastguard Worker    optimize: {
31*51f0e3d5SAndroid Build Coastguard Worker        enabled: false,
32*51f0e3d5SAndroid Build Coastguard Worker    },
33*51f0e3d5SAndroid Build Coastguard Worker}
34