blob: aa4174ad40f455c98878398f5dc73ed62adb31b8 [file] [log] [blame]
Colin Crossfc7ba9e2017-12-07 13:11:06 -08001//
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// ===================================
Sundong Ahne933ced2018-07-31 16:54:41 +090019java_sdk_library {
Colin Crossfc7ba9e2017-12-07 13:11:06 -080020 name: "android.test.mock",
21
Jiyong Park00ea0b12019-10-31 20:38:47 +090022 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 ],
atrost1a945502019-11-04 17:03:54 +000030 libs: [
31 "framework-all",
32 "app-compat-annotations",
33 ],
Colin Crossfc7ba9e2017-12-07 13:11:06 -080034
Sundong Ahne933ced2018-07-31 16:54:41 +090035 api_packages: [
36 "android.test.mock",
Colin Crossfc7ba9e2017-12-07 13:11:06 -080037 ],
David Brazdil89c64322018-06-28 10:23:50 +010038 compile_dex: true,
Jiyong Park6964add2018-03-13 16:06:03 +090039}
Paul Duffincd35de32019-05-30 15:12:47 +010040
41// Make the current.txt available for use by the cts/tests/signature tests.
42// ========================================================================
43filegroup {
44 name: "android-test-mock-current.txt",
45 visibility: [
46 "//cts/tests/signature/api",
47 ],
48 srcs: [
49 "api/current.txt",
50 ],
51}