1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17android_test {
18    name: "TelephonyCommonTests",
19    srcs: [
20        ":framework-telephony-common-sources",
21        "**/*.java",
22    ],
23    static_libs: [
24        "mockito-target-extended",
25        "androidx.test.rules",
26        "truth-prebuilt",
27        "platform-test-annotations",
28        "androidx.core_core",
29        "androidx.fragment_fragment",
30        "androidx.test.ext.junit"
31    ],
32
33    jni_libs: ["libdexmakerjvmtiagent"],
34
35    // We need to rename SmsApplication to the test package or else it'll get clobbered by the
36    // hidden api checker
37    jarjar_rules: "jarjar-rules.txt",
38
39    // Uncomment this and comment out the jarjar rule if you want to attach a debugger and step
40    // through the renamed classes.
41    // platform_apis: true,
42
43    libs: [
44        "android.test.runner",
45        "android.test.mock",
46        "android.test.base",
47        "unsupportedappusage",
48    ],
49}
50