• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: "FrameworksMockingCoreTests",
19
20    srcs: [
21        "src/**/*.java",
22    ],
23
24    static_libs: [
25        "frameworks-base-testutils",
26        "services.core",
27        "androidx.test.runner",
28        "androidx.test.rules",
29        "androidx.test.ext.junit",
30        "mockito-target-extended-minus-junit4",
31        "platform-test-annotations",
32        "truth-prebuilt",
33        "testables",
34        "ub-uiautomator",
35    ],
36
37    libs: [
38        "android.test.base",
39        "android.test.mock",
40        "android.test.runner",
41    ],
42
43    // These are not normally accessible from apps so they must be explicitly included.
44    jni_libs: [
45        "libdexmakerjvmtiagent",
46        "libstaticjvmtiagent",
47    ],
48
49    platform_apis: true,
50    test_suites: ["device-tests"],
51
52    certificate: "platform",
53}
54