1//
2// Copyright (C) 2008 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
17// Build the android.test.mock library
18// ===================================
19java_sdk_library {
20    name: "android.test.mock",
21
22    srcs: [
23        "src/**/*.java",
24        // Note: Below are NOT APIs of this library. We only take APIs under
25        // the android.test.mock package. They however provide private APIs that
26        // android.test.mock APIs references to.
27        ":framework-core-sources-for-test-mock",
28        ":framework_native_aidl",
29    ],
30    libs: [
31        "framework",
32        "app-compat-annotations",
33        "unsupportedappusage",
34    ],
35
36    api_packages: [
37        "android.test.mock",
38    ],
39    compile_dex: true,
40    default_to_stubs: true,
41}
42
43// Make the current.txt available for use by the cts/tests/signature tests.
44// ========================================================================
45filegroup {
46    name: "android-test-mock-current.txt",
47    visibility: [
48        "//cts/tests/signature/api",
49    ],
50    srcs: [
51        "api/current.txt",
52    ],
53}
54