blob: 43b765d8b783288be6e410d1a83fe1918338b831 [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
22 srcs: ["src/**/*.java"],
23
Sundong Ahne933ced2018-07-31 16:54:41 +090024 api_packages: [
25 "android.test.mock",
Colin Crossfc7ba9e2017-12-07 13:11:06 -080026 ],
Jiyong Park6964add2018-03-13 16:06:03 +090027
Sundong Ahn3e6812a2019-01-09 16:12:24 +090028 srcs_lib: "framework",
29 srcs_lib_whitelist_dirs: ["core/java"],
Jiyong Park6964add2018-03-13 16:06:03 +090030 srcs_lib_whitelist_pkgs: ["android"],
David Brazdil89c64322018-06-28 10:23:50 +010031 compile_dex: true,
Jiyong Park6964add2018-03-13 16:06:03 +090032}
Sundong Ahnb7540bf2018-11-08 19:06:45 +090033
34// Build the android.test.mock_static library
35// ==========================================
36// This is only intended for inclusion in the legacy-android-test.
37// Must not be used elewhere.
38java_library_static {
39 name: "android.test.mock_static",
40
41 java_version: "1.8",
42 srcs: ["src/**/*.java"],
43
44 no_framework_libs: true,
45 libs: [
46 "framework",
47 ],
48}